Date: Wed, 31 Oct 2012 13:22:15 -0400 From: Michael Powell <nightrecon@hotmail.com> To: freebsd-questions@freebsd.org Subject: Re: Famp Server Message-ID: <k6rmnq$hlh$1@ger.gmane.org> References: <20121030152853.ff5d52a4.freebsd@edvax.de> <248249977.5322317.1351609517371.JavaMail.root@cds005.dcs.int.inet> <1351678532.27612.YahooMailNeo@web162305.mail.bf1.yahoo.com>
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 > > http://www.iceflatline.com/2011/11/how-to-install-apache-mysql-php-and- phpmyadmin-on-freebsd/ > check this tutorial which i used to configure the famp on my server > [snip] 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/libphp5.so -Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?k6rmnq$hlh$1>