Forum Moderators: phranque

Message Too Old, No Replies

PEAR include path dilemma

Site was up and running, woke up - something has changed

         

NoLimits

6:30 am on Jun 21, 2006 (gmt 0)

10+ Year Member



For nearly 24 hours now, I've had a site I'm near release on down for a reason unknown to me. It was up and running fine, and this morning I am getting a path error, referring to a pear file (DB.php)

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

coopster

1:42 pm on Jun 21, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



If nothing else has happened except that your host has recompiled then I would lean on them first. It seems quite obvious that they changed something.

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 ;)

NoLimits

9:37 pm on Jun 21, 2006 (gmt 0)

10+ Year Member



Anyone willing to recommend a reliable, quality hosting service to me via private message. My host is now ignoring my ticket. I can't wait for these guys to [get a clue].

[edited by: jdMorgan at 10:10 pm (utc) on June 21, 2006]
[edit reason] Let's keep it civil, please. [/edit]