#48942 [Opn->Fbk]: open_basedir no working with [PATH=] in php.ini

From: Date: Thu, 16 Jul 2009 13:35:48 +0000
Subject: #48942 [Opn->Fbk]: open_basedir no working with [PATH=] in php.ini
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-139814@lists.php.net to get a copy of this message
ID: 48942 Updated by: jani@php.net Reported By: marcos dot neves at gmail dot com -Status: Open +Status: Feedback Bug Type: CGI related Operating System: debian PHP Version: 5.3.0 New Comment: And exactly how is everything else configured? Like the path to the script you're accessing? Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#139814) next »