| 
	
 | 
 Posted by Andy Hassall on 06/15/50 11:32 
On Sat, 19 Nov 2005 23:16:37 -0000, "Samuel" <samuel@fssc.freeserve.co.uk> 
wrote: 
 
>Can someone please help me install php on apache? 
> 
>I downloaded the latest stable msi installer. Left it with default options  
>unless i specifically needed to change them (e.g. server). Then I went to  
>configue my httpd.conf file, and I realised I don't know where to put the  
>lines of code. 
> 
>Can someone please say where I need to insert: 
> 
>1)  ScriptAlias /php/ "c:/php/" 
> 
>2) AddType application/x-httpd-php .php3)  Action application/x-httpd-php  
>"/php/php-cgi.exe"Thanks.  
 
 "php3" indicates you may have got this information from a very old source, and 
are you sure you want to be installing as CGI when installing as an Apache 
module is available? Running as a module is typically faster, and a more 
"normal" configuration - there's situations where CGI may be more appropriate 
but they're not all that common. 
 
 http://www.php.net/manual/en/install.windows.manual.php 
 http://www.php.net/manual/en/install.windows.apache2.php  
 
 ... have up to date information. 
 
 I would forget using the ".exe" PHP installer and always use the ".zip" 
version, as this comes with a number of useful extension DLLs that the 
installer doesn't. 
 
 The installer is also supposed to set up your webserver for you, IIRC; if it 
hasn't actually done that, then the .zip version should be no harder to 
install. 
--  
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk 
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
 
  
Navigation:
[Reply to this message] 
 |