background preloader

FreeBSD

Facebook Twitter

Nginx

Installing PHP 5 on FreeBSD for Apache and MySQL. A tutorial on installing PHP from the FreeBSD ports for Apache and MySQL.

Installing PHP 5 on FreeBSD for Apache and MySQL

What you need to add to the httpd.conf file and which of the PHP5 ports to choose. Choosing which port to use In the past there were several ports for PHP such as /www/mod-php5, /lang/php5-cli, and /lang/php5. Since the release of PHP 5.1.14 there is now only /lang/php5 This port now allows you to choose if you want to install the CLI, CGI, and Apache module.