Inscrit le: 17 Mai 2018
|Posté le: Sam 26 Mai - 05:38 (2018) Sujet du message: PHP-FPM 5.3.3 + Nginx blank page
With the release of php 5.3.3 on repo, I tried to play with php-fpm and nginx to make apache obsolete in my arch box.I installed everything, configured nginx, worked fine with static files. Then I configured the nginx.conf to make the connection to php-fpm.I installed php-fpm, checked the php-fpm.conf (modified from a socket to tcp port 9000, as in many tutorials, but tried with unix sockets also), started.But I get only blank pages. With apache + php everything works fine. PHP cli also. I tried a simple file with phpinfo(); and with another proven files that I have.Nginx appears to be correctly configured, since when I stop php-fpm, and I try to run php files, the browser returns http 503 correctly.I also monitored the port 9000 with netstat and wireshark and I have connections ocurring when I run the php files on nginx.
I didn't find the right solution from the internet.
Best video service