homepage Welcome to WebmasterWorld Guest from 23.23.22.200
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
upgrading PHP 5.1 on Apache 2.2
Upgrade PHP Apache
zhanng




msg:4478239
 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:

Centos 5.5
Apache 2.2.3
PHP 5.1.6
MySql 5.5.25a

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.

 

rlange




msg:4478430
 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.

--
Ryan

zhanng




msg:4478433
 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?

rlange




msg:4478462
 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").

--
Ryan

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved