[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] PHP not working



<snip>

  Here is why:
  http://www.charitybenefit.com/calendar/index.php


  Is there a way to run something from the command line to see if it
  is working?

  Also, I was going to uninstall it and re-install it, but nothing
  happens when I run the php-4.1.2-3.uninst script in the uninstaller
  folder.   It just come back to the command prompt after about 10
  seconds.
</snip>

Interesting, the url sends me to a internal server error page. What does the output of /home/log/httpd/error show?? As thats normally where an internal server error dumps its information.

Take a look in /etc/httpd/conf/httpd.conf and look for a line saying something like:
LoadModule php4_module	lib/apache/libphp4.so
Is php installed from pkgmaster, elsewhere or a DIY src/tarball build?

Place a php file on the server called info.php with the following inside it:
<?php
phpinfo();
?>
and see if that file will run, if so then its likely to be a problem within the actual PHP script causing the 500 rather than php itself.

Also, you mentioned you ran the uninstall script and it returned you to the bash prompt. That generally means it managed to uninstall php, so good chance you did manage to erase it!! Check in your GUI and see if PHP is still listed in the installed programs section, if not, get the pkg from pkgmaster again and try re-installing.

Regards,

Andy
andy@xxxxxxxxxx
http://www.raqpak.com/ <-- Raq/Qube unofficial PKGs and support advice