Walter Faleiro wrote:
> Hi,
> Currently I am trying to configure a software that displays license usage
> for various tools. My base OS is FC4, which had httpd2.0 installed.
> While trying to check for php capabilities a link
>http://localhost/test.phpshowed me the php configuration. Of course
> the file
> test.php had the relevant info on what to display. I redid a install with
> source for Apache, PHP, Mysql. But now when I try to check
>http://localhost/test.php, its showing me the contents of the file,
> instead
> of the php configuration.
> Can someone assist me in what changes I need to do to Apache to get it
> running.
Go through the httpd.conf .. It should be located in /etc/apache or
/etc/apache2
Make sure the following lines are there somewhere: (PHP5)
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php .phtml
Path to modules and module may vary according to your distro.
Cheers
Robert
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!