Forum Moderators: phranque
I thought, simple enough - the path must have changed... an upgrade perhaps. I check my php configuration. No change to the include_path - it is set to the below, as I believe it was prior to going down.
include_path.:/usr/lib/php:/usr/local/lib/php.:/usr/lib/php:/usr/local/lib/php
The error I am receiving is as follows, url replaced with generic values:
Fatal error: main(): Failed opening required 'DB.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in username/public_html/sitename/filename.php on line 3
I have tested it with the path amended to .:/usr/lib/php/pear:/usr/local/lib/php/pear - just for kicks, same results.
Stumped, I submitted a support ticket to my host - I received 2 responses back promptly. (this was about 12 hours ago) One response stated that "We are re-compiling php, it will be back up shortly." The other was going to refer the problem on to someone else.
The install code for php on my server states --with pear, so I don't understand what the deal is. I don't understand what could have changed between yesterday and today that could cause this path, or file error.
Any input or suggestions, greatly appreciated - further, if anyone would like the URL to the site/file, or php configuration info , please message me. Thanks for your time folks.
++ Looking back at the sections available to post in, I realize this probably should have gone in the PHP section - I was working with the .htaccess file and... anyways, punt me over to the PHP section if it's out of place. tks Jim
Find out where PEAR is installed, if it is indeed still installed, and make sure the php.ini configuration is pointing to that path. But I would tell them to do it, they seem to be the folks that have screwed it up ;)