[nycphp-talk] Installing PHP on Mac OS X Server
CHUN-YIU LAM
chun_lam at hotmail.com
Fri Jan 10 00:36:18 EST 2003
I answer this one before. I think you need to put
AddModule mod_php4.c
to the AddModule section on httpd.conf
----Original Message Follows----
From: Matthew Zimmerman <mz34 at nyu.edu>
Reply-To: talk at nyphp.org
To: NYPHP Talk <talk at nyphp.org>
Subject: Re: [nycphp-talk] Installing PHP on Mac OS X Server
Date: Tue, 7 Jan 2003 17:14:17 -0500
Received: from mc3-f13.law16.hotmail.com ([65.54.236.148]) by
mc3-s3.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 7 Jan
2003 14:17:47 -0800
Received: from parsec.nyphp.org ([66.250.131.26]) by
mc3-f13.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 7 Jan
2003 14:17:19 -0800
Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by
parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id h07MEHSt023399;Tue, 7 Jan
2003 17:14:17 -0500 (EST)(envelope-from listmaster at nyphp.org)
Message-Id: <200301072214.h07MEHSt023399 at parsec.nyphp.org>
X-Paralist-Archived: <http://nyphp.org/list/paralist_archive.php?L_mid=2170>
X-List-Software: Paralist 0.6
List-ID: <nyphptalk.nyphp.org>
List-Owner: <mailto:listmaster at nyphp.org>
List-Archive: <http://nyphp.org/list/paralist_archive.php?L_lid=1>
List-Subscribe: <http://nyphp.org/list/>
List-Unsubscribe: <http://nyphp.org/list/>
Organization: New York PHP
X-Mailer: Paramail 0.5
Return-Path: listmaster at nyphp.org
X-OriginalArrivalTime: 07 Jan 2003 22:17:19.0681 (UTC)
FILETIME=[8B396B10:01C2B69A]
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
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>
>
>
MZ
_________________
Matthew Zimmerman
Humanities Computing Group, NYU
Tel: 212.998.3038
Fax: 212.995.4120
--- Unsubscribe at http://nyphp.org/list/ ---
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
More information about the talk
mailing list