unable to run project in wampserver
Posted by: vilas (---.17.196.88.static.vsnl.net.in)
Date: October 27, 2007 02:15PM

I have vista insatlled in my personnel pc and i have installed wampserver .It is working but the problem is that i create one project and that there is one file test.php where i written simple echo statement but it is not giving any output in the browser?Can anybody help me in this regards?Thank you in advance



vilas

Options: ReplyQuote
Re: unable to run project in wampserver
Posted by: yfastud (---.mia.bellsouth.net)
Date: October 27, 2007 05:54PM

By default, short_open_tag in c:/wamp/apache2/bin/php.ini is off, and you MUST restart your wamp if you switch it to on in order to use short tag <? instead full tag <?php. Also, you MUST access your php/html files through your document_root which by default is c:/wamp/www, so if you save your_file.php in c:/wamp/www/your_folder, then access it as follows:

[localhost]

It's not a very good idea to enable short_tag, but it seems nowadays a lot of free scripts using it, so it's your choice

It seems you're new to this wamp, so check my site for other setups

Have fun,

[test.jlbn.net] (Sample Testing Codes for PHP, MySQL, ASP.net, SQL, JSP)
[www.jlbn.net] (Basic Guide for WAMP & Add-ons)




Post Edited (10-27-07 17:57)

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.