Apache2 and php5

William Siegrist wsiegrist at apple.com
Fri May 2 10:37:22 PDT 2008


On May 2, 2008, at 10:15 AM, Yvon Thoraval wrote:

>
>
> LoadModule php5_module  modules/libphp5.so
>
>
> and between <IfModule mime_module> and </IfModule> :
>
> AddType text/html .php
>
> but when loading my info.php file the browser want to download it  
> instead of viewing it.
>

You might also try SetHandler and/or AddHandler directives

http://httpd.apache.org/docs/2.2/mod/core.html#sethandler

http://httpd.apache.org/docs/2.2/mod/mod_mime.html#addhandler


-Bill




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2421 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080502/1843adc7/smime-0001.bin


More information about the macports-users mailing list