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.

Options: ReplyQuote
Re: Windows 7 Installation, PHP not recognized
Posted by: chihwahli (---.adsl-surfen.hetnet.nl)
Date: June 28, 2012 01:38PM

I tried your piece of code it's working perfectly.

I removed the , at the end of your line of code... is that causing your problems?


It prints hello world, followed by the server php settings screen.....

Options: ReplyQuote
Re: Windows 7 Installation, PHP not recognized
Posted by: colo11492 (---.omah.qwest.net)
Date: June 28, 2012 08:50PM

Chihwahli, thank you for the response. The comma following phpinfo();?> is not in the php module. I feel as if the issue is a simple one, but I haven't resolved it yet.

Options: ReplyQuote


Sorry, only registered users may post in this forum.