note 56056 added to function.mysql-connect
| From: | mick at ecreate dot co dot uk | Date: | Mon, 22 Aug 2005 10:38:24 +0000 |
| Subject: | note 56056 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-94021@lists.php.net to get a copy of this message | ||
SELinux is a right pain. It will disable socket connections to both local and remote hosts / ports.
To turn it off temporarily, type 'setenforce 0' and try your script again. If, like me,
you're just trying to get something working on a dev box, you can turn it off completely by
setting SELINUX=disabled in /etc/selinux/config
----
Manual Page -- http://www.php.net/manual/en/function.mysql-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56056
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56056&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56056&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56056&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56056&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56056&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56056&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56056&report=yes
Search -- http://master.php.net/manage/user-notes.php