Trouble getting PHP-4.3.2 working in SuSE 7.2

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mskinner67
Forum Newbie
Posts: 2
Joined: Thu Jul 10, 2003 5:33 pm
Location: Nebraska

Trouble getting PHP-4.3.2 working in SuSE 7.2

Post 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.
User avatar
redhair
Forum Contributor
Posts: 300
Joined: Fri May 30, 2003 4:36 pm
Location: 53.23N-6.57E
Contact:

Post by redhair »

Are these lines also in your httpd.conf:

AddType application/x-httpd-php .phtml .php
AddType application/x-httpd-php4 .phtml .php4
mskinner67
Forum Newbie
Posts: 2
Joined: Thu Jul 10, 2003 5:33 pm
Location: Nebraska

This is what I have in httpd.conf

Post 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.
Post Reply