Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Other Versions > EOL (End Of Life) Versions
FedoraForum Search

Forgot Password? Join Us!

EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th June 2007, 07:08 PM
paulthompson Offline
Registered User
 
Join Date: Mar 2007
Posts: 7
PHP Inconsistency after upgrade from FC6 to 7

Upon updating Fedora Core 6 to 7, I now get the following errors in httpd's error log:

PHP Warning: PHP Startup: apc: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=0\nPHP compiled with module API=20060613, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning: PHP Startup: mbstring: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=0\nPHP compiled with module API=20060613, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0

Is there some inconsistency between the various packages that make up PHP? How do I resolve this?

grep php ~/upgrade.log reports:
Upgrading php-common - 5.2.2-3.i386
Upgrading php-pdo - 5.2.2-3.i386
Upgrading php-gd - 5.2.2-3.i386
Upgrading php-xml - 5.2.2-3.i386
Upgrading php-odbc - 5.2.2-3.i386
Upgrading php-mysql - 5.2.2-3.i386
Upgrading php-cli - 5.2.2-3.i386
Upgrading php - 5.2.2-3.i386
Upgrading php-pgsql - 5.2.2-3.i386
Upgrading php-ldap - 5.2.2-3.i386
Reply With Quote
  #2  
Old 6th June 2007, 07:13 PM
pigpen's Avatar
pigpen Offline
Registered User
 
Join Date: Nov 2003
Location: Regensburg, Germany
Age: 42
Posts: 447
The apc error also occurs on a fresh F7 install:
Code:
PHP Warning:  PHP Startup: apc: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=0\nPHP    compiled with module API=20060613, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
A quick fix:
Code:
[root@webserv ~]# yum remove php-pecl-apc-3.0.12-1.fc6
No error messages any more but still no APC
__________________
/(bb|[^b]{2})/ -- that is the question!

Last edited by pigpen; 6th June 2007 at 10:34 PM.
Reply With Quote
  #3  
Old 14th June 2007, 11:16 PM
cavicster Offline
Registered User
 
Join Date: Jun 2007
Posts: 1
I ran into this issues too. I think that the problem is that php-pecl-apc-3.0.12-1.fc6 is a Fedora Core 6 package. I opened a bug report: https://bugzilla.redhat.com/bugzilla....cgi?id=244045 (please confirm this if you have time)

Here is the workaround that I used:

1. yum install php-pear httpd-devel php-devel
2. pecl install apc
3. If you still have the php-pecl-apc-3.0.12-1.fc6 installed, the bad apc.so should get overwritten. The configuration should stay the same.
4. Restart apache.
5. Check your phpinfo.

Hope this helps.
Reply With Quote
Reply

Tags
fc6, inconsistency, php, upgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restart vs. Log Out Inconsistency billquinn Using Fedora 4 6th September 2009 10:44 AM
Printing to windows via SMB inconsistency cen Guides & Solutions (No Questions) 0 30th January 2007 07:57 AM
Inconsistency when using 'ls' command essdeeay Using Fedora 2 28th October 2005 02:57 PM


Current GMT-time: 08:52 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat