Leopard and PHP

Hi,
My copy of Leopard arrived at 2pm today (four hours early - well done, Apple), and I’ve installed it on my MBP to see what the impact will be on my system.

I have found that it’s somehow killed web sharing. I get 403 errors. I suspect that the PHP install that I got from Marc Liyanage needs updating.

My MySQL install seems fine - and I can use Navicat to access the databases.

For those of you keen to be hot off the starting blocks, this may be something to be cautious about. My MBP isn’t in regular daily work service, so it’s been pressed into Leopard “stunt work”. It does seem that MAMP works, and I can copy databases from the MySQL install to the MAMP MySQL server with ease.

Naturally, if this were a work machine, it would be all hands to the pumps to get MAMP set up as the default web server for my development efforts.

Let this be a cautionary tale for you all - if you have two machines, install Leopard on your stunt double and check that all is well before proceeding to your main workstations. If you don’t have a stunt double, then install Leopard only if you are confident that core software won’t fail on you.

HI,
I appear to have solved the problem. Rather than post a full essay here, I’ll direct you to this thread on Apple’s board.

http://discussions.apple.com/thread.jspa?threadID=1187457&tstart=0

Scroll down to the post by Jason Kerner. Basically, you need to edit your httpd.conf file in the /etc/apache2 to load the php5 module.

Then create a users file in the /etc/apache2/users/ folder for your short user name.

That should do the job. Hopefully, this will do the job. It works for me. Hooray!


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

So does this mean that Leopard Client will use Apache2 out of the
box for Web sharing?

Walter

On Oct 26, 2007, at 2:24 PM, Paul wrote:

HI,
I appear to have solved the problem. Rather than post a full essay
here, I’ll direct you to this thread on Apple’s board.

http://discussions.apple.com/thread.jspa?threadID=1187457&tstart=0

Scroll down to the post by Jason Kerner. Basically, you need to
edit your httpd.conf file in the /etc/apache2 to load the php5 module.

Then create a users file in the /etc/apache2/users/ folder for
your short user name.

That should do the job. Hopefully, this will do the job. It works
for me. Hooray!


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

Looks like it, yes. Documentation linked to from the Apache boilerplate says “Apache HTTP Server Version 2.2” and I had to edit the httpd.conf file in the Apache2 folder. You get PHP 5.2.4 if you edit that file too.


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

On 26 Oct 2007, at 19:33, Walter Lee Davis wrote:

So does this mean that Leopard Client will use Apache2 out of the
box for Web sharing?

Yes:

finlay$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.5
BuildVersion: 9A581
finlay$ apachectl -V
Server version: Apache/2.2.6 (Unix)
Server built: Sep 23 2007 18:07:19
Server’s Module Magic Number: 20051115:5
Server loaded: APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)

– Finlay


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