[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PHP code won't run



Not being able to find another mailing list that seems worthwhile I'm hoping I can get a quick answer here. The following doesn't work.

System info:
wheezy
Apache2
php5
mySQL 5.?

My test web page:
<!DOCTYPE html>
<html>
<head>
        <meta charset="utf-8" author="Gary L. Roach"/>
        <title>PHP Information Page</title>
        <!--<link href="" type="text/css" rel="stylesheet" >-->
</head>
<body>
    echo "Test Message in body"
    <?php
        echo "Test Message in PHP";
        //echo "phpinfo()";
    ?>
</body>
</html>
When run, the "Test Message in body" displays. The " Test Message in PHP" does not.
Running ps xaf shows two instances of the apache server running. Pasted from the terminal:
30541 ?        Ss     0:01 /usr/sbin/apache2 -k start
30561 ?        S      0:00  \_ /usr/sbin/apache2 -k start
30562 ?        S      0:00  \_ /usr/sbin/apache2 -k start

I've checked the installation of php5 and all seems well. You will probably need additional information. Please ask.

Any help will be sincerely appreciated.

Gary R



Reply to: