Reply to Another Newbie - Error Installing PHP 5.2 with Apache 1.3

Your name:

Reply:


Posted by attraxion on 01/02/07 03:58

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 -
doc_root = "C:/Programming/Apache Group/Apache/htdocs"
extension_dir = "C:/Programming/PHP/ext"

Also I turned on extensions for various things.

3- Then I added the following lines to the httpd.conf file -
LoadModule php5_module "C:/Programming/PHP/php5apache.dll"
Addmodule mod_php5.c
AddType application/x-httpd-php .php

Then when I made a test.php in the Apache htdocs directory, it gives me
the option of downloading the file (that means it is finding the file,
I guess. It doesn't know what to do with it.)

Can anyone please give me some pointers on where I might be going
wrong, I'm quite frustrated by now. I have read the manual at php.net
but it also mentions only the same things I did. Thanks a lot in
advance.

Best,
Attraxion.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация