Click to See Complete Forum and Search --> : Portable OSS Win32 Development: php.ini


lordlobo
02-06-2001, 07:26 AM
Is it possible to put php.ini in the php directory instead of %SYSTEM_ROOT% ?

aka c:\windows or c:\winnt?

What I'd like to do is create a 'portable' Open Source/Apache/Win32 development environment

Like:

c:\oss\apache
c:\oss\php
c:\oss\perl
c:\oss\vim

So all I have to do is move the oss folder and change a couple lines in the configs without having to worry about any other files floating around.

Anon
02-07-2001, 06:51 AM
That's where I've always kept it. Right next to the php.exe. That also lets you keep more than one instance of Apache at a time pointing to different instances of PHP.