| 
 
 
 | 
| Keep Server Online 
 If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
 
 or
 
 
   
 A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
 
 Thank You! Steffen
 
 Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
 |  | 
 | 
| | 
| | 
|  Topic: Where do I add PHPIniDir? |  |  
| Author |  |  
| kr33 
 
  
 Joined: 19 Sep 2006
 Posts: 64
 Location: South Africa
 
 | 
|  Posted: Tue 19 Sep '06 13:59    Post subject: Where do I add PHPIniDir? |   |  
| 
 |  
| Hi 
 This may be a dumb question but where do I configure the path to php.ini?
 
 Do I go to System properties->Advanced->Environment Variables->User Variables
 
 and add a new variable with the following :
 
 
 Variable Name : PHPIniDir
Variable Value : c:/php
 
 
 Please clear this confusion up for me...ANYONE!
 
 Thanks
 
 
  	  | Quote: |  	  | Every man has to go through hell...to reach his paradise | 
 |  |  
| Back to top |  |  
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Tue 19 Sep '06 14:17    Post subject: |   |  
| 
 |  
| You can set that in httpd.conf next to the php definition 
 e.g.
 
  	  | Code: |  	  | PHPIniDir "C:/php"
 LoadFile "C:/php/php5ts.dll"
 LoadModule php5_module "C:/php/php5apache2.dll"
 AddType application/x-httpd-php .php
 
 | 
 |  |  
| Back to top |  |  
 
 | 
 |  | 
 |  |