Entropy.ch Discussion Forums Forum Index Entropy.ch Discussion Forums
Discussion forums about Mac OS X software development.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Installing on Leopard
Goto page 1, 2, 3 ... 17, 18, 19  Next
 
Post new topic   Reply to topic    Entropy.ch Discussion Forums Forum Index -> PHP on Mac OS X
View previous topic :: View next topic  
Author Message
jif



Joined: 02 Jan 2007
Posts: 2

PostPosted: Wed Feb 28, 2007 9:02    Post subject: Installing on Leopard Reply with quote

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
View user's profile Send private message
liyanage
Site Admin


Joined: 22 May 2003
Posts: 1104
Location: Zurich, Switzerland

PostPosted: Wed Feb 28, 2007 9:26    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
jif



Joined: 02 Jan 2007
Posts: 2

PostPosted: Wed Feb 28, 2007 10:35    Post subject: Reply with quote

okay thats cool thanks..
I think I'll look into Fink & compiling..
feel free to delete thread
Back to top
View user's profile Send private message
benjamieson



Joined: 07 Aug 2003
Posts: 13
Location: Bahamas

PostPosted: Fri Oct 26, 2007 2:26    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
john the artist



Joined: 24 Apr 2004
Posts: 14

PostPosted: Fri Oct 26, 2007 17:55    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
benjamieson



Joined: 07 Aug 2003
Posts: 13
Location: Bahamas

PostPosted: Fri Oct 26, 2007 20:14    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
m0untaind0g



Joined: 28 Feb 2005
Posts: 6

PostPosted: Fri Oct 26, 2007 20:50    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
liyanage
Site Admin


Joined: 22 May 2003
Posts: 1104
Location: Zurich, Switzerland

PostPosted: Fri Oct 26, 2007 21:07    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
m0untaind0g



Joined: 28 Feb 2005
Posts: 6

PostPosted: Fri Oct 26, 2007 21:17    Post subject: Reply with quote

Thanks Marc! As always thanks for all your work.
Back to top
View user's profile Send private message AIM Address
benjamieson



Joined: 07 Aug 2003
Posts: 13
Location: Bahamas

PostPosted: Fri Oct 26, 2007 21:44    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
m0untaind0g



Joined: 28 Feb 2005
Posts: 6

PostPosted: Fri Oct 26, 2007 22:02    Post subject: Reply with quote

In the mean time... Does anyone know how to enable Apple's (Leopard) version of PHP?
Back to top
View user's profile Send private message AIM Address
yomcat



Joined: 19 Jun 2007
Posts: 4
Location: New Zealand.

PostPosted: Fri Oct 26, 2007 22:14    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
m0untaind0g



Joined: 28 Feb 2005
Posts: 6

PostPosted: Fri Oct 26, 2007 22:54    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
m0untaind0g



Joined: 28 Feb 2005
Posts: 6

PostPosted: Sat Oct 27, 2007 0:24    Post subject: Reply with quote

I found this on Apple's discussion section:
http://discussions.apple.com/thread.jspa?messageID=5645748&#5645748

Worked for me.
Back to top
View user's profile Send private message AIM Address
delmontyb



Joined: 27 Oct 2007
Posts: 6

PostPosted: Sat Oct 27, 2007 15:53    Post subject: PHP in Leopard Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Entropy.ch Discussion Forums Forum Index -> PHP on Mac OS X All times are GMT + 1 Hour
Goto page 1, 2, 3 ... 17, 18, 19  Next
Page 1 of 19

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group