I'm trying to enable a custom PHP extension (PHPShadow) but I'n having some issues.
Extension loading not available for this sapi (apache2handler).
I'm receiving this error. How do I fix it? (My OS is Debian LAMP)
You must enable the dl()
function, more at http://php.net/manual/en/function.dl.php
Warning: This function was removed from most SAPIs in PHP 5.3.0
Now, instead, INI file extension loading should be used, more at http://php.net/manual/en/ini.core.php#ini.extension
Part of PHP Shadow code is:
if(!function_exists('dl')){
exit("Extension loading not available for this sapi (".php_sapi_name().").\n");
}
I guess you need to look for an updated PHP Shadow, if there is one.