Bug #845

MyBB, dl(), and PHP 5.3.x - no dl() in many 5.3.x releases

Added by Ryan Gordon over 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:03/30/2010
Priority:NormalDue date:
Assignee:Ryan Gordon% Done:

0%

Category:PHP Parse Error
Target version:HEAD

Description

While working on a plugin recently I was getting white pages which I traced back to dl() trying to load the mysqli extension on line 126 of init.php from 1.4.11.

Upon a little research on php.net I found the following:
"This function has been removed from some SAPI's in PHP 5.3."

Yay. So 5.3.x releases might have dl() removed? How stupid. All because of the flame.so exploit. Screw a pooch.

I guess MyBB needs to check if dl() is available and working and if not load a custom dl() function?

For now since I full control over my local server I've gone in and set enable_dl to On in my php.ini... but I've read that some hosts are turning dl() off because of the exploit I mentioned above.


Related issues

Duplicated by MyBB - Bug #835: MyBB, dl(), and PHP 5.3.x - no dl() in many 5.3.x releases Closed 03/30/2010

History

#1 Updated by Ryan Gordon over 4 years ago

  • Project changed from MyBB to MyBB Merge System
  • Category deleted (PHP)

#2 Updated by Ryan Gordon over 4 years ago

  • Category set to PHP Parse Error
  • Status changed from New to Resolved
  • Assignee set to Ryan Gordon
  • Target version set to HEAD

Fixed in r4335

#3 Updated by Dylan Myers over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF