You are here: Re[2]: [PHP] Ugh, w32 anything is making me want to drink! « PHP « IT news, forums, messages
Re[2]: [PHP] Ugh, w32 anything is making me want to drink!

Posted by Leif Gregory on 10/23/05 07:13

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация