Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm having an include path problem:

get_include_path() returns .:/usr/share/php:/usr/share/pear

Pear.php is in /usr/share/php:

# ls /usr/share/php
Pear.php

but require 'Pear.php' gives me a server error! What's going on?

Update: I got around the issue by using Apache's php module instead of suExec and cgi. I still don't know what exactly caused it, though.

share|improve this question
    
What server error? –  Oliver Salzburg Feb 22 '12 at 23:41

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.