apache+php on MacOSX

From: Date: Fri, 23 Feb 2001 09:15:56 +0000
Subject: apache+php on MacOSX
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-41289@lists.php.net to get a copy of this message
Hi, I started running MacOSX beta on my mac, and noted that apache what present (and used as web sharing extention). The configuration made to apache from MacOSX beta out of the box is pretty basic, BUT I noticed that their where plenty of modules (mod_ssl, mod_perl, mod_dav, mod_php4, etc....) installed but not configured. I tried to change the config of apache to load php as module: --- LoadModule php4_module libexec/libphp4.so AddModule mod_php4.c AddType application/x-httpd-php .php --- From the server-info and server-status pages I get the confirmation that PHP iss loaded, but if I start using a script, I get a parse error at the first line of code. The test file is a simple <?php echo phpinfo(); ?>. Can anyone help me out on this? Does the php modile need extra libraries installed somewhere? Can I figure out why I get a parse error. I can't yet recompile things on MacOSX beta, so I need to find out how to get the prepackaged module -- Thierry Coopman - thierry@keytrade.com My opinions are personal, and have really nothing or nothing to do with Keytrade! Macs suck. All real geeks have a character prompt.

« previous php.general (#41289) next »