[MacPorts] #37148: Missing argument to launch php54-fpm ?
MacPorts
noreply at macports.org
Tue Nov 27 05:58:58 PST 2012
#37148: Missing argument to launch php54-fpm ?
----------------------------+--------------------------------
Reporter: olivier@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: php fpm mysqli | Port: php54-fpm
----------------------------+--------------------------------
Hello
I have installed nginx with PHP 54 and struggled a while to understand why
mysqli extension was not loaded when I accessed phpMyAdmin for instance.
When I tested in command line (php54 -r
"var_dump(get_loaded_extensions());") mysqli extension appeared but not
when the same function was executed in a web environment.
I eventually found that mysql*.so extension where loaded in
/opt/local/var/db/php54/mysql.ini, which php54 parsed when called in a
shell, but not when called via php54-fpm. It worked when I relaunched
php54-fpm with "-c /opt/local/var/db/php54" argument.
Have I missed something in the installation of php54 and php54-fpm or is
it normal that php54-fpm is not configured by default to parse this extra
directory ? (I have looked in the .plist file but not sure this argument
is configured...).
Thanks,
Olivier
--
Ticket URL: <https://trac.macports.org/ticket/37148>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list