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

I installed kloxo hosting panel on my vps.
Now I want to know what where is the php extension directory?
Thanks in advance...

share|improve this question

migrated from stackoverflow.com Jul 25 '12 at 2:34

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers 2

up vote 6 down vote accepted

If you have customized your extension directory post-installation/configuration, you can find the path in php.ini (normally located at /etc/php.ini). Look for the extension_dir parameter. This can also be found via phpinfo() (also search for extension_dir in the output).

Additionally, or if it's not included in php.ini, and if you have access to a command-line you can run:

php-config --extension-dir

This will print the current path PHP uses.

share|improve this answer
add comment

The extension directory is whatever is set for extension_dir in php.ini.

share|improve this answer
add comment

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.