Re[2]: Ugh, w32 anything is making me want to drink!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Richard,

Saturday, October 22, 2005, 6:37:14 PM, you wrote:
> Otherwise, it's compiled into the DLL and you are stuck.

> A Windoze "shortcut" WILL NOT WORK

One of the easiest ways to ensure you're using the php.ini file you
want is to create the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath

I usually stick my php.ini in my php folder because I ensure that I
(my user account) has sufficient rights to modify anything in the php
folder whereas the server admin wouldn't give my user account rights
to modify files in the Windows folder.

You can read more here:

http://docs.php.net/en/configuration.html#configuration.file

In addition to setting the directives in the php.ini file for your
extensions folder, I'd also add it to your Windows Path.

You can do that by:

Right-click My Computer

Choose properties

Advanced tab

Click the Environment Variables button

Under System variables, edit the Path

At the end of the path line, add a semi-colon (if there isn't one)

Then type in the full path to your extensions folder i.e.
C:\PHP\ext

Click, Ok, then Ok, then Ok.

Restart your webserver, run phpinfo() and make sure that the ini path
is the one you specified.

Just FYI, you might add the main php folder to your path as well
because some of the .dlls you want might be in that folder
libeay32.dll for instance.



-- 
                          TBUDL/BETA/DEV/TECH Lists Moderator / PGP 0x6C0AB16B
 __    ____  ____  ____   Geocaching:                    http://gps.PCWize.com
(  )  ( ___)(_  _)( ___)  TBUDP Wiki Site:  http://www.PCWize.com/thebat/tbudp
 )(__  )__)  _)(_  )__)   Roguemoticons & Smileys:    http://PCWize.com/thebat
(____)(____)(____)(__)    PHP Tutorials and snippets:    http://www.DevTek.org

What's the difference between ignorance and apathy?
I don't know and I don't care.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux