How to set up php.ini to load .so files using dl()?
| From: | Joelmon2001 at aol dot com | Date: | Sun, 20 Jan 2002 04:59:31 +0000 |
| Subject: | How to set up php.ini to load .so files using dl()? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5629@lists.php.net to get a copy of this message | ||
Hello, on linux, using apache, I have php 4.05
Anyway, I want to use the
dl() feature, but when I try I get errors stating it cannot find/load that
.so file
That's fine
So I checked the 'dynamic extensions' path in my php.ini file
It showed
./
as the path
So, can I create a directory and plop ming, gd library, and other .so files
in this directory, point to it using php.ini, restart apache, and then when I
load extensions dynamically, it will work on the php page?
I just want to use gd, ming, and others via
dl("module.so");
instead of reconfiguring php
I want to test it out, but I have no clue how to get started. Php.net I
didn't find out how, the general list offered literally no help. That's ok,
it's not such a common task. But how do I set up php to allow this to work
without fail? I've had enough fail ;)
Thanks
Joel