php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4526 php.ini setting doc_root not used
Submitted: 2000-05-20 08:06 UTC Modified: 2000-07-03 17:10 UTC
From: thaberland at hawkeye dot net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Latest CVS (20/05/2000) OS: Linux Mandrake 7.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: thaberland at hawkeye dot net
New email:
PHP Version: OS:

 

 [2000-05-20 08:06 UTC] thaberland at hawkeye dot net
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-03 17:10 UTC] thaberland at hawkeye dot net
fixed in PHP 4.0.1 pl2 !
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 19:01:26 2024 UTC