image
image

Go Back   macosx.com > Mac Help Forums > Networking & Compatibility

Reply
 
Thread Tools
  #1  
Old October 16th, 2005, 12:28 PM
Registered User
 
Join Date: Oct 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
kjoker is on a distinguished road
apache 2.0.55, php 5.0.5, mysql 5.0.13

I was wondering if anyone can help me with these problems.

I installed apache 2.0.55 according to building and Installing Apache 2 and PHP 5.0.5 on Mac OS X 10.4 Tiger

installation works great.

Then I went on and install the PHP 5.0.5 using this config:
% --prefix=/apache2/php \
% --with-zlib \
% --with-xml \
% --with-mysql=/usr/local/mysql \
% --with-apxs2=/apache2/bin/apxs

I got an error on the mysql line:
configure: error: mysql configure failed

the path to mysql is correct. I already installed mysql using the mac osx package. I didn't put the gd, libjpeg, and libpng cause I haven't installed libjeg and libpng.

anyone can help me out with this?
I think I screwed up the privileges on the mysql and the root password. I can access ./mysql -u root -p with my root password. But I can't access it using myphpadmin. Already set up the config.inc.php.

My first time installing these 3 package 1 by 1. Before I use webserverxkit.

Thanks in advance.
Jo
Reply With Quote
  #2  
Old October 16th, 2005, 04:34 PM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 10,380
Thanks: 3
Thanked 124 Times in 113 Posts
ElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the rough
Well, I would suggest getting a known-good, working installation of mySQL going on first. You said that the permissions are screwed, and you cannot access mySQL through phpMyAdmin, which leads me to believe that it is choking on mySQL compatibility for those reasons.

Since you used the .pkg installer for mySQL, running a "Repair Permissions" via Disk Utility may help to reset the permissions back to their default. Otherwise, just back up the data folder in the mysql directory, remove mySQL and reinstall. Once the permissions are set right, and you are able to access it through phpMyAdmin, try building php again.
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT
MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM
iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k
http://www.jeffhoppe.com
Reply With Quote
  #3  
Old October 17th, 2005, 07:07 AM
Registered User
 
Join Date: Oct 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
kjoker is on a distinguished road
thanks. got the mysql working and apache working without the php. unfortunately I need x11 installed for the lib5php.so. my error: Cannot load /usr/local/apache2/modules/libphp5.so into server: Library not loaded: /usr/X11R6/lib/libXpm.4.dylib\n
already posted another thread in the unix and x11 section.
Reply With Quote
  #4  
Old October 17th, 2005, 07:35 AM
Registered User
 
Join Date: May 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
gooseman is on a distinguished road
I installed php & MySQL from this site http://www.entropy.ch/software/macosx/welcome.html and they both work great. The author has a php5 module for Apache 1.3 (the OSX default) and Apache 2.

I hope this helps.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 06:31 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.