Venus Apache 2.2 Upgrade suPHP Introduced [11/16/2007]


Tony

Recommended Posts

On Saturday November 17th at 2pm EST we will be upgrading the Venus server's apache version to 2.2 from the currently running 1.3 branch. We expect this migration to take about an hour to do. We do not expect any down time during this migration.

The reason for this is the new Venus server we introduced CentOS 5 and Apache 1.3.3.9. Unfortunately this configuration is not playing very nice with PHP4 as a result there is numerous stability issues with PHP pages using PHP4. So unfortunately we're unable to give the amount of notice as we would have liked.

We had planned to make the migration on all servers a week from now after extensive testing we've been doing on this setup. Unfortunately with the problems we cannot wait a week to have this done. We're very sorry about the lack of notice regarding this.

I'm going to go over some of the changes about how they'll improve things and also the problems they may cause.

Apache 2.2

Apache 2.2 has much better resource management. As a result it can much better serve static content. Static content would be things like images, files ect. This should not be confused with PHP or CGI scripts which are not static at all.

As for problems this may cause we do not expect any at all.

suPHP

suPHP is a much more secure PHP setup. It has all PHP scripts running as the user. This means that there are no issues with uploading of content and another user owning the files. It also restricts the acceptable permissions for files which is where we expect the majority of problems to come from. Here are the acceptable permissions in this new setup:

PHP Scripts: 644

Directories: 755

For the most part this should not be an issue unless you've been changing permissions of folders when it was unnecessary. We will be running scripts to attempt to fix permissions. With that we'll also be logging all errors relating to permissions in hopes of solving any that are popping up.

The other issue with suPHP is you can no longer change php configuration values (such as register_globals) in a .htaccess. This will now need to be done by placing a php.ini in the folder that this change needs to be made. You will also use standard PHP notation opposed php_flags that can be used in .htaccess files.

This summarizes what we expect during this migration. We believe this should solve all the issues experienced with regards to PHP4 scripts.

If you have any questions do not hesitate to contact support. We've very sorry about the lack of notice, but we feel this is urgent to fix the PHP4 issues.

Date: 11/16/2007

Start time (EST): 2:00pm

End time (EST): 3:00pm

Duration: 60 minutes

Link to comment
Share on other sites

Venus is now running the latest version of the apache 2.2 branch.

We are not seeing very many issues with regards to suPHP. We are however still running the scripts to fix any bad permissions. It will just take some time to go through all files and folders to correct them.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.