Re: mysql_connect won't when run from web server

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Steven A. DuChene
日付:  
To: Joe, Main PLUG discussion list
題目: 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