Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm migrating to a new server.

Before I could use: include/XXXX.php in /var/site/test.php.

Now I have use: /var/site/include/XXXX.php

I'm using:

Ubuntu 10.4 Apache2 PHP5

share|improve this question
1  
What did phpinfo(); say your include_path was before? What does it say it is now? –  DerfK May 18 '11 at 15:55

1 Answer 1

You need to set the include_path in either your application or in the php.ini file. This is often in /etc/php.ini or /usr/local/etc/php.ini.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.