Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Apache 2, Perl, PHP in Mac OS X Leopard

Status
Not open for further replies.

kherge

Programmer
Nov 14, 2007
14
US
Hello

I'm new to the Mac operating system. As a developer, I like installing the interpreters I'll be using along with an IDE to use with them.

What I want to know is how do I configure Apache 2 to run in Leopard?

I don't know if Apache 2, Perl, and PHP 5 were installed after I installed Xcode but they are available and I did not have to do any downloading and compiling.

TIA
 
All macs come with web serving accessed through system prefs/sharing. Apache is the underlying app supporting this.

You should find all developer tools on the leopard install disk. Apple includes them.

Using OSX 10.3.9 on a G4 & G5
 
To install MySQL 5, would I need to grab the package from MySQL's website?

I already have it installed but I just wanted to know if there is a better way of doing it.
 
If you already have Apache and/or MySQL installed, adding another installation of it will require some tweaking of the config files as two versions of the same service will be fighting for the same default port.

I have not looked at what versions are shipping with OSX but in the past, if one wanted the latest stable build of Apache/PHP/MySQL, one would need to manually install it and turn off or ignore Apple's packages. However, the versions in OSX are not terribly out-of-date and should do well for most uses.
 
Actually I meant to ask if Apple had their own package for MySQL. I couldn't find it so I downloaded and installed one from MySQL's website.
 
The Apache web server is installed with the operating system. Go to System Preferences -> Sharing, then select the checkbox next to Web Sharing. On the right, it will tell you the IP address to go to to see your site.

Visit my website at
 
Yes, the MySQL website has an installer for Mac. I haven't used it with Leopard, but it worked fine with Tiger.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top