Reputation: 2219
Someone just upgraded to PHP 5.4.8 and now I get an error:
Google Chrome:
The website encountered an error while retrieving http://10.10.1.22/. It may be
down for maintenance or configured incorrectly.
Firefox: Blank all white window
I did some playing around and found if I put just index.html in the /var/www/html, it display's it. But if I put in a fresh copy of joomla I get that error. I get the same error when trying to access phpmyadmin.
Everything was working fine before the upgrade, any idea's on what I need to configure? Suggestions one things I should look at or try.
I believe LAMP is installed.
Upvotes: 3
Views: 13618
Reputation: 3040
Html doesn t need server intervention to display.
Try to put a php file instead: index.php
Inside put these codes :
<?php
ini_set('display_errors', 1);
ini_set('log_errors', 1);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
error_reporting(E_ALL);
echo "Hello World!";
echo "php is working";
php_info();
//this should generate an error--->
echo $unknown_var;
?>
<html>
Html is working
</html>
This should help you identify what is wrong.
My guess is that your server may need to be restarted.
EDIT
It seems you have a problem with the setting open_basedir
or a .htaccess is preventing you from acccessing your www director.
olso chek the value of doc_root
Upvotes: 1
Reputation: 3950
if I put just index.html in the /var/www/html, it display's it. depicts that there is no php configuration problem.
There may be some extension specific issue. You may try with a default Joomla installation and add extensions one at a time until you identify which ones specifically have an issue and then refer to the extension developers - they may not be aware of the issues.
Upvotes: 1