On 6/21/2013 6:01 PM, Gary Roach wrote:
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
That typically means you have a syntax error in your PHP code. Look at
your apache log file.
Is the code you posted earlier the exact code in your file?
--
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/51c4d2e7.4020...@attglobal.net