PHP 4.0 Bug #3963: doc_root setting is not used

From: Date: Wed, 29 Mar 2000 20:30:25 +0000
Subject: PHP 4.0 Bug #3963: doc_root setting is not used
Groups: php.dev 
Request: Send a blank email to php-dev+get-17357@lists.php.net to get a copy of this message
From: thaberland@hawkeye.net Operating system: Linux Mandrake 7.0 PHP version: 4.0 Release Candidate 1 PHP Bug Type: Installation problem Bug description: doc_root setting is not used I use PHP4 RC1 as CGI-BIN module into the environment of the Hawkeye Server suite. The binary PHP file is stored into different sub-directories of /cgi-bin, and each sub-dir contains also a php.ini file with a different doc_root setting. (security and access permission reasons) When I try to open a php file into the defined doc_root path, with the correct syntax to open a php file for cgi-bin, nothing happens. Absolutly nothing. I successfully use a number of different PHP 3.0.xx applications in the same environment without any problems! But when I replace the binary from php-3.0.15 with the binary of PHP4 (all version up to RC1), none of my PHP3 scripts does work. I tried many different settings (safe mode off/on), different configure options - nothing helps. File permissions for php.ini are correct. My last used configure options are: ./configure --enable-track-vars --enable-magic-quotes --enable-force-cgi-redirect --with-mysql --enable-trans-sid --enable-sysvsem --enable-sysvshm --with-gd=/opt/gd1.2 --prefix=/usr Same options were used for php 3.0.15 (except trans-sid) and this binary works, as mentioned. I don't use incompatible PHP commands, basicly all scripts should be usable into the new PHP4 environment without changings. When using the full path (including the part which is defined as doc_root), I can open the PHP files. But this can't be the solution, IMO, because the doc_root is not used. Thanks for this great program and your support! Thomas

« previous php.dev (#17357) next »