PHP 4.0 Bug #4526: php.ini setting doc_root not used

From: Date: Sat, 20 May 2000 12:06:50 +0000
Subject: PHP 4.0 Bug #4526: php.ini setting doc_root not used
Groups: php.dev 
Request: Send a blank email to php-dev+get-19007@lists.php.net to get a copy of this message
From: thaberland@hawkeye.net Operating system: Linux Mandrake 7.0 PHP version: 4.0 Latest CVS (20/05/2000) PHP Bug Type: Scripting Engine problem Bug description: php.ini setting doc_root not used I successfully use a number of PHP3 scripts into the environment of our Internet/Intranet server Hawkeye and created some "PHP Admin tools" to configure the server and the MySQL database, which are available as addon to the Hawkeye server for free. Unfortunately I can't use PHP 4 instead of PHP 3. As already reported into bug id # 3963 the "doc_root" configuration from the php.ini file is NOT used. I just tried it once again with the 4.0 release (May 22) - no changing. I can't run my PHP scripts, nothing happens. I get an empty page but no error message. Because I must use PHP as CGI-BIN program the doc_root configuration is really very important (security issues)! Without a working doc_root I can't use PHP4, unfortunately. I read the current manual and am certain all settings are correct. I replaced the old php3.ini with the new php.ini with the needed and correct settings. Using the PHP3 binary all my scripts works fine, but using the PHP4 binary with php.ini nothing happens. When I change the path definitions into the PHP scripts and add the entire, complete path to the script file I can use PHP4, too. But this is real unsafe into the web server environment, of course. Any help or solution for this problem is welcome! Thanks. Thomas

« previous php.dev (#19007) next »