02-13-2009
I guess because it is all self contained and does not need access to /Library for some reason.
If you wanted to install it from the command line you would have to download the binary and compile it yourself, or use the mount and cp or mv commands to move it form the disk image to the /Applications folder.
If it was self contained though you can run it from anywhere, not just the /Applications folder.
If I recall, by default OS X 10.5 has PHP 5, MySQL and Apache installed by default. The only one I am iffy on is MySQL, not sure if it is installed by default.
So really you just need to edit your Apache config file to turn it on and point it to your web root folder which should be ~/sites or something like that (memory is drawing a blank atm and my macbook is in my laptop bag and I am being lazy....sorry)
2 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi (Help, Help, Help)
I am on a computer course and have designed a web site as one of my assignments. just before Xmas my college tutor "very kindly" viewed my site with a mac, safari browser and unix operating system computer. This is what she Emailed back to me, and I am trying to sort... (3 Replies)
Discussion started by: skylark167
3 Replies
2. Shell Programming and Scripting
I guess Mac has default bash. Then I copy my code to another comp and run it...And it gives me an error like "bad substitution"....
How I can change my code??? Never had before this kind of situation. Help please.
if
then
n=$(sort /Users/Natalie/lastserial | tail -1)
... (6 Replies)
Discussion started by: Natalie
6 Replies
LEARN ABOUT SUSE
apache::session::lock::mysql
Session::Lock::MySQL(3) User Contributed Perl Documentation Session::Lock::MySQL(3)
NAME
Apache::Session::Lock::MySQL - Provides mutual exclusion using MySQL
SYNOPSIS
use Apache::Session::Lock::MySQL;
my $locker = Apache::Session::Lock::MySQL->new();
$locker->acquire_read_lock($ref);
$locker->acquire_write_lock($ref);
$locker->release_read_lock($ref);
$locker->release_write_lock($ref);
$locker->release_all_locks($ref);
DESCRIPTION
Apache::Session::Lock::MySQL fulfills the locking interface of Apache::Session. Mutual exclusion is achieved through the use of MySQL's
GET_LOCK and RELEASE_LOCK functions. MySQL does not support the notion of read and write locks, so this module only supports exclusive
locks. When you request a shared read lock, it is instead promoted to an exclusive write lock.
CONFIGURATION
The module must know how to connect to your MySQL database to acquire locks. You must provide a datasource name, a user name, and a
password. These options are passed in the usual Apache::Session style, and are very similar to the options for
Apache::Session::Store::MySQL. Example:
tie %hash, 'Apache::Session::MySQL', $id, {
LockDataSource => 'dbi:mysql:database',
LockUserName => 'database_user',
LockPassword => 'K00l'
};
Instead, you may pass in an already opened DBI handle to your database.
tie %hash, 'Apache::Session::MySQL', $id, {
LockHandle => $dbh
};
AUTHOR
This module was written by Jeffrey William Baker <jwbaker@acm.org>.
SEE ALSO
Apache::Session
perl v5.12.1 2008-01-08 Session::Lock::MySQL(3)