[Watford] php Stopped translating
Neel Upadhyaya
bahulneel at gmail.com
Tue Jan 8 12:56:49 GMT 2008
check your httpd.conf you'll probably need to add:
AddHandler php5-script .html
--
MCSE is to computers as McDonalds Certified Chef is to fine cuisine.
On 29/12/2007, walt <walt at helvatron.co.uk> wrote:
> Correct! Thanks for responding.
>
> I have since ploughed through reams of stuff on PHP because I remembered
> some previous reference to this and found the appropriate passage: If the
> code contains a reference to a PHP script the file must have a php extension
> otherwise the interpreter wont kick in.
>
> I had misunderstood this and also forgotten to be honest. It all works
> swimmingly now and all the scripts work fine incl. JavaScript, CSS, PHP and
> of course HTML. All the MySQL calls are processed correctly as well.
>
> Cheers and a happy new year, Walter
>
> -----Original Message-----
> From: watford-bounces at mailman.lug.org.uk
> [mailto:watford-bounces at mailman.lug.org.uk] On Behalf Of Kevin Brown
> Sent: 29 December 2007 12:26
> To: watford at mailman.lug.org.uk
> Subject: [Watford] php Stopped translating
>
> I assume Apache?
>
> Kevin
>
> -----Original Message-----
> From: watford-bounces at mailman.lug.org.uk
> [mailto:watford-bounces at mailman.lug.org.uk] On Behalf Of
> watford-request at mailman.lug.org.uk
> Sent: 29 December 2007 12:15
> To: watford at mailman.lug.org.uk
> Subject: Watford Digest, Vol 75, Issue 3
>
> Send Watford mailing list submissions to
> watford at mailman.lug.org.uk
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mailman.lug.org.uk/mailman/listinfo/watford
> or, via email, send a message with subject or body 'help' to
> watford-request at mailman.lug.org.uk
>
> You can reach the person managing the list at
> watford-owner at mailman.lug.org.uk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Watford digest..."
>
>
> Today's Topics:
>
> 1. (no subject) (walt)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 28 Dec 2007 17:12:24 -0000
> From: "walt" <walt at helvatron.co.uk>
> Subject: [Watford] (no subject)
> To: <watford at mailman.lug.org.uk>
> Message-ID: <000001c84974$d14da5e0$73e8f1a0$@co.uk>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
> Thanks to all your help I now have PHP and MySQL working. Its writing to
> and from databases so I am well chuffed.
>
> HOWEVER (and there is always a b... problem with Linux), I have used *.php
> files to run all the SQL stuff and now want go back to embedding PHP in
> HTML. For whatever reason, although the html code works fine, the
> embedded <?php ...?> is no longer processed. It just ignores it and deliver
> all the HTML.
>
> I have not changed the server in any way. I did have to install some
> additional extensions for PHP-MySql but that was all. It was working
> correctly after that but not now.
>
> Any ideas? Many thanks.
>
> Walter
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Watford mailing list
> Watford at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/watford
>
>
> End of Watford Digest, Vol 75, Issue 3
> **************************************
>
>
> _______________________________________________
> Watford mailing list
> Watford at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/watford
>
>
> _______________________________________________
> Watford mailing list
> Watford at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/watford
>
More information about the Watford
mailing list