These options need to match??

Support/Development for PHP
RooMeat

These options need to match??

Unread post by RooMeat »

Hey guys, hoping someone here can enlighten me on the following message and tell me how to fix what it's complaining about??

PHP Warning: PHP Startup: fileinfo: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: These options need to match??

Unread post by mikeshinn »

This generally means you have PHP modules and libraries that are not compatible. This can happen if you compile them yourself, if you use a third party binary module, and/or mix repositories and PHP rpms.
RooMeat

Re: These options need to match??

Unread post by RooMeat »

never compiled anything myself lol.. only use the good ol' yum with art repos :)
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: These options need to match??

Unread post by mikeshinn »

Are you using any third party accelerators or encoders?
RooMeat

Re: These options need to match??

Unread post by RooMeat »

not that I know of.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: These options need to match??

Unread post by breun »

I think you installed php-pecl-memcache and got that package from EPEL (or maybe another third party repository), which is built for the stock PHP packages from your OS, but that's not compatible with the Atomic PHP version. As far as I can see there is no php-pecl-memcache package available from Atomic right now. You could request that, or install it 'manually' using the pecl command which will build the extension for your current PHP installation.
Lemonbit Internet Dedicated Server Management
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: These options need to match??

Unread post by scott »

Its not in there because of the problems you found with it.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: These options need to match??

Unread post by breun »

Me? I don't remember.
Lemonbit Internet Dedicated Server Management
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: These options need to match??

Unread post by scott »

Haha, I say that all the time too :P
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

Re: These options need to match??

Unread post by Highland »

I remembered seeing the post in question last week.

And, yes, you must build your own memcache using pecl (requires php-devel). Be sure to remove php-pecl-memcache first
"Its not a mac. I run linux... I'm actually cool." - scott
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: These options need to match??

Unread post by breun »

That post is about mailparse though, not memcache.
Lemonbit Internet Dedicated Server Management
RooMeat

Re: These options need to match??

Unread post by RooMeat »

breun wrote:I think you installed php-pecl-memcache and got that package from EPEL (or maybe another third party repository), which is built for the stock PHP packages from your OS, but that's not compatible with the Atomic PHP version. As far as I can see there is no php-pecl-memcache package available from Atomic right now. You could request that, or install it 'manually' using the pecl command which will build the extension for your current PHP installation.
If it's not needed.. then how do I just get rid of it to stop all these errors?
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: These options need to match??

Unread post by breun »

RooMeat wrote:If it's not needed..
I can't tell if you need it or not. I don't think it installed itself?
then how do I just get rid of it to stop all these errors?
That depends on how it was installed. If it's a package install, remove the package (yum remove <package-name>). If it was installed through pecl, use 'pecl uninstall <extension-name>'.
Lemonbit Internet Dedicated Server Management
Post Reply