Please note, this information was copied from vbseo.com, now showing a database error. This is posted for reference since vbSEO seems to be going out of business:
If you ever need to uninstall vBSEO , you can use the following instructions. Make sure you carefully follow each step.
Login... (37 Replies)
Recently i found this for give to docker a "personal" ip
ip addr del 10.1.1.133/24 dev eth0
ip link add link eth0 dev eth0m type macvlan mode bridge
ip link set eth0m up
ip addr add 10.1.1.133/24 dev eth0m
route add default gw 10.1.1.1On container i did
... (0 Replies)
I'm New to AIX / VIOS
We're doing a FC switch cutover on an ibm device, connected via SAN.
How do I tell if one path to my remote disk is lost? (aix lvm)
How do I tell when my link is down on my HBA port?
Appreciate your help, very much! (4 Replies)
Actually I was facing the following issue while building my Yocto SDK on Docker container
sudo docker build --tag="akash/eclipse-che:6.5.0-1" --tag="akash/eclipse-che:latest" /home/akash/dockerimage.yocto.support/
Sending build context to Docker daemon 26.93MB
Step 1/5 : FROM eclipse/cpp_gcc
... (3 Replies)
I don't know why, but the rendering of my code mucks up the spacing and indentation, despite being correct in the original file. I'm having issues getting the following script to run (specifically the nested script at the end of the docker command near the end of the script; I think I'm not passing... (2 Replies)
Hello All,
I had recently learnt a bit of Docker(which provides containerization process).
Here are some of my learning points from it.
Let us start first with very basic question:
What is Docker:
Docker is a platform for sysadmins and developers to DEPLOY, DEVELOP and RUN applications ... (7 Replies)
Dear All,
After being active on the Node-RED forum for the last few weeks, I have been very impressed with Discourse, and my eyes have been opened.
https://www.discourse.org/
but not the paid /hosted offering, but using the open distribution:
https://github.com/discourse/discourse
... (52 Replies)
Discussion started by: Neo
52 Replies
LEARN ABOUT PHP
dl
DL(3) 1 DL(3)dl - Loads a PHP extension at runtimeSYNOPSIS
bool dl (string $library)
DESCRIPTION
Loads the PHP extension given by the parameter $library.
Use extension_loaded(3) to test whether a given extension is already available or not. This works on both built-in extensions and dynami-
cally loaded ones (either through php.ini or dl(3)).
Warning
This function has been removed from some SAPIs in PHP 5.3.
PARAMETERS
o $library
- This parameter is only the filename of the extension to load which also depends on your platform. For example, the sockets
extension (if compiled as a shared module, not the default!) would be called sockets.so on Unix platforms whereas it is called
php_sockets.dll on the Windows platform. The directory where the extension is loaded from depends on your platform: Windows - If
not explicitly set in the php.ini, the extension is loaded from C:php4extensions (PHP 4) or C:php5 (PHP 5) by default. Unix
- If not explicitly set in the php.ini, the default extension directory depends on
o whether PHP has been built with
--enable-debug or not
o whether PHP has been built with (experimental) ZTS (Zend Thread Safety) support or not
o the current internal
ZEND_MODULE_API_NO (Zend internal module API number, which is basically the date on which a major module API change hap-
pened, e.g. 20010901)
Taking into account the above, the directory then defaults to <install-dir>/lib/php/extensions/ <debug-or-not>-<zts-or-
not>-ZEND_MODULE_API_NO, e.g. /usr/local/php/lib/php/extensions/debug-non-zts-20010901 or /usr/local/php/lib/php/extensions/no-
debug-zts-20010901.
RETURN VALUES
Returns TRUE on success or FALSE on failure. If the functionality of loading modules is not available or has been disabled (either by set-
ting enable_dl off or by enabling safe mode in php.ini) an E_ERROR is emitted and execution is stopped. If dl(3) fails because the speci-
fied library couldn't be loaded, in addition to FALSE an E_WARNING message is emitted.
EXAMPLES
Example #1
dl(3) examples
<?php
// Example loading an extension based on OS
if (!extension_loaded('sqlite')) {
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
dl('php_sqlite.dll');
} else {
dl('sqlite.so');
}
}
// Or, the PHP_SHLIB_SUFFIX constant is available as of PHP 4.3.0
if (!extension_loaded('sqlite')) {
$prefix = (PHP_SHLIB_SUFFIX === 'dll') ? 'php_' : '';
dl($prefix . 'sqlite.' . PHP_SHLIB_SUFFIX);
}
?>
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.3.0 | |
| | |
| | dl(3) is now disabled in some SAPIs due to sta- |
| | bility issues. The only SAPIs that allow dl(3) |
| | are CLI and Embed. Use the Extension Loading |
| | Directives instead. |
| | |
+--------+---------------------------------------------------+
NOTES
Note
dl(3) is not supported when PHP is built with ZTS support. Use the Extension Loading Directives instead.
Note
dl(3) is case sensitive on Unix platforms.
Note
This function is disabled when PHP is running in safe mode.
SEE ALSO
Extension Loading Directives, extension_loaded(3).
PHP Documentation Group DL(3)