Forum Home
Press F1
 
Thread ID: 51942 2004-12-04 04:38:00 PHP 4.3.9 missing installing help JimboJones (1680) Press F1
Post ID Timestamp Content User
299633 2004-12-04 04:38:00 PHP 4.3.9 setup doesn't configure httpd.conf. So I have to do it my self, problem is that I don't have the sapi directory with the dlls.

Thanks
JimboJones (1680)
299634 2004-12-06 08:55:00 Hey Jimbo,

My tutorial on my other site vanished but here's the best way to install PHP 4.3.9 for Windows I hope.

The PHP one you should download is php-4.3.9-Win32.zip which is about 6.8MB.

Get that one, all that's involved is extracting it, renaming the folder to php copy php4ts.dll to your apache's bin directory, you'll find this file in the root drive (PHP) then copy php4apache2.dll to apache's module directory, this file should be found at php/sapi, now make a path to php/dlls folder, better than just dumping them in windows/system32 folder like other tutorials suggest, quite pathetic actually.

Rename php.ini-recommended to php.ini and leave it in your root drive of PHP, now edit httpd.conf and add these lines

LoadModule php4_module modules/php4apache2.dll
PHPIniDir "C:/php" (change to actual location)
DirectoryIndex index.php (just add it to the list already there)
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Make sure to go through your php.ini and set it up correctly, then restart Apache.

Well that's the jist of it.


Kame
Kame (312)
299635 2004-12-06 21:08:00 Thanks for your help kame.


Tim
JimboJones (1680)
1