Why extension_dir in php.ini and pecl not same ?
Hello guys
I've question : Why extension_dir in php.ini and pecl not same ?
[QUOTE]root@server:[/home/shams.eldin]: php -i | grep extension_dir
extension_dir
/usr/local/lib/php/extensions/no-debug-non-zts-20090626
/usr/local/lib/php/extensions/no-debug-non-zts-20090626
[QUOTE]root@server:[/home/shams.eldin]: pecl config-show PHP extension directory ext_dir /usr/lib/php/extensions/no-debug-non-zts-20090626
!! I know too i should fix this problem by create symlink. But it is a workaround :/ And I need to know why not same ?
[QUOTE]root@server:[/home/shams.eldin]: pecl config-show PHP extension directory ext_dir /usr/lib/php/extensions/no-debug-non-zts-20090626
!! I know too i should fix this problem by create symlink. But it is a workaround :/ And I need to know why not same ?
-
Hello :) Could you let us know which version of PHP is installed on your system, and when the last time you updated it through EasyApache was? Thank you. 0 -
@Michael my php version : PHP 5.3.27 Easyapache run before two nights 0 -
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0 -
Your Request id is: 4599403. 0 -
To update, here are some snippets of the explanation from the support request: [QUOTE] /usr/lib/php/ is the default location for PECL builds. When compiling PHP from source, the extension_dir in the sever's global php.ini should be used.
[QUOTE] /usr/lib/php/... path comes from the php build and it doesn't use the extension_dir in the php.ini file. [url=http://www.php.net/manual/en/function.dl.php]PHP: dl - Manual tells how you it gets that directory.
Thank you.0
Please sign in to leave a comment.
Comments
5 comments