image
image

Go Back   macosx.com > Content & Information > Apple News, Rumors & Discussion

Reply
 
Thread Tools
  #1  
Old March 29th, 2001, 07:14 AM
Registered User
 
Join Date: Sep 2000
Location: sweden
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
knasen is on a distinguished road
Exclamation

Is there anyone who knows how to get hands on a package installing PHP and MySQL?
Reply With Quote
  #2  
Old March 29th, 2001, 11:30 AM
billbaloney's Avatar
House pianist
 
Join Date: Oct 2000
Location: Brooklyn, NY
Posts: 509
Thanks: 0
Thanked 0 Times in 0 Posts
billbaloney is on a distinguished road
There were packages around for the PB, but I haven't seen these revamped for the final release -- by now they're installing old versions of PHP and MySQL.

Let's see...MySQL has posted a recent release <A HREF="http://www.versiontracker.com/moreinfo.fcgi?id=8252">for OS X server</A>, but I don't see whether it's readily portable to OS X client. Nor do I see any other info on mysql.com.

Anyone want to try porting?

For both of these, I'd keep your eyes on stepwise.com....
Reply With Quote
  #3  
Old March 30th, 2001, 04:29 PM
Registered User
 
Join Date: Dec 2000
Location: Washington
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
swinte is on a distinguished road
Angry Failure with Public Beta packages

I had successfully used the pre-built packages for PHP4 with the Public Beta that I found on the net (can't remember URL). I attempted to use these with the final version and now Apache doesn't work. Attempting to launch "web-sharing" from the system preferences control panel fails as does launching httpd from the command line.
Reply With Quote
  #4  
Old March 30th, 2001, 04:44 PM
billbaloney's Avatar
House pianist
 
Join Date: Oct 2000
Location: Brooklyn, NY
Posts: 509
Thanks: 0
Thanked 0 Times in 0 Posts
billbaloney is on a distinguished road
Check out <A HREF="http://www.stepwise.com/Articles/Workbench/2001-03-24.01.html" TARGET="_blank">this article</A> at Stepwise -- you should install Apache 1.3.19 over whatever broken version you have right now and work from there.

I've almost got the latest PHP compiling correctly. I'll post again when it's working.
Reply With Quote
  #5  
Old March 30th, 2001, 06:33 PM
Registered User
 
Join Date: Dec 2000
Location: Washington
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
swinte is on a distinguished road
Smile Excellent

The stepwise.com directions look excellent. I'll play around with those and see what transpires.
Reply With Quote
  #6  
Old March 30th, 2001, 06:39 PM
usin UNIX since '92
 
Join Date: Oct 2000
Location: Barcelona, Catalonia - Spain
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
dani++ is on a distinguished road
Arrow

(Get the source and unpack it with OPENUP and cd to it)

pico configure
in line 8172: change pear/pear to pear/pearfile
(save changes)

cd pear
pico Makefile.in
in line 89: change phpize php-config pear to phpize php-config pearfile
in line 126: change pear.in to pearfile.in
in line 127: change pear/pear to pear/pearfile
(save changes)

mv pear.in pearfile.in
cd ..

(those are my compile options, yours could be different, specially the apxs location)

./configure --with-apxs=/usr/local/sbin/apxs --with-zlib --enable-ftp --with-mysql=/usr/local --enable-inline-optimization --with-xml

(watch out for that mysql flag... we should really be sure that php is not using the bundled mysql libs and goes for the real 'mysql' we've installed, any pointers?)

make
sudo tcsh
make install

(edit the apache config files, stop it, make a configtest and restart it)

exit

(put a php file on the webserver docs folder and ENJOY!)

dani++

(really check out stepwise, their pointers are very good!)

[Edited by dani++ on 03-30-2001 at 05:44 PM]
Reply With Quote
  #7  
Old March 30th, 2001, 06:41 PM
Registered User
 
Join Date: Dec 2000
Location: Washington
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
swinte is on a distinguished road
Talking Yay!

Awesome! You have done a great favor for those of us who are technically literate enough to use PHP/mySQL but not smart enough to get the configuration stuff working. Now if there was just postgresql support the world would be a perfect place... :-)
Reply With Quote
  #8  
Old March 30th, 2001, 06:50 PM
usin UNIX since '92
 
Join Date: Oct 2000
Location: Barcelona, Catalonia - Spain
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
dani++ is on a distinguished road
Talking

thanx,


really play with the config switches, you'll get the hang of it. To get an overview of the available switches just type
./configure --help
at the command prompt on the unpacked (remember, OpenUp) PHP source distrib.

I'll post concise instructions on MySQL too, the latest version has a compilation glitch, but's easily solved. The compiled version has a couple of quirks but is quite usable.


Too late (01:45 AM) to post those now... =)


dani++
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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me launching PHP/MySQL development on localhost please ! toast Design & Media 13 July 17th, 2003 12:26 PM
php/mysql help snicka Software Programming & Web Scripting 3 June 21st, 2003 09:31 AM
Problem setting up PHP/MySQL User Authentification uoba Unix & X11 2 July 20th, 2002 11:19 AM
I need a shopping cart in PHP/MySQL jsn Software Programming & Web Scripting 1 October 14th, 2001 11:56 PM
10.1: localhost goes away... and other VirtualHost issues slur Mac OS X System & Mac Software 13 October 7th, 2001 11:35 PM


All times are GMT -5. The time now is 03:16 PM.


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