PHP not executing, just downloading
Posted by: MJMultimedia (---.range109-158.btcentralplus.com)
Date: September 25, 2011 07:19PM

Hi everyone,

Everytime I try to execute a PHP script through the wamp server I get a message boxes asking if I want to download the script.

Anyone know how to resolve this problem?

Options: ReplyQuote
Re: PHP not executing, just downloading
Posted by: yfastud (Moderator)
Date: September 27, 2011 12:30AM

Make sure your php scripts don't fall into any of these:
1. Running your scripts through localhost instead directly click on them
2. Have hidden .txt extension
3. Use short tag <? ... ?> instead full tag <?php ... ?>

If using short tag, enable short_open_tag through wamp tray icon

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.