Entry
I'm running win98se wiith pws4 but some how my session not working, I read one article that ask to install as cgi mode but i dont know how to do that
Oct 31st, 2000 13:19
Gonzalo Molina, Mohd Hanafiah, Self Probe
With Win98se and PWS4.0 is better use PHP has isapi module, and the
steps to install are:
1. DownLoad lastest version of PHP like php-4.0.3pl1-Win32.zip for Win32
of course.
2. Unzip php-4.0.3pl1-Win32.zip in any folder, por example C:\PHP.
3. Copy php4ts.dll and msvcrt.dll in your C:\Windows\System folder.
php4ts.dll is in <root> of your unziping directory and msvcrt.dll is in
<root>\dlls.
4. If you wish to change any defaults, copy either the php.ini-dist or
php.ini-optimized files into your Windows directory, and rename it to
'php.ini'. You can then modify any of the directives inside it. For
session suport you must change the line:
session.save_path = /tmp
for:
session.save_path = "c:\Path\To\Session\Folder"
and if you need any extension you need setup the line:
extension_dir = ./
with
extension_dir = "C:\Path\To\PHP\extensions"
and descoment the extensions has you need. Too you can change the line:
;browscap = extra/browscap.ini
with:
browscap = C:\Path\To\PHP\Path\TO\Browscap\browscap.ini
5. Create and Edit a file PWS-php4.reg file to reflect the location of
your php4isapi.dll. Forward slashes should be escaped, for example:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\S
cript Map]
".php"="C:\\Path\\To\\PHP\\sapi\\php4isapi.dll"
and execute this file.
6. In the PWS Manager, right click on a given directory you want to add
PHP support to, and select Properties. Check the 'Execute' checkbox,
and confirm.
7. And finally restart Windows for all above work it.
Hjagar