LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   PHP 32 bit shows wrong extention dir (https://www.linuxquestions.org/questions/slackware-14/php-32-bit-shows-wrong-extention-dir-893518/)

carlitoco 07-24-2011 05:06 PM

PHP 32 bit shows wrong extention dir
 
I've 32bit Slackware pkg 13.37 of PHP installation infophp shows

extension_dir /usr/lib64/php/extensions/

Diantre 07-24-2011 07:41 PM

Quote:

Originally Posted by carlitoco (Post 4424131)
I've 32bit Slackware pkg 13.37 of PHP installation infophp shows

extension_dir /usr/lib64/php/extensions/

That's strange. I have a clean installation of Slackware 13.37 32bit in a VM. I created a simple php file,

PHP Code:

<?php
phpinfo
();
?>

I've configured httpd.conf to load the php module and loaded the page in a browser. The page reports (correctly) /usr/lib/php/extensions as extension_dir. In my 64bit machine it's reported as /usr/lib64/php/extensions.

What is the value for extension_dir in your php.ini? (It's commented by default)

What is the output of uname -m?


All times are GMT -5. The time now is 05:03 AM.