Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi All,
I'm a big newbie with all this, and I'm trying to install PHP 5.2 under Apache 1.3, my OS is Win XP. I first installed Apache and it is working fine. Please go through the following steps / file fragments and tell me where I'm going wrong in installing PHP.
1- I unzipped the PHP files to C:/Programming/PHP, and also copied the dll's to the system32 directory.
2- I copied the php.ini-dist file to the windows directory (renamed as php.ini) and added the following to it -Code: Select all
doc_root = "C:/Programming/Apache Group/Apache/htdocs"
extension_dir = "C:/Programming/PHP/ext"3- Then I added the following lines to the httpd.conf file -
Code: Select all
LoadModule php5_module "C:/Programming/PHP/php5apache.dll"
Addmodule mod_php5.c
AddType application/x-httpd-php .php
Action application/x-httpd-php "php/php.exe"But over here on DevNetwork when I was looking at similar queries by others, I did not see any action line added in their httpd files. Is that because they're using Apache 2?
Please tell me where I'm going wrong, I'm quite frustrated by now. Thanks a lot in advance.
Best,
Attraxion.
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]