#48942 [Com]: open_basedir no working with [PATH=] in php.ini
ID: 48942
Comment by: marcos dot neves at gmail dot com
Reported By: marcos dot neves at gmail dot com
Status: Feedback
Bug Type: CGI related
Operating System: debian
PHP Version: 5.3.0
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2009-07-16 13:35:47] jani@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
Thread (7 messages)