Datasheet

P1: KTX
WY027-01 WY027-Mercer WY027-v2.cls June 5, 2004 0:44
Chapter 1
Figure 1-14
Now, the directory you created (such as PHPRC01) contains several subdirectories, and a few text les. It
also contains a program le called php.exe, which you wont actually be using, and a library le called
php5ts.dll (in the dev folder). Copy this .dll to your D:\WINNT\System32 directory (using the
correct drive letter for your machine). Now copy the rest of the .dll les from here to your
D:\WINNT\System32 directory as well. If Windows complains that youve already got a le by one or
other of these names, then keep your old onedont overwrite it with the newly downloaded les.
If you prefer not to copy all your.dlls into your System32 directory and you are installing PHP as an
SAPI (like this book does), you may create another folder for them and make a change to your PATH
environment variable so that they can be found. (A PATH environment variable contains a list of
directoriespathsin which Windows will look for things, such as your .dlls. If, for example, you
have a C:\php5\dlls directory, youd add the string C:\php5\dlls to your variable, and then anything
in that folder could be used by your Windows environment. To set the variable, select Start
Control
Panel
System Advanced Environment Variables, and locate and set the PATH variable.)
php.ini and Extensions
As mentioned earlier, the php.ini le contains instructions to PHP such that, when it is running, certain
conguration settings are in place and certain extensions to PHP are running. Conguration settings are
22