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 need to add a php extension to a custom php.ini file. The extension is installed locally, not in usr/lib. How do I make php "look for" the extension there?

share|improve this question
1  
Specify it as an absolute path? –  Garrett Nov 18 '11 at 16:57
    
Nope, didn't work. –  Yitzchak Nov 18 '11 at 17:08
    
You should be able to override the extension_dir setting with the custom php.ini to point it at the directory which contains the extension. –  Garrett Nov 18 '11 at 17:33
    
I'll keep trying then. Must be some setting. –  Yitzchak Nov 20 '11 at 16:33

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.