Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

dl() causes fatal error in PHP 5.3 #10

Closed
conf opened this issue Jun 22, 2010 · 4 comments
Closed

dl() causes fatal error in PHP 5.3 #10

conf opened this issue Jun 22, 2010 · 4 comments

Comments

@conf
Copy link
Contributor

conf commented Jun 22, 2010

dl() was removed in php 5.3, so detect.php just produces blank page because of fatal error in @dl() call.
Simple fix:
if (extension_loaded($dbext) || (function_exists('dl') && dl($dbext . '.' . PHP_SHLIB_SUFFIX))) {
$found[] = $dbext;
}

@conf
Copy link
Contributor Author

conf commented Jun 25, 2010

@adrianheine
Copy link
Contributor

This is fixed, close?

@conf
Copy link
Contributor Author

conf commented Oct 11, 2010

ok

@benruijl
Copy link

It isn't fixed in the main branch. I still get the fatal error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants