On Mar 22, 2006, at 12:40 PM, Jim Correia wrote:

Boy, you get a LOT more information from this command than I do. When I duplicate what you've done, to the best of my abilities, I get this in a preview window:

<?php phpinfo(); ?>

Maybe it really is this easy when it works.

To the best of my recollection, PHP is not turned on by default for Mac OS X client machines. You must enable it in the config file.

That's correct. PHP is bundled with Mac OS X (PHP 4.4.1 on 10.4.5 with the latest security updates), but you need to edit /etc/ httpd.conf to enable it. Open the file, then find and uncomment (remove the leading # from) these lines:

#LoadModule php4_module        libexec/httpd/libphp4.so

#AddModule mod_php4.c

You'll need to restart web sharing after doing this. If you need more from PHP than Apple provides, you'll need to find a package or build PHP yourself (and remember to reinstall your version after OS updates, since Apple's updaters tend to stomp the custom installs.)

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to