PHP Installation

In continuation to my initial PHP hiccups (personal notes)…There is an excellent tutorial available to install Apache, MySQL, PHP, PHPmyadmin and Zend which provides clear guidelines for installing and integrating these platforms with each other. It is available at Learn to install Apache, MySQL, PHP, phpMyAdmin & Zend Optimizer. Although it is a bit older but still quite helpful.

 

One confusion while installing PHP appears as which extensions need to be selected while installing PHP. Following are the ones which I select as a beginner user –

  • IMAP
  • MBString
  • MySql

 

After installing PHP, you need to configure httpd.conf file of Apache in order to incorporate PHP. Here are the few useful lines to be added –

 

Allow from 127.0.0.1 inside Directory tag

DirectoryIndex index.html index.php inside IfModule dir_module tag

#ScriptAlias /php/ "c:/server/PHP/"
AddType application/x-httpd-php .php
#Action application/x-httpd-php "/php/php.exe"

 

Configure php.ini file properly and enable the selected extensions.

Leave a Reply

Your email address will not be published. Required fields are marked *