1. Skip to Menu
  2. Skip to Content
  3. Skip to Footer>
Friday Jul 30th     12:45 PM PDT                                  

Installing PHP

Written by Greg King Saturday, 04 July 2009 17:44

PHP stands for Pre-Hypertext-Processor.  It is a fantastic application that makes the web a much better place (albiet at a price).  We are installing it here because we will need it for the other articles and because you should have it in any regard!


 Installing PHP5


 

The documentation is short, but it takes a little while to compile. It is generally ok to accept the defaults on the pop-up screens, but keep an eye out for the mysql option.  It should detect it and install by default, but you never know.  We need the mysql stuff internal to php!  We will verify that later in case you missed it when it asked during the installation.

 

# cd /usr/ports/lang/php5

# make install clean

# cd /usr/ports/lang/php5-extensions

# make install clean

# cp -p /usr/local/etc/php.ini-recommended /usr/local/etc/php.ini

 
eXTReMe Tracker
Content View Hits : 22286