Re: mysql_connect won't when run from web server

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Steven A. DuChene
Date:  
To: Joe, Main PLUG discussion list
Subject: Re: mysql_connect won't when run from web server
ARGH!

OK, I did the following:

setsebool -P httpd_can_network_connect_db=1
setsebool -P httpd_can_network_connect=1

on the Fedora9 apache server box and now it works.

Thanks all. Why this has to be off by default or not well known that
it needs to be altered from it's default state is beyond me.

-----Original Message-----
>From: Joe <>
>Sent: May 25, 2009 12:10 AM
>To: "Steven A. DuChene" <>, Main PLUG discussion list <>
>Subject: Re: mysql_connect won't when run from web server
>
>Is selinux enabled? If I remember correctly there is an option that
>blocks the web server from DB connects unless you enable the rule.
>




---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss