ok. I've seen this before where folks try to use "<?" to mark the beginning of scripts instead of "<?php". Try comparing the /etc/php.ini files between the servers. Apache on RH-7.3 should run PHP scripts out of the box. You can test by creating the following file in your DocRoot:

bash# cat info.php
<?php phpinfo(); ?>

making the file readable/executable by the user Apache runs as, then going to http://www.yourserver.com/info.php

You should get a long page with lots of info.

--Randy



On Wednesday, December 11, 2002, at 10:03 AM, Simon Tompkins wrote:

I don't think it’s a problem with the PHP script files as they work fine
on the Development Server, header as follows


<?php
/*
* $Horde: horde/test.php,v 1.44.2.8 2002/06/10 15:00:22 jan Exp $
*
*/

Cheers

Simon

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Randy Franklin
Sent: 11 December 2002 14:56
To: [EMAIL PROTECTED]
Subject: Re: RH7.3 Apache and PHP


What does the first line of your PHP script files look like?

--Randy


On Wednesday, December 11, 2002, at 09:45 AM, Simon Tompkins wrote:

I am having problems with RH73 running Apache and PHP.  After
upgrading from RH7.1, I installed Apache and PHP rpm's from the RH7.3
CD's and configured appropriately.  Standard HTML pages are working
correctly but PHP pages don't work at all, the browse prompts to save
the file.

I also have tried building/install from source for both Apache2 and
PHP 4.2.3, also installing a newer version of PHP 4.2.2 from rpm,
still no PHP.

Apache Server-Status reports that PHP Support is configured Server
Version: Apache/1.3.23 (Unix) (Red-Hat/Linux) DAV/1.0.3 PHP/4.2.2
mod_perl/1.26 Server Built: Apr 9 2002 14:56:43

Ideas Anyone?

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Simon Tompkins
Senior Computing Officer
Infrastructure Services
University of Lincoln

e: [EMAIL PROTECTED]





--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to