php parser
Posted by: rickywell (---.dsl.irvnca.sbcglobal.net)
Date: November 09, 2007 03:25AM

Hi there:
After I have install WAMP5 , i test it using HTML, it work.However, when i combine them with PHP ,it turn out a blank page. it is clear to me that the php parser did not work. Can anyone tell me why and how to fix this problem, thank in advancesmiling smiley



Ronald Kwong

Options: ReplyQuote
Re: php parser
Posted by: yfastud (---.cable.mindspring.com)
Date: November 09, 2007 03:43AM

As far as I know, at least 2 reasons cause that problem and here solutions:

1. Enable port 80 in all firewalls

2. 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)

Options: ReplyQuote


Sorry, only registered users may post in this forum.