[PLUG] php issue

abhi abhi.elementx at gmail.com
Fri Jun 19 21:09:59 IST 2009

Hello all.
I am able to run the apache server. Actually when i had installed Netbeans,
apache was also installed.
PHP is also installed becoz when  do this:
*>[Demon at localhost ~]$ php -v*

It gives this :

*>PHP 5.2.6 (cli) (built: Sep 13 2008 11:13:29)
>Copyright (c) 1997-2008 The PHP Group
>Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies*

I edited the etc/httpd/conf/httpd.conf file by adding this:

*LoadModule php4_module modules/libphp4.so
LoadModule php5_module modules/libphp5.so

*Next i was told to tell the apache server about the way it should handle
the php file by adding this:

      <FilesMatch \.php$>
          SetHandler application/x-httpd-php

But I dont know where do i add this(which file in the apache installation
Surely it must be an xml file, but which and where?

Thank you.

To laugh often and much; to win the respect of intelligent people and the
affection of children; to earn the appreciation of honest critics and endure
the betrayal of false friends; to appreciate beauty, to find the best in
others; to leave the world a little better; whether by a healthy child, a
garden patch of a redeemed social condition; to know that one life has
breathed easier because you have lived. This is the meaning of SUCCESS.
  -Ralph Waldo Emerson

More information about the Plug-mail mailing list