is your file called *filename*.php, *filename*.php3 or *filename.phtml? if
it isn't php cannot parse those documents :(

"Emily Wrenholt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Stephen:
>
> I'm having exactly the same problems as Bud...and I
> *have* followed all Installation instructions
> (Numerous times) But my php files still are not parsed
> and are displayed as text only.
>
> When I start the Apache server from the Apache icon
> (Not the short cut) It prints in the command prompt
> "Apache/1.3.27 <Win32> PHP/4.3.2 running..." So I feel
> like I've done something right. :)
>
> Any idea what I'm doing wrong?
> I'm on WinXP.
>
> Thanks,
>
> Emily
> [EMAIL PROTECTED]
>
>
> ----- Original Message -----
> From: "Stephen" <[EMAIL PROTECTED]>
> Newsgroups: php.install
> To: "Bud Roble" <[EMAIL PROTECTED]>
> Cc: "Installation Helplist (PHP)"
> <[EMAIL PROTECTED]>
> Sent: Tuesday, June 03, 2003 4:07 AM
> Subject: Re: [PHP-INST] Help for PHP Newbie!
>
>
> > Sounds like your Apache is not correctly set to pass
> php files. Heres how it
> > should be done:
> >
> > Open httpd.conf
> >
> > Search for "# Dynamic Shared Object (DSO) Support"
> > This should show a long list of commented (lines
> with # in front) lines.
> > Scroll to the bottom of the list and add:
> >
> > LoadModule php4_module C:/server/PHP/php4apache.dll
> >
> > Ensure that this command actually points to
> php4apache.dll. Also, you need
> > to find and copy php4ts.dll into EXACTLY the same
> directory as
> > php4apache.dll.
> >
> > If you continue to scroll down, the next session
> after the "LoadModule"
> > lines should be "AddModule". At the bottom of this
> list, you need to add the
> > line
> >
> > AddModule mod_php4.c
> >
> > Okay, so that is php installed, but next you need to
> set it so that .php
> > files are run using php! To do this, search for
> > "# AddType allows you to tweak mime.types without
> actually editing it, or
> > to"
> > You may already have a short list of options here,
> all you need to add is
> >
> > AddType application/x-httpd-php .php
> >
> > This tells Apache that all files that end in .php
> should be parsed using
> > php. Your files should now be working! One other
> feature you might like...
> > by default Apache will search for an index.html file
> to be display. You can
> > change this to load any file you like. Just search
> for
> > "# DirectoryIndex: Name of the file or files to use
> as a pre-written HTML"
> > Below it you should see this
> >
> > <IfModule mod_dir.c>
> >     DirectoryIndex index.html
> > </IfModule>
> >
> > Simply add the files you would like to be displayed
> by default. Apache works
> > from left to right so this:
> > <IfModule mod_dir.c>
> >     DirectoryIndex index.php index.html
> > </IfModule>
> > Would first look for an "index.php" file, and if it
> was not found, then
> > search for an "index.html"
> >
> > Good Luck
> >
> > Stephen
> >
> > ----- Original Message -----
> > From: "Bud Roble"
> <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, June 03, 2003 6:23 AM
> > Subject: [PHP-INST] Help for PHP Newbie!
> >
> >
> > > I've installed PHP 4.3.2 with Apache 1.3 and
> believe I've followed all the
> > > configuring instructions to the letter.    I
> create the phpinfo.php script
> > > file for testing and placed it in the C:/program
> files/apache
> > > group/apache/htdocs folder for testing.    When I
> type
> > localhost/phpinfo.php
> > > in my browser, the script is not being parsed.
> The script is simply
> > > displayed in the browser window as raw text.   I
> can display all of the
> > html
> > > documents in the htdocs folder fine but any php
> document I browse to
> > simply
> > > displays the raw text in the browser.    It acts
> the same whether I try at
> > > the localhost or from another computer on the
> network.   What am I doing
> > > wrong?
> > >
> > > Any help will be greatly appreciated!
> > >
> > > Bud Roble
> > > [EMAIL PROTECTED]
> > > (805)794-3027
> > >
> > >
> > >
> > > --
> > > PHP Install Mailing List (http://www.php.net/)
> > > To unsubscribe, visit:
> http://www.php.net/unsub.php
> > >
> > >
> >
> >
>
> =====
>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to