FW: [PHP-WIN] Re: It gives me just a header!
| From: | FPU dot WHITES1 at FRIENDSPROVIDENT dot CO dot UK | Date: | Wed, 24 Oct 2001 10:25:27 +0000 |
| Subject: | FW: [PHP-WIN] Re: It gives me just a header! | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9987@lists.php.net to get a copy of this message | ||
--- Received from FPU.WHITES1 799 3703 24-10-01 11:13
-> IN=php-windows@lists.php.net
You would certainly see the source code if the server new NOTHING of php,
however if it is set up to expect to have the .php filetype handled by an
extension, but the extension (ie. php) is not available, or not configured
correctly then you can see a correctly built 'empty' html page, containing
nothing but header and empty body.
This implies that the extension configuration for the filetype is flawed or
that php itself cannot load or provide the page for some reason.
I've seen the same thing on Xitami and Apache. Apologies for not having a
solution, each time I just re-installed and went carefully through the setup
again and the problem went away - I just put it down to user error on my
part.
Cheers - Steve
-----Original Message-----
From: Stefn Vignir Skarphinsson [mailto:stebbiv@isl.is]
Sent: 24 October 2001 10:59
To: php-windows@lists.php.net; php-install@lists.php.net
Subject: [PHP-WIN] Re: It gives me just a header!
Thanks for trying to help :)
If my server (xitami) would not run php it would send me the page including
the php source code.
This happens even if I try to execute a script as simple as
<? print ("blah blah blah") ?>
Jason Wood <jwood@expressivetek.com> wrote in message
news:20011023223252.98128.qmail@pb1.pair.com...
> It means that either PHP is not running, or there's a parse error on the
> page and you dont have the error handling set.
> --
> Jason Wood
> Chief Technology Officer
> Expressive Tek, Inc.
> 407 Kehrs Mill Road
> Ballwin, MO 63011
> Phone 636.256.1362
> www.expressivetek.com
> "StefN Vingir SkarphInsson" <stebbiv@isl.is> wrote in message
> news:20011023221505.85108.qmail@pb1.pair.com...
> > Hello folks!
> >
> > I was trying to execute a PHP script (on Win98) but it came only this
> source
> > code from my server:
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML><HEAD>
> > <META http-equiv=Content-Type content="text/html;
> > charset=windows-1252"></HEAD>
> > <BODY></BODY></HTML>
> >
> > This happens to all the scripts I try to execute both from my server and
> > using MS-DOS-Prompt (php webpage.php) it returns nothing
> >
> > What's wrong?
> > Please help!
> >
> >
> >
> >
> >
> >
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
This e-mail may contain confidential information and/or copyright
material. This e-mail is intended for the use of the addressee
only. Any unauthorised use may be unlawful.
If you receive this e-mail by mistake please advise the sender
immediately by using the reply facility in your e-mail software.
Friends Provident Marketing Group consists of the following
companies:
Friends Provident Life and Pensions Limited.
Registered number 4096141.
Friends' Provident Unit Trust Managers Limited.
Registered number 970641
FP Life Assurance Limited.
Registered number 782698
Friends Provident Pensions Limited.
Registered number 475201
Friends Ivory & Sime Managed Pensions Funds Limited.
Registered number 1020044
Registered and Head Office of each of the above companies is at Pixham End,
Dorking, Surrey RH4 1QA.
Registered in England. Incorporated companies limited by shares.
Ivory & Sime Trustlink Limited. Registered number 151198
Registered and Head Office: One Charlotte Square, Edinburgh EH2
4DZ. Registered in Scotland. Incorporated company limited by
shares.
Companies within this Group transact life assurance, pension,
permanent health, unit trust and investment trust business
All are regulated by the Personal Investment Authority.
Friends' Provident Unit Trust Managers Limited is also regulated
by IMRO.