How to install Apache w/ PHP when "yum install httpd php" fails?
subscribed-lists at sterndata.com
Mon Sep 28 19:24:48 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
On 09/28/2009 02:12 PM, Kelly Jones wrote:
> I did "yum install httpd php" to install Apache w/ PHP, and created a
> test page with "<?php phpinfo(); ?>". When I visit it and view source,
> I get back "<?php phpinfo(); ?>" instead of my PHP config.
> /etc/httpd/conf/httpd.conf says nothing about PHP, so I suspect I did
> the install wrong.
> How do I enable PHP support in Apache?
Did you name the page with the extension .php?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the users