[nycphp-talk] Installing PHP on Mac OS X Server
Matthew Zimmerman
mz34 at nyu.edu
Tue Jan 7 17:14:09 EST 2003
Yeah, I figure that too Bradely.
I replace the httpd.conf with the backup config file and stared from
scratch again, three times, and I keep getting the same error.
Like I said, I also go to Marc's site a lot and do the same exact thing
and it always works so I cant' for life figure out what I did wrong.
This is my first time doing it on OS X server though. I have just done
it on OS X before. I know OS X server ships with PHP installed, but I
wanted the full version.
Matt
On Tuesday, January 7, 2003, at 04:51 PM, Bradley Baumann wrote:
> 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/ ---
>
>
>
MZ
_________________
Matthew Zimmerman
Humanities Computing Group, NYU
Tel: 212.998.3038
Fax: 212.995.4120
More information about the talk
mailing list