Setting up a database for the web on a G5, using php, apache
Hi Jorge,
That's a more complex question to answer than it seems.
First of all, is this your own machine that will be permanently
connected to the web? And if so, are you running FileMaker Server? Or
are you referring to Instant Web Publishing?
BTW, there are (just a handful of) web hosts that offer FileMaker
hosting. That may be the easy way out.
Usually when using PHP and Apache, people will tend to use the MySQL
database for which you will find many builds, scripts, hosts and
information. There is a version available for OSX.
You can always use FileMaker to populate / maintain your tables and use
ODBC to feed MySQL.
If you use Software Update on your Mac, you should have the latest
stable versions of Apache and PHP for OSX. There wouldn't necessarily be
a reason to upgrade these to the very latest versions unless you require
specific features.
You need to uncomment a few lines in the /etc/httpd/httpd.conf file to
activate PHP for Apache (which is what OSX uses for web sharing).
Turn off web sharing (OSX system preferences, not referring to FileMaker
here). Remove the # character from beginning of these lines:
#LoadModule php_4module
#AddModule mod_php4.c
#libexec/httpd/libphp4.so
Then restart your web sharing. PHP will be on.
Hope that helps,
Eric
|