PDA

View Full Version : Local PHP/mySQL



TedHershey
10-19-2004, 03:39 PM
I'm trying to learn PHP and mySQL but am getting sick of having to upload the PHP files to my remote server to test out every change. Is there a way to run this stuff locally in osX.3?

I'm a complete newb when it comes to server side technologies...

ignus
10-19-2004, 07:38 PM
i know how to run it on a local Apache server, but that was on winxp. i dont know if they have an apache for osx...
when i had that local server, they all ran perfect though. i had vBulletin installed on my desktop!

batmanuel
10-20-2004, 12:06 AM
yes, absolutely.

I would recommend installing Fink: http://fink.sourceforge.net/

Then you can just do an easy install of php/mysql. I don't recall the Fink install being tough...but there are docs on the site.

TedHershey
10-20-2004, 05:12 PM
Thanks guys. Turns out there is an apache server installed on every osX install. I was able to DL PHP and mySQL packages and install them as well. I've got Fink, had to use it to DL/compile GTK Radiant for x11. That was a pain, but the Fink part was easy enough.

batmanuel
10-20-2004, 06:25 PM
Oh, thought you knew apache came with OSX!!! sorry!

I think Fink is the easy way to go :)

TedHershey
10-20-2004, 06:56 PM
Isn't Fink for DLing tarballs though? Not really into having to compile my own software. The Radiant compile took six or seven hours...

batmanuel
10-20-2004, 08:18 PM
if you do a "fink install <package>" it will download, configure, compile & install it for your system...

to find a package: "fink list | grep -i <package-name>"
that will tell you the name.

example for mysql:

sullo$ fink list|grep -i mysql
dbd-mysql-pm 2.9002-14 Placeholder for versioned DBD::mysql packages
dbd-mysql-pm560 2.1026-2 Perl5 Database Interface to MySQL
dbd-mysql-pm581 2.9003-21 Perl5 Database Interface to MySQL
libdbi-drivers-mysql 0.7.1-1 MySQL driver for libdbi
mysql 4.0.17-11 Open Source SQL database
mysql-client 4.0.17-11 Open Source SQL database - Client
mysql12-dev 4.0.17-11 Open Source SQL database - Development headers and libraries
mysql12-shlibs 4.0.17-11 Open Source SQL database - Shared libraries
phpmyadmin 2.5.3-1 Web interface to MySQL
sullo$ fink install mysql