-
Mac User
apache, php, MySQL
I belong to a computer class wherein we are required to use apache, php and MySQL. Our teacher uses Windows based programs, however he is not adept with Macs.
I know that Mac OSX has apache in it, but I'm not sure about php and MySQL.
In our class, 3 of us use macs but we cannot use our laptops because we do not know how to use php and MySQL in them
To the moderators please help.
-
08-01-2006 08:58 PM # ADS
Google Adsense
-
Re: apache, php, MySQL
This might help.
Last edited by hannibal; 08-01-2006 at 09:06 PM.
-
Mac Lover
Re: apache, php, MySQL
In my case, I only had to install mysql, as both apache and php were both already came with my OS X (tiger) installation. I downloaded mysql from www.mysql.org.
Apache's default document directory is in ~www/Documents. Just remember to enable Personal Web Sharing in System Preferences -> Sharing.
-
Mac Lover
Re: apache, php, MySQL
Apache and PHP is installed default on Mac OSX. Just download mysql either from mysql.org or apple download section. I prefer apple download section, it has a nice mysql installer package.
You might also want to further configure apache and php since the default settings doesnt have php module included (I think) and the user directory is disabled. Just edit /etc/httpd/httpd.conf using your any text editor. It's heavily commented, so configuring it wont be that hard.
goodluck!
-
Mac User
Re: apache, php, MySQL
Thank you for the tips, will try them all. Actually, I have downloaded the MAMP before I posted yesterday and I'm still configuring it (or how to use it)
Basic usage pa lang naman kami sa class nitong apache, php at MySQL, ayaw lang namin mapahiya sa mga windows users.
Di pa nakatulong yung teacher namin na walang alam sa mac, apologetic naman siya. Aaralin daw muna niya.
Thanks again.
-
Mac Lover
Re: apache, php, MySQL
Apache and PHP that came with OS X are waaaay outdated. It's still useable but it's better if you start using apache2/php5.
You can try following the steps here (hope you're comfortable with terminal):
http://www.phpmac.com/articles.php?view=252
There's also a link at the bottom of the tutorial to make apache2 the default server for OS X so you could turn it on and off through System Preferences. I recommed doing that as well.
-
Mac Lover
-
viceer
Guest
Re: apache, php, MySQL
mySQL will not start... I am using MAMP 1.5b1 running on Leopard. Tried to install the latest verion but still same problem...
-
Mac Fanatic
Re: apache, php, MySQL

Originally Posted by
markcas
Apache and PHP that came with OS X are waaaay outdated. It's still useable but it's better if you start using apache2/php5.
I agree.
Or, you could use MacPorts. Then, it's all (theoretically) a matter of: Code:
sudo port install apache2
sudo port install mysql
sudo port install php5 +mysql +apache2
I recently got Drupal 5 running on PHP 5, PostgreSQL 8.2 and Apache2 running on my laptop just like that.
[ "Green Stabofen" avatar by Jesus Pernas ]
-
Newbie
Re: apache, php, MySQL
download entropy's php package at http://www.entropy.ch/software/macosx/php/
mysql can be found at: http://dev.mysql.com/downloads/mysql...tml#macosx-dmg
if you don't mind me asking, where are you studying and what's your course?
thanks.
Bookmarks