Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2012 13:22:15 -0400
From:      Michael Powell <>
Subject:   Re: Famp Server
Message-ID:  <k6rmnq$hlh$>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hamisi Jabe wrote:

> i started installing apache22 and it worked, then i installed mysql it
> worked fine, also when i installed php5 it worked fine too but when i
> browse php file it displays the codes not the information like i created a
> php file to display the current settings <?php echo phpinfo();  ?> in the
> /usr/local/www/apache22/data directory
> i did everything as root
>  check this tutorial which i used to configure the famp on my server

Under the <IfModule mime_module> section in you httpd.conf try adding:

        AddType application/x-httpd-php .php
        AddType application/x-httpd-php-source .phps

and restart Apache. Also double check that the Apache PHP module was 
installed when you built PHP. There will be a line like the following:
LoadModule php5_module        libexec/apache22/


Want to link to this message? Use this URL: <$hlh$1>