I am new to network administration.
I have a web server and several domains hosting.
Everything was working well, but 2 days ago I discovered that php do not work. The server was up and fine for more than a year.
The CWP panel works ok, apache and nginx seems ok, I only see this error:
PHP Info
You are running PHP version: 7.1.9
Warning: [obfuscated](http://90.69.151.228/phpinfo.php): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_info.php on line 0
Please help.
if this is only phpinfo error then you can add this script to any account/domain and open it in your browser
<?php phpinfo();?>
I have some wordpress sites. None of them are working. Plain html works fine. Php file do not work.
I didnt do nothing. From a day to another the php stop working.
the phpinfo script doesn work at all. no information.
Is PHP installed on the server?
Check using this command :-
php -v
this should help if you have the latest version of cwp
yum reinstall cwp-httpd
yum reinstall cwp-suphp
yum reinstall cwp-php
then restart httpd
service httpd restart
Thank you for your time.
How it is possible that, from one day to another, without touching nothing the Centos OS stop working corectly?
Rubbish...no offence.
Quote from: studio4host on September 21, 2017, 12:28:37 PM
this should help if you have the latest version of cwp
yum reinstall cwp-httpd
yum reinstall cwp-suphp
yum reinstall cwp-php
then restart httpd
service httpd restart
This is Working. After reinstall the modules php works properly
Thanks!
Hello guys i have an issue whenever i install cwp my php not work i don't why i tried account permison also but the problem still there
is there any solution i can try ??
if any one help me i would realy thankful of them