WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#31613 closed defect (bug) (invalid)

Module 'raphf' already loaded in Unknown on line 0

Reported by: bobbingwide Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.1.1
Component: General Keywords:
Focuses: Cc:

Description

Ever since the upgrade to WordPress 4.1.1 my sites have been producing the following in the PHP error log.

 PHP Warning:  Module 'raphf' already loaded in Unknown on line 0

My sites are running PHP 5.3.29 on Linux.
raphf v 1.0.4 is enabled

Can anyone help explain this problem?

Change History (2)

#1 @SergeyBiryukov
6 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

According to http://www.somacon.com/p520.php:

There are two ways to load most extensions in PHP. One is by compiling the extension directly into the PHP binary. The other is by loading a shared extension dynamically via an ini file. The errors indicate that dynamic extensions are being loaded via .ini files, even though they are already compiled into the PHP binary.
...
To fix this problem, you must edit your php.ini (or extensions.ini) file and comment-out the extensions that are already compiled-in.

There are no references to raphf in WordPress core. Please try the support forums if you have further questions.

#2 @bobbingwide
6 years ago

Thanks Sergey. I don't have access to the php.ini on this hosting so could not check myself.

It's strange that the problem appeared to happen after the upgrade to 4.1.1, around 4pm UK time on the 18th Feb.

I received confirmation of the problem from my hosting company.

There are a number of .ini files in our server environment that PHP will read, some of which will load extensions.
One in particular had been updated recently to contain two lines to load "raphf.so",
which I have corrected.

Last edited 6 years ago by bobbingwide (previous) (diff)
Note: See TracTickets for help on using tickets.