[Pro] PHP 4. whatever?

I’m trying to help a friend who has an old PHP website that is no longer working. He wasn’t having any issues with the site until GoDaddy got hacked a few weeks ago. Now, it’s not working. When he spoke with GoDaddy, they said the “GoDaddy equipment failure” (still won’t admit they were hacked) was purely coincidental and the issue he’s having is because GoDaddy recently deprecated PHP 4.

To see if this is true I want to try running his website on my local MAMP Pro server. However, I don’t see an option for PHP 4. Can I install PHP 4 on my MAMP Pro server? If I do will it be website specific or does it affect all of the websites I have hosted under MAMP Pro?


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You can install more than one php command-line (you just have to put it somewhere unique or name it differently than the default) and you can install more than one mod_php to pipe requests to it. If you do this on a particular virtual server, you will probably be able to set the .php extension on that server to point to php4 instead of php (if that’s what you name the executable). This is not for the faint of heart, but I know it is possible because there was a time when I had php5 and php4 running on the same server (the 4 was the Apple-installed one for Mac OS X Server, and the 5 was a binary installer from http://www.entropy.ch. I don’t recall trying to have one virtual host using one version and another using another, but I presume it is possible, because each virtual host can override almost anything to do with the core Apache.

Walter

On Sep 29, 2012, at 11:41 AM, RavenManiac wrote:

I’m trying to help a friend who has an old PHP website that is no longer working. He wasn’t having any issues with the site until GoDaddy got hacked a few weeks ago. Now, it’s not working. When he spoke with GoDaddy, they said the “GoDaddy equipment failure” (still won’t admit they were hacked) was purely coincidental and the issue he’s having is because GoDaddy recently deprecated PHP 4.

To see if this is true I want to try running his website on my local MAMP Pro server. However, I don’t see an option for PHP 4. Can I install PHP 4 on my MAMP Pro server? If I do will it be website specific or does it affect all of the websites I have hosted under MAMP Pro?


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

In MAMP Pro I don’t even see a pull down option for PHP 4, so I guess I first need to figure out how to add it to the options.

Since this is a development server, I guess I can always install PHP 4 to test the site, then revert back to 5.4. :slight_smile:


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

As an aside, I guess I should switch MAMP Pro to PHP 5.3 since that is what my website hosting company is using, correct?


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You should definitely try to stay in step with your hosting provider, just because it will mean fewer surprises at go-live.

Walter

On Sep 29, 2012, at 12:37 PM, RavenManiac wrote:

As an aside, I guess I should switch MAMP Pro to PHP 5.3 since that is what my website hosting company is using, correct?


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options