Page 1 of 1

php install/config question

Posted: Fri Apr 02, 2004 12:43 pm
by hoss55070
ok - first off, if I should be posting this somewhere else, let me know.

Here is my setup:

Red Hat 9
Apache 2.0.49 compiled from bins with the --prefix=/usr/local/apache2 and --enable-so option

PHP 4.3.5 compiled with the --prefix=/usr/local/apache2/php --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/php options

The LoadModule line was added to httpd.conf file automatically. I copied the php.ini-recommended file to /usr/local/apache2/php/php.in and made no changes. I added

AddType appliccation/-x-httpd-php .php .php4

and

AddType application/-x-httpd-php-source .phps

to my httpd.conf file

I start apache and php does not work. Am I missing something. Should I be doing something else. If I install from the RedHat RPM's, it works fine, but when I compile from bin's, it no worky worky. help!

Posted: Fri Apr 02, 2004 12:46 pm
by markl999
"I start apache and php does not work."

How doesn't it work? Do you get a blank page, see the plain html code or get a download prompt?

Posted: Fri Apr 02, 2004 12:57 pm
by hoss55070
I get download page if I access if from my XP box with IE6. I f I access it from Linux with moz, I see html code