Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as PHP by remote ( 17 years ago )
<?php
print PHP_EXTENSION_DIR . "n";
# returns "/usr/local/lib ...."                                                                                                

$path = '/home/self/pear/';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
ini_set('extension_dir', '/home/self/pear/extensions');

print PHP_EXTENSION_DIR . "n";

// load extension                                                                                                              
if(!extension_loaded($extension)) {
    dl($extension_soname) or die("Can't load extension $extension_fullnamen");
}


?>

 

Revise this Paste

Your Name: Code Language: