note 81318 added to install.windows.apache2

From: Date: Fri, 22 Feb 2008 11:22:49 +0000
Subject: note 81318 added to install.windows.apache2
Groups: php.notes 
Request: Send a blank email to php-notes+get-136395@lists.php.net to get a copy of this message
Please completely ignore the page contents, it's stale garbage and will just lead to trouble. Here is how to do it the right way: Do not copy any php files anywhere Do not edit the system path And absolutely do not use the provided cgi directives. Here is the proper apache directives to load php, preferbly saved as php.conf and included from your main config. #load the php main library to avoid dll hell Loadfile "C:\pathtophp\php5ts.dll" #load the sapi so that apache can use php LoadModule php5_module "C:\pathtophp\php5apache2_2.dll" #set the php.ini location so that you don't have to waste time guessing where it is PHPIniDir "C:\pathtophp" #Hook the php file extensions, notice that Addtype is NOT USED, since that's just stupid AddHandler application/x-httpd-php .php AddHandler application/x-httpd-php-source .phps ---- Server IP: 212.63.193.10 Probable Submitter: 62.20.210.130 ---- Manual Page -- http://www.php.net/manual/en/install.windows.apache2.php Edit -- https://master.php.net/note/edit/81318 Del: integrated -- https://master.php.net/note/delete/81318/integrated Del: useless -- https://master.php.net/note/delete/81318/useless Del: bad code -- https://master.php.net/note/delete/81318/bad+code Del: spam -- https://master.php.net/note/delete/81318/spam Del: non-english -- https://master.php.net/note/delete/81318/non-english Del: in docs -- https://master.php.net/note/delete/81318/in+docs Del: other reasons-- https://master.php.net/note/delete/81318 Reject -- https://master.php.net/note/reject/81318 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136395) next »