Re: [NEWBEE] PHP5 RC1 install problem
From: Andy Hassall (andy_at_andyh.co.uk)
Date: 03/27/04
- Next message: Tony: "Re: imagecreatefromjpg()"
- Previous message: kingofkolt: "Re: [NEWBEE] PHP5 RC1 install problem"
- In reply to: Gene Kahn: "[NEWBEE] PHP5 RC1 install problem"
- Next in thread: Gene Kahn: "Re: [NEWBEE] PHP5 RC1 install problem"
- Reply: Gene Kahn: "Re: [NEWBEE] PHP5 RC1 install problem"
- Reply: Gene Kahn: "Re: [NEWBEE] PHP5 RC1 install problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 27 Mar 2004 17:22:22 +0000
On 27 Mar 2004 09:12:52 -0800, jenjhiz@yahoo.com (Gene Kahn) wrote:
>Windows XP, Apache 2, PHP5 RC1
>Hello,
>A total newbie here. I can't seem to get Apache2 to load the php5
>module. When I loaded up this html file in a browser, only the Today's
>date: line prints on the page.
>
><html>
><head>
><title>Listing 1-7</title>
></head>
><body>
>Today's date:
><?php
> /*
> ** print today's date
> */
> print(Date("l F d, Y"));
>?>
></body>
></html>
>
>It looks like the PHP preprocessor is not loading. I have added these
>lines to Apache's httpd.conf, then re-started Apache.
>
>LoadModule php5_module c:/php/php5apache2.dll
>AddType application/x-httpd-php .php
Just to be clear - you say you "re-started" Apache - how exactly did you do
this? Did you Stop and then Start it, or did you use Restart?
You have to completely stop then start to get it to load new modules.
If not that, then check both the Apache error_log and the Windows event log
(the Application section of it).
Does PHP show in the server signature? Or in server-info? (Look in httpd.conf
for how to enable this if you haven't got it set up).
-- Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space
- Next message: Tony: "Re: imagecreatefromjpg()"
- Previous message: kingofkolt: "Re: [NEWBEE] PHP5 RC1 install problem"
- In reply to: Gene Kahn: "[NEWBEE] PHP5 RC1 install problem"
- Next in thread: Gene Kahn: "Re: [NEWBEE] PHP5 RC1 install problem"
- Reply: Gene Kahn: "Re: [NEWBEE] PHP5 RC1 install problem"
- Reply: Gene Kahn: "Re: [NEWBEE] PHP5 RC1 install problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|