[nycphp-talk] Installing PHP on Mac OS X Server
Bradley Baumann
bradley at bestweb.net
Tue Jan 7 16:54:37 EST 2003
Matt,
I highly doubt that it is in the order matters... if apache is giving an
error because it can't load PHP it's probably something because you forgot
to do something, or something isn't in there right...
Check this step of the PHP installation with Apache out :
----------------------------------------------------------------------
14. Edit your httpd.conf or srm.conf file and check that these lines are
present and not commented out:
AddType application/x-httpd-php .php
LoadModule php4_module libexec/libphp4.so
You can choose any extension you wish here. .php is simply the one
we suggest. You can even include .html, and .php3 can be added for
backwards compatibility.
The path on the right hand side of the LoadModule statement must point
to the path of the PHP module on your system. The above statement is
correct for the steps shown above.
------------------------------------------------------------------------
Full Text: http://www.php.net/manual/en/install.apache.php
Hope that helps.
-Bradley
----- Original Message -----
From: "Larry Chuon" <LarryC at indexstock.com>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Tuesday, January 07, 2003 4:29 PM
Subject: RE: [nycphp-talk] Installing PHP on Mac OS X Server
> At the bottom of this post
> (http://www.ossuite.org/phpbb/viewtopic.php?t=29), it has a specific on
OSX.
> It might have the answer to your problem in regard to httpd.conf.
>
> Did you do this?
>
> on Mac OS X:
>
> vi /etc/httpd/httpd.conf
>
> Find the following and make sure it is in this order:
>
> <IfModule mod_dir.c>
> DirectoryIndex default.php index.php index.htm index.html
> </IfModule>
>
> -----Original Message-----
> From: Matthew Zimmerman [mailto:mz34 at nyu.edu]
> Sent: Tuesday, January 07, 2003 4:18 PM
> To: NYPHP Talk
> Subject: [nycphp-talk] Installing PHP on Mac OS X Server
>
> Hi gang,
>
> Got a new Mac X Serv and am installing MySQL and PHP.
>
> I use the downloads and instructions from www.entropy.ch. Always had
> success with these, but I am having a problem I haven't had before.
>
> I follow all of Marcs instructions then type the final command:
>
> sudo apachectl graceful
>
> I get an error
>
> /usr/bin/apachectl graceful: configuration broken, ignoring restart
> /usr/bin/apachectl graceful: (run 'apacectl configtest' for details)
>
>
> when I run the configtest I get the message
>
> syntax error on line 369 of /etc/httpd/httd.conf
> Cannot add module via name 'mod.php4.c': not in list of loaded modules.
>
>
> I will of course open up the config file and look at it, but I thought
> if someone had come across this problem before they could tell me what
> the fix is.
>
> matt
>
>
>
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>
More information about the talk
mailing list