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

 

 

Link to comment
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.