These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for php scripts not working properly on the new forum.
I just switched servers, and after switching to a new server I went imported all of my sites over to the new server and then noticed that none of them would run a php script. However I did have a copy of phpmyadmin installed as well which works properly. So it seems like only the scripts owned by a user are giving errors, I have tried switching between Apache mod_php (run as Apache's user) and CGI wrapper (run as virtual server owner). Is there any other options I might be missing?
What errors are you getting? You can see the error being generated by PHP/Apache in $HOME/logs/error_log.
-Eric
Quite a few errors for a CSS file that I didn't realize I had in wrong that looked like this, I did fix the link now that I saw it. However I didn't see anything relating to php scripts.
[Sun Dec 05 22:26:58 2010] [error] [client 192.168.1.1] File does not exist: /home/user/public_html/Dev/css/style.css, referer: site/Dev/index.html
Hrm, if PHP fails, it should put an error in your logfile. That's unusual that you aren't seeing one.
What do you see from your browser when it doesn't work?
Also, you may want to take a peek in your main Apache logs, just in case something is showing up in there... that'd be in /var/log/, either under httpd or apache, depending on your distro.
-Eric