Welcome! Log In Create A New Profile

Advanced

php cli and php-fpm has different Configure Command. WHY?

Posted by l33r0y 
php cli and php-fpm has different Configure Command. WHY?
June 20, 2011 09:36AM
Hello.

I installed nginx + php-fpm and thought that php cli and php-fpm will have the same collection of installed modules.

When I open php file with phpinfo() in browser I see that for example curl enabled.

When I enter in console php -m I do not see curl.

When I enter in console php -i I see another Configure Command than in browser version of phpinfo() and I do not see curl in console.

curl and curl-devel installed. php-fpm compilled from sources with curl.

WHY? Can anybody explain?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 253
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready