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 have deleted /usr/local/php5.3 and compiled PHP 5.3.1 in directory /usr/local/php5.3.1. After installtion pear creates its pear.conf in /usr/local/php5.3/etc. I always thought that compiling in /usr/local/programname was a clean way because all files are placed within it and not scattered around in the rest of the system. Apparently I'm wrong. Where is the file that pear uses to still create this file in the old directory /php5.3?

edit: doesn't seem to be a pear problem. The extension dir and include path are also wrong (phpinfo). So the --with-prefix=/usr/local/php5.3.1 isn't used for everything.

share|improve this question

1 Answer 1

I think you have to set PATH variable to your php installation, I am sorry because I don't know what PHP path variable use.

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.