Try:
yum update
If this is ok try:
yum install httpd nginx
And then go to Panel and try switch webserver again.
If you found inside '/etc/httpd/conf.d' files 'php.conf' and 'suphp.conf', delete this files
For sure, run 'sh /script/cleanup; service httpd restart; service nginx restart; service php-fpm restart'[/quote]
Here's some of my findings;
nginx+named+php-fpm+php53u:
* Can not restart from Control Panel
* Need to start service via command line
- service nginx restart
* error 502 - Bad gateway when access website
apache+named+php-fpm+php53u:
* Can not restart from Control Panel
* Need to start service via command line
- service httpd restart
* website is available but with following error (this is wordpress site)
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
lighttpd+named+php-fpm+php53u:
* Can not restart from Control Panel
* Need to start service via command line
- service lighthttpd restart
* error 503 - Service not Available
Switching programs/services does not work at times.
Restarting from Control Panel (Server>Services) does not work.
Need to restart the service from command line.
[root@virgo conf.d]# ls -l
total 36
-rw-r--r-- 1 root root 346 Jan 29 17:40 fastcgi.conf
-rw-r--r-- 1 root root 1393 Jan 29 17:55 ~lxcenter.conf
-rw-r--r-- 1 root root 674 Jan 29 18:02 php.nonconf
-rw-r--r-- 1 root root 308 Jan 29 17:55 rpaf.conf
-rw-r--r-- 1 root root 279 Jan 29 17:36 ruid2.nonconf
-rw-r--r-- 1 root root 789 Jan 29 17:55 ssl.conf
-rw-r--r-- 1 root root 331 Jan 29 17:40 suphp52.nonconf
-rw-r--r-- 1 root root 1683 Jan 29 17:36 suphp.nonconf
-rw-r--r-- 1 root root 352 Jan 9 2007 webalizer.conf
I also done this:
And then go to Panel and try switch webserver again.
If you found inside '/etc/httpd/conf.d' files 'php.conf' and 'suphp.conf', delete this files
For sure, run 'sh /script/cleanup; service httpd restart; service nginx restart; service php-fpm restart'
Result is still the same.