Windows 7 Installation, PHP not recognized
Posted by:
colo11492
(---.omah.qwest.net)
Date: June 28, 2012 02:57AM
I've installed WAMP 2.2e (Apache 2.2.22), php5.4.3, & mysql 5.5.24-32 on a new Windows 7 Home Premium PC.
On our previous Windows Vista PC, I had been successfully executing Apache 2.2.10, php 5.2.6, and mysql 5.1.30.
After the WAMP installation on the Windows 7 PC,
the WAMP server icon is green,
I launched Localhost from the WAMP server icon, & a meaningful page is displayed & the phpinfo() choice returns much meaningful data,
thru phpmyadmin, I've imported a database & the phpmyadmin browsing function seems accurate,
I've executed the simple "hello.php" module, & it worked OK -- however, I changed the simple php code to:
<?php echo '<p>Hello World.</p>'; phpinfo();?>,
-- after executing this small change, the FF browser displays the "Hello..." message, followed by ';phpinfo(); ?>
I've tried other "simple" php code changes, but the php code is not being recognized.
Should I downgrade to a previous php version?
Thank you.