[FX.php List] [...barely off-topic] Upgrading webserver from PHP 4to 5

Dale Bengston dbengston at preservationstudio.com
Wed Feb 6 14:26:51 MST 2008


Bob,

I have installed the Entropy version on 10.4.11 as well, both OS X and  
OS X Server. Just remember, if it's OS X Server, turn off the PHP  
module in the web setup before you install the Entropy version. If  
it's plain OS X, you'll have to comment it by hand in httpd.conf.

Dale

On Feb 6, 2008, at 2:02 PM, Jonathan Schwartz wrote:

> Bob,
>
> You are going down the right path...entropy is the "package" that I  
> use and I think that most folks use. It took me awhile to figure out  
> that php has many versions and and distribution points.  entropy s  
> the best for Mac users.
>
> Regarding Os X Server (and I think that I post on this a couple  
> months back), Entropy installs PHP in a different location than  
> where PHP 4 is now. Best to follow the instructions on th Entropy  
> web page.  Be sure to turn off PHP 4 in Apache, as described in the  
> instructions.  Otherwise, Apache will not start.  Been there, done  
> that.
>
> If you have an extra machine, you might want to practice on that to  
> get a feel for what happens.
>
> BTW, Apache comes in just the flavors, 1.3 and 2.0.  Most folks are  
> using 1.3.  Did jaguar go with 2.0?  Don't know.
>
> The differences:
> 	- Short tags
> 	- Errors /Notices are on by default. Makes for very interesting  
> screens if you have Notices.
>
> That's my 2¢.
>
> J
>
>
>
>> One more question: Mac OS X Server 10.4.11 (Tiger) is running  
>> Apache 1.4, isn't that right? Is there a Terminal command that  
>> would return the version to me?
>>
>> Thanks,
>>
>> Bob Patin
>> Longterm Solutions
>> bob at longtermsolutions.com
>> 615-333-6858
>> http://www.longtermsolutions.com
>> Member of FileMaker Business Alliance and FileMaker TechNet
>>
>>  CONTACT US VIA INSTANT MESSAGING:
>>     AIM or iChat: longterm1954
>>     Yahoo: longterm_solutions
>>     MSN: tech at longtermsolutions.com
>>     ICQ: 159333060
>>
>> --------------------------
>> Contact us for FileMaker hosting and programming for all versions  
>> of FileMaker
>> PHP * CDML * Full email services * Free DNS hosting * Colocation *  
>> Consulting
>>
>> On Feb 6, 2008, at 1:27 PM, David Ness wrote:
>>
>>> I'm no expert... but I think you want to use a "pre-packaged"  
>>> installer.
>>> The one everyone seems to recommend is:
>>>
>>> http://www.entropy.ch/software/macosx/php/
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: fx.php_list-bounces at mail.iviking.org
>>> [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
>>> Sent: Wednesday, February 06, 2008 2:25 PM
>>> To: FX.php Discussion List
>>> Subject: [FX.php List] [...barely off-topic] Upgrading webserver  
>>> from
>>> PHP 4to 5
>>>
>>> OK, given Chris Hansen's inquiry about PHP versions, I think it's  
>>> time
>>> for me to bite the bullet and start upgrading my web servers' PHP
>>> installs. I have quite a few web servers, so my plan is to start  
>>> with
>>> the machine that has the least web apps on it, and hold my breath...
>>>
>>> Having said that, I was hoping that those who have gone through this
>>> before might answer a couple of questions:
>>>
>>> 1. On a machine running Mac OS X Server Tiger, is the install
>>> basically a double-click-and-install type of process, or is it more
>>> complex? Are there known gotchas when I do this (not relating to web
>>> apps, I'm getting to that)?
>>>
>>> 2. What is the optimal version to install (5.2.5) is what I see at
>>> php.net?
>>>
>>> 3. OK, once I've got it installed, I need to make sure all the web
>>> apps continue to work. They were all written in PHP 4, and I've  
>>> never
>>> declared a variable in PHP 4 (which has come back to bite me with  
>>> off-
>>> site-hosted solutions).
>>>
>>> So what are known issues I'm going to want to repair in my web  
>>> apps? I
>>> plan to turn off ALLOW SHORT OPEN TAGS, which I don't use anyway...
>>> anything else?
>>>
>>> Thanks for your help, oh wise ones...
>>>
>>> Bob Patin
>>> Longterm Solutions
>>> bob at longtermsolutions.com
>>> 615-333-6858
>>> http://www.longtermsolutions.com
>>> Member of FileMaker Business Alliance and FileMaker TechNet
>>>
>>>  CONTACT US VIA INSTANT MESSAGING:
>>>     AIM or iChat: longterm1954
>>>     Yahoo: longterm_solutions
>>>     MSN: tech at longtermsolutions.com
>>>     ICQ: 159333060
>>>
>>> --------------------------
>>> Contact us for FileMaker hosting and programming for all versions of
>>> FileMaker
>>> PHP * CDML * Full email services * Free DNS hosting * Colocation *
>>> Consulting
>>>
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
> --
> Jonathan Schwartz
> Exit 445 Group
> jonathan at exit445.com
> http://www.exit445.com
> 415-381-1852
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list