Opened 12 years ago
Closed 10 years ago
#37148 closed enhancement (worksforme)
Missing argument to launch php54-fpm ?
Reported by: | olivier@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | jyrkiwahlstedt | |
Port: | php54-fpm |
Description
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
Change History (4)
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Cc: | jwa@… added |
---|---|
Keywords: | php fpm mysqli removed |
Owner: | changed from macports-tickets@… to ryandesign@… |
Version: | 2.1.2 |
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
php54-fpm works fine for me; I've been using it since I made it. I'm just starting it using "sudo port load php54-fpm".
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Are you still experiencing this issue? If so can you provide more details, since as I said earlier I am not experiencing any problems with this port?
comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
In the future, please Cc the port maintainer(s).