On 06/21/2013 02:43 PM, David Guntner wrote:
Gary Roach grabbed a keyboard and wrote:
On 06/21/2013 01:21 PM, Jerry Stuckle wrote:
Does your web page have a .php extension?  What do you have in
/etc/apache2/mods-enabled?

The web page has an .html extension. Is a .php extension necessary if
there is PHP code mixed within html?
Yup.  Otherwise, Apache doesn't know it needs to feed the code to the
PHP engine.

               --Dave



I changed the file to .php. It now prints nothing.
index.html => file:///var/www/phpinfo.php => php code
Another link, index.html => file///var/www/myProject/enterdb.html works fine as far as the html code is concerned but the call to a php file doesn't.

Confused!

Gary Rl


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51c4cd3d.4050...@verizon.net

Reply via email to