|upgrading PHP 5.1 on Apache 2.2|
Upgrade PHP Apache
| 6:49 pm on Jul 23, 2012 (gmt 0)|
I am having one heck of a time trying to upgrade PHP on my server. Ok, here are my version specs:
The problem is that I currently have a website running on the server and when I try upgrading PHP the site goes down. The reason for the upgrade is simple, I would like to bring up another site that runs on WordPress. According to the error message I get when trying to load the site, WordPress requires a PHP version of 5.2.4 or higher. So, I am not particular about which version I am to install. I have so far tried 5.2.17 and 5.3.x, both failed miserably.
The failure was quite different, though. When going the 5.3 route, when trying to load my existing site the page loaded like some partially parse PHP text. Strangely, I don't think that the PHP code I am seeing is from my site, but I may be wrong.
When loading PHP 5.2, the error on my site is much different. My browser comes up with a Server Error page, claiming the site may be down or improperly configured.
I am not at all sure what to try at this point. I have some basic server configuration knowledge, but I know a bit more about software. If anyone has any recommendations on what I can try, I would greatly appreciate it.
| 2:41 pm on Jul 24, 2012 (gmt 0)|
Messages from your server's error log would be immensely useful in figuring out exactly what's going wrong.
| 2:56 pm on Jul 24, 2012 (gmt 0)|
I looked into my apache logs, but am not too familiar with them so I couldn't find anything useful. It seems like my php error logs were disabled (or so it seems in my php.ini file) but they are enabled now so my next attempt will provide more information. Is there a specific log file you would recommend me looking into?
| 4:37 pm on Jul 24, 2012 (gmt 0)|
|zhanng wrote: |
Is there a specific log file you would recommend me looking into?
Well, that depends on your setup.
The usual place to look is in Apache's error log file, which is typically
error_log. If PHP's
error_log [php.net] directive is set, though, errors would be written to that file (or the system log if set to "syslog").