3 ms·
Any advice on how to get PHP working after upgrading from Ubuntu default 1.1.19 to the latest from the http://nginx.org/en/linux_packages.html http://nginx.org/
by egb 13y ago
Any advice on how to get PHP working after upgrading from Ubuntu default 1.1.19 to the latest from the http://nginx.org/en/linux_packages.html http://nginx.org/en/linux_packages.html repo?
No errors thrown anywhere, but php5-fpm is dead in the water... Rolling back until I can find anything on how to fix this.
- FooBarWidget 13y agoWhat's wrong with PHP? I wasn't aware that any more recent Nginx version broke it.
- egb 13y agoNothing wrong with PHP itself, but the stock/newer nginx must read configs differently, and so it's not a simple "remove old nginx, install new nginx" upgrade, as it no longer served up php when I upgraded...
- FooBarWidget 13y agoI don't think Nginx has ever changed its config format. Care to share the problem description?
- j-kidd 13y agoTry replacing /etc/nginx/fastcgi_params with the one from http://wiki.nginx.org/PHPFcgiExample http://wiki.nginx.org/PHPFcgiExample Also, the packaging is done differently by ubuntu and nginx upstream, so I don't think you can just replace it. They are also bundled with different modules. For example, I have to use the package from ubuntu because the one from nginx upstream lacks the geoip module.
- voltagex_ 13y agoFrom memory the Debianish distro packages read the configs from different locations than the mainline nginx packages.