[lug] RE: mod_php not interpreting <?php print ("hello, world\n"); ?>
Gerald R. Jensen
autodata at execpc.com
Mon Mar 13 20:07:15 MST 2000
Bob:
I'm not sure what this has to do with MySQL ... your script is correct, and
the script you provided should have the extension .HTML. You may wish to
double-check your PHP and Apache installations, or check their websites
(www.php.net and www.apache.org) for more info. Odds are good you have a
configuration problem that has nothing to do with MySQL
G. Jensen
----------
From: Bob Collins[SMTP:bcollins at csd.net]
Sent: Sunday, March 12, 2000 9:38 PM
To: [SLE]; mysql at lists.mysql.com; [lug]
Subject: mod_php not interpreting <?php print ("hello, world\n"); ?>
<<File: ps.txt>><<File: ATT00001.txt>>
I have SuSE 6.3. I have installed Apache and PHP using yast. The SuSE
setup is slightly different from what I read in "MySQL" by Paul DeBois
and in some of the README files, but conforms to README.SuSE for
Apache. I did not setup the Apache SSL Server.
I have entered the following in a file:
- - - - - - - - - - - - - - - - - - - -
<HTML>
<BODY>
<?php print ("hello, world\n"); ?>
</BODY>
</HTML>
- - - - - - - - - - - - - - - - - - - -
I do not see "hello, world" when I view the file with Netscape or lynx.
I have tried several different file names and extensions, .php, .php3,
.html and .phtml.
The attachment file is the result of ps ax > ps.txt. It looks to me like
PHP is running. I don't have a clear understanding of how apache works
with the file or how to verify if PHP is running, other than running ps.
Any help would be appreciated, I feel like I am drowning in
documentation, but must be missing something.
--
Regards,
Bob Collins
Mailto:bcollins at csd.net
More information about the LUG
mailing list