Jump to content

Anyone could help me ? Im new to PHP Installation


Recommended Posts

Hi..

I use Windows XP SP 2, and I m trying to install Apache 2.2.4 and PHP 5.2.1 (zip win32).

I could load my html files in localhost/ within Apache but there while I was executing php files

, error 404 cound not be found appeared.

Help..help

fyi I added this codes in httpd.conf :

<IfModule actions_module>

Action application/x-httpd-php "c:/php/php.exe"

</IfModule>

LoadModule php5_module "c:/php/php5apache2_2.dll"

PHPIniDir "c:/php"

AddType application/x-httpd-php .php

DocumentRoot "C:/website"

<Directory "C:/website">

 

also changed php.ini within c:\php:

doc_root ="c:\website"

extension_dir = "c:\php\ext\"

 

Its very frustating as I have tried a few hours to find out.

Thank you

 

 

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.