ID: 48942 User updated by: marcos dot neves at gmail dot com Reported By: marcos dot neves at gmail dot com -Status: Feedback +Status: Open Bug Type: CGI related Operating System: debian PHP Version: 5.3.0 New Comment:
playing more, I found that the same bug happens if I configure open_basedir on .user.ini file. It look likes that open_basedir can't be configured in a context way, only in a global way. If thats true, I would be very sad, cause that could be a great feature for hosting companies. Previous Comments: ------------------------------------------------------------------------ [2009-07-16 18:51:23] marcos dot neves at gmail dot com the bug happens using both spawn-fcgi or php-fpm. The php is different for each other. For example, with spawn-fcgi, I am using dotdeb.org php5.3 version, installed using apt-get. With php-fpm, I am using php5.3 Build from source. For webserver, I am using nginx. I both ways, if I change to configuration to this one, every things back to normal: [PATH=/var/www/my.domain.com] open_basedir=/var/www ------------------------------------------------------------------------ [2009-07-16 13:35:47] j...@php.net And exactly how is everything else configured? Like the path to the script you're accessing? ------------------------------------------------------------------------ [2009-07-16 12:16:19] marcos dot neves at gmail dot com Description: ------------ I got "No input file specified." from fcgi when used open_basedir inside [PATH=] php.ini Reproduce code: --------------- create an entry on php.ini with open_basedir pointing to your domain root, example: open_basedir=/var/www/my.domain.com restart fcgi and check if it all works fine. (it should) Now add this like above open_basedir: [PATH=/var/www/my.domain.com] open_basedir=/var/www/my.domain.com restart fcgi and now you will get "No input file specified." Expected result: ---------------- should work as before. Actual result: -------------- got "No input file specified." fcgi response. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48942&edit=1