I wanted to thank you for the great tickets to the game. Obviously all of my clients were very happy.
HOWTO: The Soothingly Seamless Setup of Apache, SSL, MySQL, and PHP on Snow Leopard Using Mac Ports
We've shown you how to compile all of these individually. Now we are going to provide an easier method that we have had success with.
--First, you need to Install Xcode
You can install Xcode from your Apple OS Install Disk or you can purchase the latest from Apple's website.
Get the latest version fro OS X (DMG file) from the MacPorts website and follow the installer's instructions.
Make sure all of MacPort's data is up to date before installing any ports:
--Update your system paths
Just so I don't have to keep on typing /opt/local/bin all the time i'm going add that directory to my PATH.
Go to System Preference -> Sharing -> uncheck the Personal Web sharing.
--Install cUrl and SSL
This part took me about 20 minutes
--Install PHP and APACHE
This part took me about 15 minutes
Configure Apache to use PHP module
Create the php.ini (or you could move one to this spot)
Open php.ini and add your timezone under Module Settings more than halfway down
Apache http.conf changes
Add "index.php" here:
DirectoryIndex index.html index.php
Throw these in after all the LoadModules calls
AddType application/x-httpd-php .php .html
AddType application/x-httpd-php-source .phps
Open htdocs/index.html and add
<?php phpinfo(); ?>
Start up Apache and make sure things work
Check the site in your browser now.
This part took me about 10 minutes
Run script so mysql sets up it's dbs
Start up MySQL
Set MySql's root password
Make thigs more secure because we can
Add MySQL to your PATH
To run MySQL at startup then run this command after the port finishes installing
Add my.cnf or copy one to /opt/local/etc/mysql5/my.cnf
Add this to my.cnf
socket = /tmp/mysql.sock
Also to remain compatible with other programs that may have been coded to look for the socket file in its original location then add this symbolic link:
--Add some more functionality to PHP
Add Zend and ZendX components to your include_path within php.ini
include_path = ".:/opt/local/www/ZendFramework/library:/opt/local/www/ZendFramework/extra/library"
Feedback or Questions?
If you have any feedback or questions go ahead and email them to phponsnowleopard at teamonetickets dot com and we will try to help you out.
Team One™ Tickets is a privately owned agency that buys and resells tickets on the secondary market. We are not Ticketmaster, LiveNation, StubHub or the official box office nor are we affiliated with any professional sporting organization, performer, or venue. Our ticket prices reflect the cost of obtaining premium seating and are usually sold above "face value".
NewsletterSign up for Deals!