[PLUG] php issue

Meghanand Acharekar vasco.debian at gmail.com
Mon Jun 22 13:32:58 IST 2009


2009/6/22 abhi <abhi.elementx at gmail.com>

> hi. I've added these lines in my /etc/httpd/conf/httpd.conf file:
>
> *LoadModule php5_module etc/httpd/modules/libphp5.so
> AddHandler application/x-httpd-php .php*
>

Make sure that Shared object i.e.  /etc/httpd/modules/libphp5.so exists.
Have you restarted Apache server after making changes in httpd.conf file ?
Ref. http://in.php.net/manual/en/install.unix.apache2.php
This may  help you.


> And I also added this in my /home/Demon/apache-tomcat-6.0.18/conf/web.xml
> file:
>
> *<mime-mapping>
>        <extension>php</extension>
>        <mime-type>application/x-httpd-php .php</mime-type>
>    </mime-mapping>*
>
> When  i try to run the hello.php file, FF gives me a dialog box saying :
>
> hello.php is a php file
> from http://localhost : 8080
> What should FF do with this file:
>  open with..
>  save file...
>
> What should i do? 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
> _______________________________________
> Pune GNU/Linux Users Group Mailing List
>



-- 
Regards,
मेघानंद नं. आचरेकर
Meghanand N. Acharekar
" A proud Linux User "
Reg Linux User  #397975
------------------------------------------
I was born free! No Gates and Windows can restrict my Freedom !!!



More information about the Plug-mail mailing list