The problems is the when install php every thing runs sweet but then, when i go to run a basic hello world program. it will just bring up the file as a basic txt with all tags show and not working. It like it is not even pointing to the PHP and is just opening it as a normal file any ideas on how to fix this.
Here is a description of more setup
Linux server
MySQL
SSl
PHP4
Here is the location of the directories that i think are important
php = /tmp/php-4.0.2
mysql = /usr/local/mysql/
linux = /usr/src/linux-2.2.6
Apache = /usr/src/apache_1.3.12
Apache = /usr/src/apacheSSL/
http.conf = /www/conf
home dir = /www/htdocs/
virtual dir = /www/virtual/
This is the steps i go through to try and get things going:
/configure --with-apxs=/www/bin/apxs (this is where i found the apxs file)
--with-config-file-path=/usr/local/etc/httpd(not really sure if is meant to go here but the directory does exsist)
--with-mysql
--with-system-regex
(then)
make
su
make install
cp php.ini-dist /usr/local/etc/httpd/php.ini
/usr/local/apache/bin/apachectl stop
/usr/local/apache/bin/apachectl start
This is the little hello world program saved as tester.php
<head>
<title>My First PHP Page</title>
</head>
<body bgcolor=#ffffff>
<? echo "Hello World"; ?>
</body>
As you can see from this detail description i have put alot of time in this that is because it's a rpoblem i can't seem to solve, so i have given you all the facts in the hope that you can help