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

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.



Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Where do I add PHPIniDir?
Author
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: 6661
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


Reply to topic   Topic: Where do I add PHPIniDir? View previous topic :: View next topic
Post new topic   Forum Index -> Other Software