AddType Activation in PHP (Linux)

From: Date: Tue, 29 Jan 2002 00:32:01 +0000
Subject: AddType Activation in PHP (Linux)
Groups: php.install 
Request: Send a blank email to php-install+get-5801@lists.php.net to get a copy of this message
[AMD 800 Duron, 256M, Linux-MAndrake 8.0, Apache 1.3.19 (LM/3mdk), PHP 4.1.1, Netscape 4.77] I've been struggling with the PHP module, trying to get it to work. I've followed PHP tutorial instructions, but the Apache module doesn't seem to recognize PHP. I ran the test.php ("<? phpinfo() ; ?>) and I just see the same text that I just wrote. In the docs, they mention that I should add "AddType application/x-http-php .php" in the http.conf. I'm not exactly sure where I should add this: I've placed it after the "include" statement in the "Global Configuration". Problem is: in the Mime.types it doesn't show up (nor for that fact in Netscape's navigator>applications. I can't get the "AddType" to work, so of course, PHP is non-functional in any test. I've d/l the newest stable version of PHP, followed all the instructions (with/without, in various combinations, the following: Mysql, Postgresql, Apache. PHP) Now, I'm trying the bare-bones approach: only Apache and PHP - installing PHP 1st, then Apache first from LM8.0.  Nothing seems to work. I do get the Apache splash screen. This is becoming an obsession -- it's almost like my attempts with HylaFax! If there are any ideas on how to get PHP up-and-running, I'd greatly appreciate them. I can't develop my new web-site until I get PHP functional. Perhaps someone could send me a copy of a working httpd.conf and php.ini files, so I could maybe see what I've messed up. Sorry to be so long-winded, but this is . . .  sigh! Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the suffering souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/

« previous php.install (#5801) next »