Re: [nyphp-talk] Re: can connect to MySQL from command line, but not from script

2007-11-20 Thread Allen Shaw
David Mintz wrote: Solved. You guys are the greatest!! (-: Always happy to help, David. - A. -- Allen Shaw slidePresenter (http://slides.sourceforge.net) ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk N

[nyphp-talk] Re: can connect to MySQL from command line, but not from script

2007-11-20 Thread David Mintz
'tail /var/log/messages' outputs the hot tip to run sealert which tells you flat out: '/usr/sbin/setsebool -P httpd_can_network_connect=1' Solved. You guys are the greatest!! (-: On Nov 20, 2007 3:34 PM, David Mintz <[EMAIL PROTECTED]> wrote: > Wait a second. When invoked from the command line

[nyphp-talk] Re: can connect to MySQL from command line, but not from script

2007-11-20 Thread David Mintz
Wait a second. When invoked from the command line, PHP can do it: [EMAIL PROTECTED] test]# php test.php alleluyah But not when Apache runs same code -- ah, we have one of those SELinux issues, don't we? On Nov 20, 2007 3:30 PM, David Mintz <[EMAIL PROTECTED]> wrote: > I just installed CentOS 5 a