Redhat 7.3 + Apache + PHP 4.2.2. I downloaded the source for PHP 4.2.2
since RedHat 7.3 shipped with 4.2.1, did a ./configure --with-apxs
/usr/sbin/apxs --with-ldap --with-mysql
Made sure /etc/httpd/conf/httpd.conf had all the required info about PHP,
did a /etc/rc.d/initrd/httpd restart
Created a new PHP file in /var/www/html with a .php extention, gave it a
title in the <TITLE> tags, and put some HTML before the <?php tag, and did a
phpinfo(); Here is the source for said file:
<html><head><title>Hello World</title></head>
<body>
<h1>Hey</h1>
<?php
phpinfo();
print ("Hello World!\n");
<?
</body>
</html>
But what I get back in the web browser when I try to view the page is:
<html><body></body></html>
It should at least give me the title and <h1>Hey</h1> HTML back, but
nothing. Any help would be appreciated. Thanks.
Stewart
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php