php installation

These are things to verify when the installation of PHP is done in a Windows server using Apache.

  • Apache configuration : httpd.conf
  • Verify the following lines are in IfModule dir_module
    DirectoryIndex index.html index.php

    Verify the following exists, usually these lines are added when php is installed

    PHPIniDir “C:\\PHP\\”
    LoadModule php5_module “C:\\PHP\\php5apache2_2.dll”

  • mime.types
  • Verify that the php extension was added
    application/x-httpd-php php
    application/x-httpd-php-source phps
    application/x-httpd-php php
    application/x-httpd-php-source phps

    Leave a Comment