Re: Apache + PHP
From: News Me (newsTWOme_at_pacifier.com)
Date: 02/17/05
- Next message: Jerry Sievers: "Re: Inserting into two table"
- Previous message: Geoff Berrow: "Re: Photo Upload - Wont work on Linux Server"
- In reply to: vibhajha123_at_yahoo.com: "Re: Apache + PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 17 Feb 2005 05:59:01 -0800
vibhajha123@yahoo.com wrote:
> Hi,
> why do u think i didn't try!!! i have typed http://localhost in my
> web browser and click enter and its showing page cannot be displayed.
> But if this is not the proper way i am using , please tell me .
> Actually first thing is apache is not displaying its default page.
> First apache has to work to make PHP work. But apache is not working.
> How to make sure that PHP is alive , what are the changes i have to
> make in httpd.conf .
> Thanks Vibha.
>
Get Apache working first, then worry about PHP. Did you edit
httpd.conf? If you did, you should use the "Test Configuration" option
to make sure there are no configuration errors. If the configuration is
good, you should check the Apache error log at:
<Apache install path>\Apache2\logs\error.log
Once you get Apache working, then edit httpd.conf to make PHP work. The
necessary modifications are clearly explained in the installation
instructions and should look something like this (for PHP 5):
##
## For PHP 5
##
LoadModule php5_module "d:/Programs/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "d:/Programs/php"
NM
-- convert UPPERCASE NUMBER to a numeral to reply
- Next message: Jerry Sievers: "Re: Inserting into two table"
- Previous message: Geoff Berrow: "Re: Photo Upload - Wont work on Linux Server"
- In reply to: vibhajha123_at_yahoo.com: "Re: Apache + PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|