Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I reboot my server and suddenly the PHP-FastCGI stop working .

I try to do -

/etc/init.d/php-fastcgi restart

Also i try to restart my Nginx :

/etc/init.d/php-fastcgi restart

How can i turn on my PHP again ??

My server run - Ubuntu 11.10 Nginx 1.2.3 MySQL PHP-FastCGI

Also i want to ask it is possible that i have 2 Nginx installs on my server and they run in the same time ? when i check the Nginx version in the console its says that the version is 1.2.3 And when i go to my site i see - 502 Bad Gateway

nginx/1.0.5

How can i fix this ?

share|improve this question
4  
What do the logs say? It is usually something wrong in your config files. –  John Sep 2 '12 at 0:21
    
The weird thing that i didn't change anything and its stop working after the server reboot –  Ido Bukin Sep 2 '12 at 0:23
1  
Dude - look at the logs, and post back any errors/warnings you find! –  paulsm4 Sep 2 '12 at 0:23
    
What part of this has to do with javascript? –  sachleen Sep 2 '12 at 0:24
    
create a file that contains only: <?php phpinfo(); ?> and try to access it. My guess is that PHP is not down, but something else... –  alfasin Sep 2 '12 at 0:35
show 5 more comments

migrated from stackoverflow.com Sep 2 '12 at 0:27

This question came from our site for professional and enthusiast programmers.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.