php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6120 All PHP scripts fail to run with the same error in 'Unknown at line 0'
Submitted: 2000-08-12 03:18 UTC Modified: 2000-09-03 07:49 UTC
From: cecil at terminaldogma dot net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.1pl2 OS: SunOS ns3 5.6 Generic sun4u spar
Private report: No CVE-ID: None
 [2000-08-12 03:18 UTC] cecil at terminaldogma dot net
I have attempted installing PHP 4.0.1pl2 as both a static
module in Apache 1.3.12 and as a dynamic module on the SunOS system listen above.  Either way, all PHP scripts fail to run with an error like:
Warning: Failed opening '/export/home/cc/public_html/run.php' for inclusion (include_path='') in Unknown on line 0

I have all the necessary apache loadmodule and mime type configuration lines in my httpd.conf file, as well as a php.ini file installed in the default location. (I've tried copying both the included php.ini-dist and php.ini-optimized).  I know the php.ini file IS being read by the server because if I edit the include path variable in the file, the (include_path='') part of the error message changes to reflect my modifications.  I have checked all permissions on the PHP scripts themselves as well as the directories they reside in.  I've also tried placing them in a cgi-bin directory with no luck.
Any help would be greatly appreciated, thanks.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-17 19:15 UTC] sniper@php.net
Please add one script (as short as possible) which reproduces this.
Also include your configure used for php4 here.

--Jani
 [2000-09-03 07:49 UTC] waldschrott@php.net
Closed due to missing user feedback.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 04:01:34 2024 UTC