Making PHP with with apache

Margaret Doll Margaret_Doll at Brown.edu
Thu Sep 9 17:08:54 UTC 2004


I just had this problem today.  I fixed it by adding

# Load config files from the config directory "/etc/httpd/conf.d".
#
Include conf.d/*.conf

to /etc/httpd/conf/httpd.conf.  conf.d includes the configuration file 
for php.

On Thursday, September 9, 2004, at 12:31 PM, Richard Hobbs wrote:

> Hello,
>
> I recently installed a RH8 machine from the original RH8 CDs. I then 
> ran
> up2date to get the latest kernel and latest available apache 
> (2.something).
>
> I then manually download php through thr RedHat Network, and installed 
> it
> using 'rpm -Uhv php-4.2.2-8.0.8.i386.rpm'.
>
> I then created a simple php web page in a random directory in 
> /var/www/html
> (which is the DocumentRoot), but the php script is not working. There 
> are no
> error messages, but the php commands are just doing nothing. Basically,
> apache doesn't know what PHP is yet.
>
> Does anyone know how I can configure this?
>
> Thanks a lot in advance,
> Hobbs.
>
> -- 
> Richard Hobbs (Systems Administrator)
> Toshiba Research Europe Ltd. - Speech Technology Group
> Web: http://www.toshiba-europe.com/research/
> Email: richard.hobbs at crl.toshiba.co.uk
> Tel: +44 1223 376964        Mobile: +44 7811 803377
>
>
>
> _____________________________________________________________________
> This e-mail has been scanned for viruses by MCI's Internet Managed 
> Scanning Services - powered by MessageLabs. For further information 
> visit http://www.mci.com
>
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>





More information about the redhat-list mailing list