Re: [users@httpd] PHP files not being parsed in HTML pages

2011-08-01 Thread Jeroen Geilman
On 2011-08-01 20:45, Rob Stone wrote: On 01/08/11 06:11, Jeroen Geilman wrote: On 2011-07-31 21:23, Rob Stone wrote: Thanks to Richard this has now been SOLVED. Who is Richard ? I don't know who he is, but he replied to my request for assistance with my problem and made a helpful sugg

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-08-01 Thread Rob Stone
On 01/08/11 06:11, Jeroen Geilman wrote: On 2011-07-31 21:23, Rob Stone wrote: Thanks to Richard this has now been SOLVED. Who is Richard ? I don't know who he is, but he replied to my request for assistance with my problem and made a helpful suggestion, which I followed up, and now I

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-31 Thread Jeroen Geilman
On 2011-07-31 21:23, Rob Stone wrote: Thanks to Richard this has now been SOLVED. Who is Richard ? -- J. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-31 Thread Rob Stone
On 31/07/11 10:14, Jeroen Geilman wrote: On 2011-07-31 00:54, Rob Stone wrote: Sorry I have created such a discussion around my use of the word "include". In future I'll try to be semantically correct. By "include" I mean lines of code like this that are embedded into the source html. And

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-31 00:54, Rob Stone wrote: Sorry I have created such a discussion around my use of the word "include". In future I'll try to be semantically correct. By "include" I mean lines of code like this that are embedded into the source html. And that's exactly the point - it's not "

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Rob Stone
y 30, 2011 4:39 PM Subject: Re: [users@httpd] PHP files not being parsed in HTML pages On 2011-07-30 23:33, Stormy wrote: At 07:06 PM 7/30/2011 +0100, Mark Rousell wrote: On 30/07/2011 18:43, Jeroen Geilman wrote: >>> So, why does a simple file with phpinfo() work and an html page with

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread LabTech
sers@httpd] PHP files not being parsed in HTML pages On 2011-07-30 23:33, Stormy wrote: At 07:06 PM 7/30/2011 +0100, Mark Rousell wrote: On 30/07/2011 18:43, Jeroen Geilman wrote: >>> So, why does a simple file with phpinfo() work and an html page with an >>> include "x

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 23:33, Stormy wrote: At 07:06 PM 7/30/2011 +0100, Mark Rousell wrote: On 30/07/2011 18:43, Jeroen Geilman wrote: >>> So, why does a simple file with phpinfo() work and an html page with an >>> include "xyz.php" NOT render the page as desired in the browser >>> It just >>> ign

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Darryle Steplight
I can't figure out why these conversations keep going on. I thought the answer was solved with Jeroen Geilman's answer. My answer was slightly off. On Sat, Jul 30, 2011 at 5:33 PM, Stormy wrote: > At 07:06 PM 7/30/2011 +0100, Mark Rousell wrote: >> >> On 30/07/2011 18:43, Jeroen Geilman wrote: >>

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Stormy
At 07:06 PM 7/30/2011 +0100, Mark Rousell wrote: On 30/07/2011 18:43, Jeroen Geilman wrote: >>> So, why does a simple file with phpinfo() work and an html page with an >>> include "xyz.php" NOT render the page as desired in the browser >>> It just >>> ignores the include. > > HTML does not ha

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 23:21, Mark Rousell wrote: On 30/07/2011 19:54, Jeroen Geilman wrote: On 2011-07-30 20:06, Mark Rousell wrote: On 30/07/2011 18:43, Jeroen Geilman wrote: So, why does a simple file with phpinfo() work and an html page with an include "xyz.php" NOT render the page as desired in th

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Mark Rousell
On 30/07/2011 19:54, Jeroen Geilman wrote: > On 2011-07-30 20:06, Mark Rousell wrote: >> On 30/07/2011 18:43, Jeroen Geilman wrote: > So, why does a simple file with phpinfo() work and an html page > with an > include "xyz.php" NOT render the page as desired in the browser > It

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 20:06, Mark Rousell wrote: On 30/07/2011 18:43, Jeroen Geilman wrote: So, why does a simple file with phpinfo() work and an html page with an include "xyz.php" NOT render the page as desired in the browser It just ignores the include. HTML does not have an "include" directive.

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Mark Rousell
On 30/07/2011 18:43, Jeroen Geilman wrote: >>> So, why does a simple file with phpinfo() work and an html page with an >>> include "xyz.php" NOT render the page as desired in the browser >>> It just >>> ignores the include. > > HTML does not have an "include" directive. > Please don't confuse

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-30 Thread Jeroen Geilman
On 2011-07-30 06:41, Darryle Steplight wrote: Trying adding this in your vhost, config file or .htaccess file addHandler x-httpd-php5 .php .htm .html Please get it right: SetHandler application/x-httpd-php On Sat, Jul 30, 2011 at 12:20 AM, Rob Stone wrote: Hello, I have a wor

Re: [users@httpd] PHP files not being parsed in HTML pages

2011-07-29 Thread Darryle Steplight
Trying adding this in your vhost, config file or .htaccess file addHandler x-httpd-php5 .php .htm .html On Sat, Jul 30, 2011 at 12:20 AM, Rob Stone wrote: > Hello, > > I have a working domain on a free LAMP hosting service. I thought it would > be a *good idea* if I set up a development environm

[users@httpd] PHP files not being parsed in HTML pages

2011-07-29 Thread Rob Stone
Hello, I have a working domain on a free LAMP hosting service. I thought it would be a *good idea* if I set up a development environment on my Debian laptop. Followed all the Debian specific stuff about setting it up and copied all my files (html, php, js, css, etc.) into the /var/www director