How to install Apache w/ PHP when "yum install httpd php" fails?

Steven Stern subscribed-lists at sterndata.com
Mon Sep 28 19:24:48 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?


- -- 

  Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkrBDYAACgkQeERILVgMyvARIwCeNCpab12lUujqiC5nbz5E0R0e
snsAnA+z4ecfl0zxXtgDOXzXeoSeprIg
=V5zl
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list