note 23012 added to install.apache

From: Date: Sat, 06 Jul 2002 18:00:35 +0000
Subject: note 23012 added to install.apache
Groups: php.notes 
Request: Send a blank email to php-notes+get-32686@lists.php.net to get a copy of this message
Apache version 2.0.39 PHP version 4.2.1 Win32 platform Section "CRAP": as a new commer to this world, i frequently need help, so i read the stuff ppl have added here, BUT, always there is ONE mistake, i start from the TOP, reading one by one, waisting my time, WHILE, finally i find what i want! guess where! ALMOST THE BOTTOM! so just an experience, START READING THESE PAGES FROM THE BOTTOM! so i am adding my text to the END! Section "Usefull": i am adding these 3 for u http://FReemIRC.com/miki/php4apache2.dll http://Rafigh.com/miki/php4apache2.dll http://IRan4You.com/miki/php4apache2.dll Download and replace it, with the existing one in your "x:\php\sapi" AFTER THAT change/add these lines to htppd.conf LoadModule php4_module x:\php\sapi\php4apache2.dll AddType application/x-httpd-php .php but where? -just scrolling through the file, at just about the begining of it, U will se many lines that start with LoadModule and #LoadModule just after all that, add the 2 lines. DO NOT simply copy and paste the lines, there are changes to be made. 1st line: the drive letter and the folder name, "x:\php", change the drive letter and the folder name to the drive letter and folder name which u have unzipped/installed PHP to. If you didnt copy-paste it there, dont forget, the file name is "php4apache2.dll" WITH A 2! 2nd line: at the end of the line you will see ".php", right? thats the extensions u like to be regarded as PHP!! U can add more file extensions there, lets say ".php3", ".phtml". all what you need is to put a space between them like this: AddType application/x-httpd-php .php .phtml .php3 Best of luck -if someday the links are not needed please somebody remind me! :P -- http://www.php.net/manual/en/install.apache.php http://master.php.net/manage/user-notes.php?action=edit+23012 http://master.php.net/manage/user-notes.php?action=delete+23012 http://master.php.net/manage/user-notes.php?action=reject+23012

« previous php.notes (#32686) next »