| View previous topic :: View next topic |
| Author |
Message |
jif
Joined: 02 Jan 2007 Posts: 2
|
Posted: Wed Feb 28, 2007 9:02 Post subject: Installing on Leopard |
|
|
Hi I'm running on a client version of leopard (Mac OS X 10.5 (9A321) to be exact), and seem to be hitting some issues..
mainly that the installer doesn't appear to be hitting the httpd conf at all?
leopard uses apache2, located in /etc/httpd/
php5 installs to /usr/local/php5/
but the two don't seem to know about each other..
tried looking into your FAQs, as far as I can tell I need to edit the LoadModule & AddModule?
under the LoadModule what is the path I should be pointing to? /usr/local/php5/libphp5.so ?
or am I supposed to have something in libexec/httpd/libphp5.so if so it doesn't appear to exist. in fact my /usr/libexec/httpd/ directory does not physically appear to exist, yet a find or locate will find things inside there?
suggestions?
is there any other extra things I need to add to the file or will that suffice to get it running? |
|
| Back to top |
|
 |
liyanage Site Admin

Joined: 22 May 2003 Posts: 1104 Location: Zurich, Switzerland
|
Posted: Wed Feb 28, 2007 9:26 Post subject: |
|
|
| Your NDA does not allow you to discuss Leopard in a public forum like this, I'm sorry. If I find some time I'll look into it, but that won't be soon... |
|
| Back to top |
|
 |
jif
Joined: 02 Jan 2007 Posts: 2
|
Posted: Wed Feb 28, 2007 10:35 Post subject: |
|
|
okay thats cool thanks..
I think I'll look into Fink & compiling..
feel free to delete thread |
|
| Back to top |
|
 |
benjamieson
Joined: 07 Aug 2003 Posts: 13 Location: Bahamas
|
Posted: Fri Oct 26, 2007 2:26 Post subject: |
|
|
Can we discuss it yet? I believe all NDAs were lifted at 6pm today (or yesterday)
I've just tried to install the Apache2 PHP5.2.4 from here, but Apache still only saw the Apple installed version (no changes made the the httpd file by the installer, which is odd).
I edited the httpd.conf file in /etc/apache2/ to load:
| Code: | | /usr/local/php5/libphp5.so |
but apache fails to start when I do this, with the following error:
| Code: | | httpd: Syntax error on line 114 of /private/etc/apache2/httpd.conf: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/local/php5/libphp5.so: no matching architecture in universal wrapper |
Any clues? |
|
| Back to top |
|
 |
john the artist
Joined: 24 Apr 2004 Posts: 14
|
Posted: Fri Oct 26, 2007 17:55 Post subject: |
|
|
Yes, Non-disclosure ended. We're safe now.
I just edited my conf file to add PHP and Apache launched fine. Are you using the final build?
EDIT: Oh sorry, you were trying to Install Marc's 10.4 package. |
|
| Back to top |
|
 |
benjamieson
Joined: 07 Aug 2003 Posts: 13 Location: Bahamas
|
Posted: Fri Oct 26, 2007 20:14 Post subject: |
|
|
| john the artist wrote: | | EDIT: Oh sorry, you were trying to Install Marc's 10.4 package. |
Yeah, I've got the apple version running, but its pretty basic WRT extensions.... wanted to try get the Entropy version live....
I guess I'm a bit early! <grin> |
|
| Back to top |
|
 |
m0untaind0g
Joined: 28 Feb 2005 Posts: 6
|
Posted: Fri Oct 26, 2007 20:50 Post subject: |
|
|
Has anyone had any luck installing Marc's version of PHP 5.2.4 on Leopard yet? I keep getting an error and Apple's big new yellow exclamation mark.
"The following install step failed: run postflight script for Entropy PHP. Contact the software... "
I noticed there was another thread about "postflight" error but no solution was posted. Any help would be great.
Thanks! |
|
| Back to top |
|
 |
liyanage Site Admin

Joined: 22 May 2003 Posts: 1104 Location: Zurich, Switzerland
|
Posted: Fri Oct 26, 2007 21:07 Post subject: |
|
|
I don't think it works yet, I didn't have time to work on it yet because I am currently very busy at work.
I'll need to check out the new Apache 2 in Leopard and figure out how to integrate it all... |
|
| Back to top |
|
 |
m0untaind0g
Joined: 28 Feb 2005 Posts: 6
|
Posted: Fri Oct 26, 2007 21:17 Post subject: |
|
|
| Thanks Marc! As always thanks for all your work. |
|
| Back to top |
|
 |
benjamieson
Joined: 07 Aug 2003 Posts: 13 Location: Bahamas
|
Posted: Fri Oct 26, 2007 21:44 Post subject: |
|
|
Ditto to the thanks to Marc.
Do you have any idea how many of us owe you our firstborn for all your hard work! |
|
| Back to top |
|
 |
m0untaind0g
Joined: 28 Feb 2005 Posts: 6
|
Posted: Fri Oct 26, 2007 22:02 Post subject: |
|
|
| In the mean time... Does anyone know how to enable Apple's (Leopard) version of PHP? |
|
| Back to top |
|
 |
yomcat
Joined: 19 Jun 2007 Posts: 4 Location: New Zealand.
|
Posted: Fri Oct 26, 2007 22:14 Post subject: |
|
|
| m0untaind0g wrote: | | In the mean time... Does anyone know how to enable Apple's (Leopard) version of PHP? |
Yup. Open /etc/apache2/httpd.conf in something, and there is one line that has php in it. Uncomment that line, and restart Apache. |
|
| Back to top |
|
 |
m0untaind0g
Joined: 28 Feb 2005 Posts: 6
|
Posted: Fri Oct 26, 2007 22:54 Post subject: |
|
|
| I know this is slightly off topic, but has anyone been successful in starting MySQL (current release)? I've tried starting/installing it via prefPane (I read somewhere it breaks in Leopard) and command line without any luck. |
|
| Back to top |
|
 |
m0untaind0g
Joined: 28 Feb 2005 Posts: 6
|
|
| Back to top |
|
 |
delmontyb
Joined: 27 Oct 2007 Posts: 6
|
Posted: Sat Oct 27, 2007 15:53 Post subject: PHP in Leopard |
|
|
Good morning all, I guess it's fair to say that we are having problems with PHP, but I'm curious to see if anyone is having the same issues that I am... here is the story:
I have two Mac's, a powerbook G4, and a powermac G5. I decide to wipe the hard-drive and start fresh with my G4 so when I got leopard I got my chance.
The install went pretty smoothy, and I'm enjoying the OS quite a lot and look forward to when I have a better Idea as to what I'm doing. On this device I was able to get MySQL server running (after I installed the wrong bit - G4 is not 64bit... do'h) but I got it up and running and can connect to my web server's database.
With my G5 I did the standard upgrade, but here is where I wish I would have held off on that upgrade for a few weeks. When I turn on Web Sharing, and try to navigate out to http://computername.home/~Brian/ I get the message that says that I do not have permissions to access this Server...
I do the same thing on the G4 and it works just fine, as I can't install PHP on it yet... Anyway, I've called Apple and made them aware of the issue, and I think I'm going to try some things in the terminal to perhaps turn off PHP or turn it on (apple's version of it) to see if that will let me access my web-server as now when I'm working on my website it won't let me access my MySQL etc...
Anyway, did anyone else run into this same issue?
Thank you,
Brian
http://www.comicearth.com |
|
| Back to top |
|
 |
|