Page 1 of 1

Trouble getting PHP-4.3.2 working in SuSE 7.2

Posted: Thu Jul 10, 2003 5:33 pm
by mskinner67
I am not having any luck whatsoever with getting PHP-4.3.2 to work correctly in SuSE 7.2 Professional. I have Apache and MySQL-4.0.13 running just fine. After installing PHP and making the test file, I do the phpinfo thing in my browser and the download file window pops up. I've been through my httpd.conf thoroughly and it shows that PHP4 is installed (just like the book shows), but I just can't get it to work. I am new to PHP so I am probably just missing something. Any help or ideas would be appreciated.

Posted: Thu Jul 10, 2003 6:21 pm
by redhair
Are these lines also in your httpd.conf:

AddType application/x-httpd-php .phtml .php
AddType application/x-httpd-php4 .phtml .php4

This is what I have in httpd.conf

Posted: Thu Jul 10, 2003 9:28 pm
by mskinner67
I have these lines in httpd.conf. Are they not correct?

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

This is what the book I'm reading and installation instructions said to make sure are in there, but i'm open to anything. Thanks redhair for the input.