Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - raulpa

Pages: [1]
1
Apache / Apache brokes after PHP Selector
« on: March 28, 2016, 09:22:02 AM »
Hi all!

It's the second time I get stuck with the same error. I did a fresh installation on Centos 6.7 and then I installed from the PHP Selector the 5.6 and 7 versions. At the end of each compiling process the only error I saw is that httpd can't be stopped and when tries to start httpd the port is in use. Then I go to the dashboard and httpd appears to be stopped but it doesn't, default apache page for Centos still loading. Then I rebooted the vps.

Once rebooted httpd shows started at dashboard but after creating a user, or previously created accounts, and upload files to his public_html folder it still showing the default apache page for Centos, not the CWP page.

If I try to go to Apache Settings->Apache Status I get this message:

Code: [Select]
Not Found

   The requested URL /server-status was not found on this server.

   --------------------------------------------------------------------------

    Apache/2.2.15 (CentOS) Server at localhost Port 80

Even if I try a non existent url version 2.2.15 it's reported when it must be 2.2.27, the default installed by CWP and the shown at dashboard.

When I try PHP Settings->PHP Version the version shown is 5.4.45, that's ok but instead of showing the standard phpinfo() result I see this:

Code: [Select]
Warning: file_get_contents(http://xxx.xxx.157.176/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(1) : eval()'d code(1) : eval()'d code on line 3
Followed of the phpinfo() unformatted.

So, I guess there's some problem with Apache after compiling 5.6 and 7 versions of PHP but I can't figure out what's going on. It seems like is not loading the right httpd.conf file. Note that before compiling new php versions all was working right.

Please, some help will be apreciated!

Pages: [1]