php5 +apache2

Bradley Giesbrecht brad at pixilla.com
Wed Feb 4 19:16:10 PST 2009


Brooks, I did not.

Thank you for solving my problem.

//Brad

On Feb 4, 2009, at 6:14 PM, M. Brooks Clark wrote:

> Did you add this line to /opt/local/apache2/conf/httpd.conf
>
> Include conf/extras-conf/mod_php.conf
>
>
>
> Brooks
>
>
>
> On Feb 4, 2009, at 6:52 PM, Bradley Giesbrecht wrote:
>
>> I just installed php5.
>>
>> port -v install php5 _apache2 +imap +pspell +tidy +mysql5 +sqlite  
>> +pear +readline
>>
>> bounce apache2
>>
>> /opt/local/etc/LauchDaemons/org.macports/apache2/apache2.wrapper  
>> restart
>>
>> check for php5 module
>>
>> /opt/local/apache2/bin/apachectl -t -D DUMP_MODULES
>>
>> ends with
>>
>> php5_module (shared)
>> Syntax OK
>>
>>
>> But if I navigate in Safari to localhost/phpinfo.php
>>
>> I get
>>
>> <?php
>> phpinfo();
>> ?>
>>
>> rather then php interpreted output.
>>
>> Looking in /opt/local/apache2/conf/httpd.conf I see where the php  
>> module has been added.
>>
>>
>> Any ideas what to look at next?
>>
>> //Brad
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090204/7580f603/attachment.html>


More information about the macports-users mailing list