Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
What did phpinfo(); say your include_path was before? What does it say it is now? – DerfK May 18 '11 at 15:55

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


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.