[thelist] Tip for Repost
Garrett Coakley
garrett at polytechnic.co.uk
Tue Sep 4 11:04:40 CDT 2001
Doh!
<tip author="Garrett Coakley" type="PHP on Mac OSX">
If you installed PHP on your OSX machine by using the directions at
http://www.entropy.ch/software/macosx/php/ (which gives you a
precompiled phplib) then you'll be missing on vital component. The
php.ini file, which allows you to configure the run time options for the
php module.
Fortunately you can grab a copy from the web interface to the php CVS
server: http://cvs.php.net/co.php/php4/php.ini-dist (click on the
download link at the top right).
Create a directory called php in /usr/local/lib and make sure it's owned
by root:wheel and is chmodded to 755. Rename the downloaded file
php.ini-dist to php.ini and place it in the directory you just created.
Next, restart Apache by using:
sudo /usr/sbin/apachectl graceful
And now you'll be able to configure your php server by editing php.ini.
Remember to restart apache after any changes.
</tip>
G.
--
----------------------------------------------------------------------------
WORK: http://spiked.co.uk/
PLAY: http://polytechnic.co.uk/
More information about the thelist
mailing list