PHP test page not working correctly
Posted by: bytethis (---.client.mchsi.com)
Date: April 12, 2007 04:08PM

I have installed WAMP according to the manual, coded a test page and when I open it in IE I see the actual code not what the code is suppose to show. If I refresh the page (F5), nothing but the HTML title shows. When I open it Firefox nothing shows either.
I am using the long PHP tags. All services are running.
Anyone have any ideas.



Bytethis

Options: ReplyQuote
Re: PHP test page not working correctly
Posted by: yfastud (72.236.169.---)
Date: April 12, 2007 04:24PM

Did you enable port 80 in firewalls?

Have fun,

[www.jlbn.net] (testing WAMPS)
[test.jlbn.net] (testing codes)

Options: ReplyQuote
Re: PHP test page not working correctly
Posted by: bytethis (---.client.mchsi.com)
Date: April 12, 2007 04:42PM

This is what I get in command window when I click the link "Test port 80"

Your port 80 is actually used by:
Server: Apache/2.2.4 (win32) PHP/5.2.1

Press Enter to exit...

I have checked my ZoneAlarm settings and it appears I have it authorized to acces the internet. Is there somewhere else I should look?



Bytethis

Options: ReplyQuote
Re: PHP test page not working correctly
Posted by: yfastud (72.236.169.---)
Date: April 12, 2007 04:53PM

Quote

I have checked my ZoneAlarm settings and it appears I have it authorized to acces the internet. Is there somewhere else I should look?
Yep. A lot of people have problem to configure wamp working w/ ZA, but I personaly don't like and use it, so you'd better do a VERY BIG search for your solution.

Have fun,

[www.jlbn.net] (testing WAMPS)
[test.jlbn.net] (testing codes)

Options: ReplyQuote
Re: PHP test page not working correctly
Posted by: CyberSpatium (71.237.217.---)
Date: April 12, 2007 05:05PM

I have been using zone alarm security suite for years now and I have never had problewms with it running wamp. just allow button that pops up when you start apache and mysql.

make sure you are accessing the site using [localhost]. do not open the page directly in your browser (open or open file). if you open your file directly, it does not get parsed by apache, so your php code will not work.

CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!

Please visit my latest website Clarify Loans:
clarifyloans.com


Like my free support? Help support me by making a donation today!

Options: ReplyQuote
Re: PHP test page not working correctly
Posted by: bytethis (---.client.mchsi.com)
Date: April 12, 2007 05:49PM

I have found some information at : [portforward.com]

I am slowly getting things worked out, I think anyway. I will post the information, if I can get it to work for anyone else who might be having the same problem.

Thanks for the help!!!

~J



Bytethis

Options: ReplyQuote
Re: PHP test page not working correctly
Posted by: bytethis (---.client.mchsi.com)
Date: April 12, 2007 05:57PM

CyberSpatium wrote:


> make sure you are accessing the site using [localhost]. do
> not open the page directly in your browser (open or open file).
> if you open your file directly, it does not get parsed by
> apache, so your php code will not work.


Ok, now it is working right. Thank you so much for the info. I was accessing the page directly and the PHP was not getting parsed. Now I don't have upload my files to my site to see if they are working right.

Again, thanks alot and I hope this will help someone else.

~J



Bytethis

Options: ReplyQuote


Sorry, only registered users may post in this forum.