PHP File Modification
- Copy php4ts.dll from C:\php to C:\Windows\System32
- Edit php.ini in a text editor, as shown in the next few lines
- Find the line extension_dir = ./
- Amend to extension_dir = “C:\php”
- Find line doc_root = ./
- Amend line to doc_root = “C:\Program Files\Apache Group\Apache2\htdocs”
- Find line session.save_path = ./tmp
- Amend line to session.save_path = “C:\tmp”
- Make sure that the folder “C:\tmp” exists, or use another folder in the php.ini file.
-
Open httpd.conf in text editor
-
Look for lines beginning LoadModule
-
Add these linesLoadModule php4_module “C:/php/sapi/php4apache2.dll”
AddType application/x-httpd-php .php



