Re: [NEWBEE] PHP5 RC1 install problem

From: Gene Kahn (jenjhiz_at_yahoo.com)
Date: 03/28/04


Date: 27 Mar 2004 16:41:19 -0800

Sorry. My message was not too clear. It only prints;

Today's date:

It should print:

Today's date: "DATE"

where DATE is today's date in the format specified. So it looks like
the PHP script was not run at all.

gk

"kingofkolt" <jessep@comcast.net> wrote in message news:<3Ji9c.17908$w54.130994@attbi_s01>...
> isn't that the only thing thats supposed to print on the page? or am i
> missing something...
>
> "Gene Kahn" <jenjhiz@yahoo.com> wrote in message
> news:4d3f9c15.0403270912.2540f7d6@posting.google.com...
> > 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
> >
> > How do I get this corrected? Any help will be appreciated!
> >
> > gk



Relevant Pages

  • Re: Setting up a page that will intercept all pages that do not already exist?
    ... >Using the ErrorDocument 404 syntax to redirect everything not found to ... >a PHP script will issue a 404 header to the browser, ... >the header is followed by html. ... REDIRECT_* variables if the error document is a CGI or PHP script; ...
    (comp.lang.php)
  • Re: PHP/Wiindows Desktop Popup
    ... This has nothing to do with web serving. ... I want to run a PHP script in a loop that monitors some computers. ... so that a tooltip window pops up when monitored computer goes down. ... > | browser other than FF. ...
    (alt.php)
  • Re: bookmarks.html
    ... >> That's one of the reasons i never save my bookmarks in a browser. ... >> I have made php script that manages a few files that act as a db ... I'm toying with the idea of changing it to python. ...
    (Debian-User)
  • Re: Can PHP run from command line render HTML?
    ... the web server via a browser). ... Can such a script render HTML? ... idea being that the PHP script would startup a browser session when the ... have a running web server to which to submit the form. ...
    (comp.programming)
  • Re: How to send username/password to htaccess?
    ... > form to accept username/password and then redirect the user to the ... When your browser requests a page that's behind http authentication, ... basically what you're asking is if there's a way to have a PHP script ... If the PHP script captures the auth info, ...
    (comp.lang.php)