RE: Making PHP with with apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would check to see if php.conf exists in /etc/httpd/conf.d.  If it does,
then make sure your httpd.conf file is set to load the config files from
that directory.  It it does, put the following into a file called
phpinfo.php in /var/www/html.

<?php

phpinfo();

?>

Then open a web browser and enter in http://localhost/phpinfo.php.  You
should get a webpage that displays all the info about the php version you
are running.

Jay Berryman
Systems Engineer, RHCT
 

This message and any attachments are intended only for the use of the
addressee and may contain information that is privileged and confidential.
If the reader of the message is not the intended recipient, or the
authorized agent of the intended recipient, you are hereby notified that any
dissemination of this communication is strictly prohibited.  If you have
received this communication in error, please notify SITEL immediately by
telephone at 402.963.6001 and delete the message and any attachments from
your system.  Thank you for your cooperation

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]
On Behalf Of Richard Hobbs
Sent: Thursday, September 09, 2004 11:32 AM
To: 'General Red Hat Linux discussion list'
Subject: Making PHP with with apache

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@xxxxxxxxxxxxxxxxx
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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux