LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-13-2011, 09:43 AM   #1
sh4ka
LQ Newbie
 
Registered: Apr 2011
Posts: 13

Rep: Reputation: 0
mysql_connect not available using Worker MPM on CentOS


Hi,

I was thinking about switching from Prefork MPM to Worker MPM, using default httpd installation from CentOS 5.6. So, followed some guides and found it was easy.

Uncommenting HTTPD variable at /etc/sysconfig/httpd seems to enable worker:

HTTPD=/usr/sbin/httpd.worker

But then, then mysql_connect is not available anymore and all my php-mysql sites shows this error: Could not find mysql_connect()

php and mysql still the same packages that worked properly with prefork, both installed using yum with native CentOS packages.

I appreciate any ideas!

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache using worker mpm curious06 Linux - Server 2 03-23-2011 05:15 AM
apache MPM prefork or worker mario.almeida Linux - Server 2 11-25-2009 11:45 PM
what should i set in worker MPM and prefork MPM? modpriest Linux - Newbie 5 02-21-2008 06:25 PM
Apache - change to worker MPM rjcrews Linux - Software 2 03-22-2006 06:28 AM
Apache + Suse 9.3 + MPM worker Suinatsa Linux - Software 1 01-31-2006 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration