Nginx for dynamic PHP sites (with PHP-FPM) [Episode 4]

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

Thanks Christophe... your Nginx playlist literally answered most of my questions and gave a good head start.. saved time..

VikasKaushikonline
Автор

thanks a lot :) none of the other tutorials work, i've tried at least 10 different ways to do this since yesterday, only yours worked. Cheers, mate.

kovinster
Автор

Great video Chris. A friend and I are just starting our dive into LEMP stack.

pnguyen
Автор

I had php-fpm which included php 5.4 version, then I updated to 5.6 but now when I try to change listener path there's nothing like php4-fpm/php5-fpm.sock any ideas?

SuperHornet
Автор

i have done every as you said in this video, i have fixed all errors, but still i don't get any output for php7.4-fpm.
i have done as you have mentioned in your video and also i have refered your github link.
kindly tell me what should i do?

vranjit
Автор

thanks man this was a great start to nginx but im still having trouble configuring php-fpm...
i genuinely need your help

bishalneopaney
Автор

great work chris .. thx alot .. keep it up bro

ahmedsultan
Автор

Nice job I'm doing so, in FreeBSD 11, no process hang up at all.

rolandougalde
Автор

Thank you for the video, i managed to setup a pretty basic web server to work with.

Maybe usefull for future watchers:

I ran into some issues while trying to follow your video.

1) creating a new file in /etc/php5/fpm/pool.d/, and backing up the old one resulted in this error:
"No pool defined. at least one pool section must be specified in config file

So i ended up just using the old one *www.conf*


2) Error in config file in /etc/nginx/sites-available (server was showing blank page, instead of parsing PHP)
The way you set it up, didn't work for me, i tweaked it slightly to make it work, here is the result:

3) By default the all the folders in /usr/local/nginx are owned by *root* i had to modify this to be owned by *www-data:www-data* and set the permission to 775 or (read write and execute for owner and group, and read and execute for everyone else)

ssshenkie