Here is the Script that I tried to run...

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<p>This is an HTML line test
<p>
<?php
   echo "This is a PHP Line";
   phpinfo();
?>
</body>
<html>


All I get in response is the first line "This is an HTML line test".  I'm
running this from the
the address line in my browser...  file:/var/www/html/test.php

Any clue??

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Larry Brown
Sent: Saturday, March 01, 2003 11:51 PM
To: [EMAIL PROTECTED]
Subject: RE: Starting PHP


No, as long as you are running that folder under apache the file should be
parsed by php out of the box RH8.  What is the test php doing.  Try
something simple like <?php echo "hello"; ?>
This should show that php is working.  From there you can move to the next
step to make sure you have connectivity with mysql.

Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Ralph Tucker
Sent: Sunday, March 02, 2003 12:38 AM
To: [EMAIL PROTECTED]
Subject: Starting PHP

I have recently installed RedHat 8.0 and have verified that MySQL is
working, but the test script that I put together does not show PHP working.
I see PHP out there from the command prompt and can run to find version
info, etc. The config file in /etc/httpd/conf seems correct.  Is there
something that I need to do out of the box to make it see my test.php file?

Thanks for you help!
A PHP newbie...




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




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





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

Reply via email to