New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
maybe php-cgi / php-fpm is not running?
service php-cgi start
service php-fpm start
i started php-cgi but still showing that error
Here is a small error log:
@joodle PHP-FPM permissions to that file? http://www.ruby-forum.com/topic/4236563
@AsadHaider i dont use php-fpm
Try to create folder /var/run/www/ and set permision to www-data:www-data
Try this:D
Then restart php-cgi.
@giang you are my hero!
I was right with the permissions part :P
Glad that could help you It seems you are using LowEndAdmin's script
@giang yep im using that script
@joodle: why not php-fpm?
php-cgi works fine for me, so why should i choose php-fpm?
It's far better, for one.
yea, and it runs as own process
I got this problem with LEA's script too :P That's why I could figure out how to fix it. This only happens on Ubuntu OS
I did test php-fpm and php-cgi on my VPS, php-cgi processed Wordpress faster than php-fpm a little bit (about .2s)
you must use temp folder for php socket it's better, edit php-cgi config and change this line "unix:/var/run/www/php.sock" to this:
unix:/tmp/php.sock
and chown tmp directory :
chown -R www-data:www-data /tmp
then restart nginx + php-cgi
Probably because php-fpm needs more time to spawning process / children. Try
static
instead of dynamic or ondemandchown the whole tmp directory to www-data?
Not a great idea...
tmp folder is 777 already?