Re: php install on mac os x
| From: | Chris Hewitt | Date: | Thu, 12 Aug 2004 21:01:15 +0000 |
| Subject: | Re: php install on mac os x | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-14102@lists.php.net to get a copy of this message | ||
On Thu, 2004-08-12 at 20:34, Allyson wrote:
> We are using OS X 10.3.5 and are attempting to set it up to work with
> PHP. We tried the install from Entropy and it says it installed
> correctly. We then edited the httpd.conf of Apache and added:
>
> LoadModule php4_module
> AddModule mod_php4.c
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
>
> I then tried accessing a page containing phpinfo(), but I still get
> the message that Mac doesn't know what to do with this file type.
>
> Does anyone have any suggestions.
>
>
> In kindness,
> Allyson
Allyson,
The loadmodule line needs to be told where the module is. e.g.:
LoadModule php4_module modules/libphp4.so
Hope this helps
Regards
Chris
PS Don't forget to restart the webserver.