Hi, i just upgraded php4 to php5. Everything looked fine, resarted apache from ssh, it said ok. I can access the directadmin, but all the accounts are not accesible. I received a system message from directadmin that sais that httpd is down. In directadmin i try to restart httpd, but it stays off. How can i see what is causing httpd from not starting up? Or what can i dis wrong? Somebody please helps me, i have about 35 sites that are down now (from clients) friendly greetings, tom
if you followed the install correctly everything should work, if you have external extensions try removing them all and try starting the server again to see if that changes anything.
Try running in shell, to see if it kicks up any errors. - It should say Syntax ok, if your config file isn't messed
Have a look in your apache error log {apachedir}/logs/error.log Apache may be seg fault'ing when trying to start or something's going wrong
Is the command "php -v" printing something in your shell? Is the libphp module loaded in httpd.conf? Can you run php scripts from command line like this: "php index.php"? Do "php -i | grep ini" to find where php.ini is. Is it a php.ini.bak or something like that on that location? If it is then backup up the current and mv php.ini.bak to php.ini Also if you have zend optimizer, eaccelerator installed comment them out from php.ini. Good luck
Try the following: 1 - Restart Apache 2 - Open your site 3 - Run 'cat /var/log/httpd/error_log' The last lines will give you the reason why it crashed