note 89232 added to install.windows.installer.msi

From: Date: Fri, 27 Feb 2009 07:06:20 +0000
Subject: note 89232 added to install.windows.installer.msi
Groups: php.notes 
Request: Send a blank email to php-notes+get-151196@lists.php.net to get a copy of this message
There are 2 problems with the Windows installer when it writes to httpd.conf: #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "C:/PHP/" LoadModule php5_module "C:/PHP/php5apache2.dll" #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL First, it fails to put this line in: AddType application/x-httpd-php .php Second, this line is wrong: LoadModule php5_module "C:/PHP/php5apache2.dll" The name of the module is: LoadModule php5_module "C:/PHP/php5apache2_2.dll" The PHP portion of httpd.conf should look like this: <code> #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "C:/PHP/" LoadModule php5_module "C:/PHP/php5apache2_2.dll" <--- filename AddType application/x-httpd-php .php <--- add this line #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL </code> There is a tutorial on www.kobashicomputing.com/how-to-setup-a-wamp-development-environment in how to setup a WAMP environment. That should explain things in more detail and save someone some time. ---- Server IP: 69.147.83.197 Probable Submitter: 98.234.213.189 ---- Manual Page -- http://www.php.net/manual/en/install.windows.installer.msi.php Edit -- https://master.php.net/note/edit/89232 Del: integrated -- https://master.php.net/note/delete/89232/integrated Del: useless -- https://master.php.net/note/delete/89232/useless Del: bad code -- https://master.php.net/note/delete/89232/bad+code Del: spam -- https://master.php.net/note/delete/89232/spam Del: non-english -- https://master.php.net/note/delete/89232/non-english Del: in docs -- https://master.php.net/note/delete/89232/in+docs Del: other reasons-- https://master.php.net/note/delete/89232 Reject -- https://master.php.net/note/reject/89232 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#151196) next »