Test php code on Apache
If I edit the hello.php file as the following
<html> <head> <title>PHP Test</title> </head> <body> <?php echo'<p>Hello World</p>';?> </body> </html> and I obtain the complete same text like as above when I test it on Apache.Do I get correct result? |
No, you are supposed to see the text "Hello, World".
|
Re: Test php code on Apache
hi there,
Quote:
just adding to reddazz answer.. this sounds like the php module is not loaded correctly.. check you apache config file for something like... Code:
LoadModule php4_module somewhere/lib/apache... slackie1000 |
hi
at first u should test ur apache.and if u use MySQL u should be sure that it's running.if every thing be ok u should add some lines into ur config file(something like slackie1000 wrote)it depends on ur apache and php version and ur parameters. good luck |
All times are GMT -5. The time now is 07:27 PM. |