03-27-2014
Quote:
Also, I notice that your PHP configuration as ionCube.. if you have an ionCube application it will be slower because of the decryption of the PHP files required. I have a "personal policy" to never run any encrypted PHP software that uses a technology such as ionCube.
It's 4 CPU cores, 1.5 GB RAM and unmetered bandwidth
If I don't have ioncube certain apps like WHMCS will not work right?
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hello,
I have a Supermicro server with a P4SCI mother board running Debian Sarge 3.1. This is the "dmidecode" output related to RAM info:
RAM speed information is incomplete.. "Current Speed: Unknown", is there anyway/soft to get the speed of installed RAM modules? thanks!!
Regards :)... (0 Replies)
Discussion started by: Santi
0 Replies
2. UNIX for Dummies Questions & Answers
Hi everybody, I have a VPS account and I have hit my limit for domains to manage through Plesk. I now need to begin administering new domains through UNIX. I've never used UNIX before but do have some experience with command line environments. I was able to connect today (I think). So the next... (1 Reply)
Discussion started by: snarky
1 Replies
3. Filesystems, Disks and Memory
I analysed disk performance with blktrace and get some data:
read:
8,3 4 2141 2.882115217 3342 Q R 195732187 + 32
8,3 4 2142 2.882116411 3342 G R 195732187 + 32
8,3 4 2144 2.882117647 3342 I R 195732187 + 32
8,3 4 2145 ... (1 Reply)
Discussion started by: W.C.C
1 Replies
4. UNIX for Advanced & Expert Users
I'm wanting to do remote backups of the entire /home/* directory structure, which is where HG puts all www files and sets the user and group independently of any other user ( so /home/user1 will be using group user1, instead of a generic apache group)
The problem I'm running into is that only... (0 Replies)
Discussion started by: kettlewell
0 Replies
5. UNIX for Dummies Questions & Answers
Hi bros
I have a VPS 512mb (Burst 2GB) with Kloxo installed and hosting few sites on it with not much traffic
I am facing high cpu load for the last few days and seems mysqld is overloading the cpu
Any suggestion will be appreciated
Regards
Rizwan
Top output is as under
top -... (2 Replies)
Discussion started by: rizwan65
2 Replies
6. Web Development
Hello,
please when an VPS IP is changed which files on VPS i need to edit?
I mean basic apache, named files, which needs to be edited?
so far i listen its /var/named and domain zone file which contains old ip.. (2 Replies)
Discussion started by: postcd
2 Replies
7. Proxy Server
Hi guys
I need to setup server/router in my firm. We got from our ISP dedicated server in their data center. It has a static IP and it servers as replacement for out DSL connection. I configured our internal server to be border gateway and to connects to data center. "Remote" admin installed... (0 Replies)
Discussion started by: solaris_user
0 Replies
8. Shell Programming and Scripting
i have looked for a week and tried a few things, but nothing seems to work so joined here.
I have a go daddy account and also a vps in germany. In my vps, i run a code script (we will call it codegen) when i run ./codegen i get my question of how many codes do i want to make. With my answer... (9 Replies)
Discussion started by: uksatman
9 Replies
9. IP Networking
I have this in /etc/network/interfaces:
auto ens3
iface ens3 inet static
address 46.xx.xxx.1x7
netmask 255.255.252.0
broadcast 46.38.xxx.255
gateway 46.xx.xxx.1
auto ens3:0
iface ens3:0 inet static
address 188.xx.xx.xx5
netmask... (0 Replies)
Discussion started by: Douro
0 Replies
10. IP Networking
Code:
auto ens3
iface ens3 inet static
address 46.xx.xxx.1x7
netmask 255.255.252.0
broadcast 46.38.xxx.255
gateway 46.xx.xxx.1
auto ens3:0
iface ens3:0 inet static
address 188.xx.xx.xx5
netmask 255.255.255.255
I want the... (1 Reply)
Discussion started by: oshihari
1 Replies
DL(3) 1 DL(3)
dl - Loads a PHP extension at runtime
SYNOPSIS
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)