Page 1 of 1

php and firewall issues

Posted: Wed Mar 01, 2006 10:05 am
by shivers3000
first off i know zone alarm firewall is some garbage but i have a question

i am running zone alarm firewall with winxp, apache, mysql and php. when zone alarm is enable, my cookies cause the site to hang up and my sessions dont always past from form to form in a multi-form situation.

my question is:
1) is this happening because i am running zone alarm from my test machine?
2) will these same issues happen when someone logs onto my website and if so, how do i avoid this

thanks

Posted: Wed Mar 01, 2006 10:54 am
by jayshields
The first question: No, I doubt it. If you are accessing localhost there should be no need for data to pass through your firewall.
The second question: It probably will cause problems for external users. Make sure Apache and other processes that want external access have it granted. If that fails, I'm sure someone has run into a similar problem either on these forums or on Google somewhere. Have a search around.

Posted: Wed Mar 01, 2006 12:03 pm
by a94060
firewall should have no effect on how php pages are parsed. you should almost never run into firewall issues if your using php to communicate with mysql(assuming they are on same computer). as for access,all you should need open is the port that you have your webserver running on(only if you want external users to access the server)

cheers

SOLVED

Posted: Thu Mar 02, 2006 8:38 am
by shivers3000
well... i got it fixed

it had something to do with that zone alarm. the page worked fine when it was disabled but caused major problems while active. I have since uninstall the entire thing and havent had a problem yet.

The problem more than likely came as a result of Zone Alarm causing some funky problems with my pc as oppose to really messing up my website.

But at any rate, thanks for your help

B EZ