The followind code won't render on Opera or Safari (OS X &lifier MAMP) I've researched all mid-day but am a new comer to web programming and i'm more confused than after i began.
<html> <head> <title>Hello World!</title> </head> <body> <h1>Examples</h1> <?php echo "Hello World!"; ?> <br /> </body>
In Safari it shows the above mentioned code and Opera asks what related to it.
I suspect I have to set some options in Apache but certainly need assistance. Thanks
put wrinkles of code in the first type of you file, and appearance the mistake or warning you receive.
error_reporting(E_ALL); ini_set('display_errors', '1');
Then let me know the end result. I think you'll can discover what's the problem.
You have to configure apache conf file. Take a look http://www.petefreitag.com/item/516.cfm or this http://php.net/manual/en/install.windows.apache2.php