logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Where do I add PHPIniDir?

 
Post new topic   Reply to topic    Apache Forum Index -> Other Software



View previous topic :: View next topic  
Author Message
kr33



Joined: 19 Sep 2006
Posts: 64
Location: South Africa

PostPosted: Tue 19 Sep '06 13:59    Post subject: Where do I add PHPIniDir? Reply with quote

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: 6638
Location: Germany, Next to Hamburg

PostPosted: Tue 19 Sep '06 14:17    Post subject: Reply with quote

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


Post new topic   Reply to topic    Apache Forum Index -> Other Software
Page 1 of 1