By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,747 Members | 1,701 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,747 IT Pros & Developers. It's quick & easy.

using PDFlib

P: n/a
L.S.,

Would somebody help me about PDFlib using? I am a user of a Linux
machine (not root) and I have installed PDFlib somewhere in my home
directory. So I can't change the '/etc/php.ini' file.
If I use the next statement "dl('!home/lib/PDFlib.so')" in my script I
get the next error :
Warning: dl(): Unable to load dynamic library
'/usr/lib/php/extensions/local/usr/people/emami/lib/PDFlib.so' -
/usr/lib/php/extensions/local/usr/people/emami/lib/PDFlib.so: cannot
open shared object file

And it is understandable, because he are looking for a directory which
is not exist. I would appropriate if somebody would tell me to solve
this problem.

With regards,

Nader
Jan 19 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
NC
Nader Emami wrote:
>
I am a user of a Linux machine (not root) and I have installed
PDFlib somewhere in my home directory.
This is not going to work. All extensions must reside in the same
directory, which must be specified in php.ini. There is also a default

setting, but it is complicated. Read the documentaton:

http://www.php.net/dl
I would appropriate if somebody would tell me to solve this
problem.
Without root-level access, you can't.

Cheers,
NC

Jan 19 '07 #2

P: n/a
NC wrote:
Nader Emami wrote:
>I am a user of a Linux machine (not root) and I have installed
PDFlib somewhere in my home directory.

This is not going to work. All extensions must reside in the same
directory, which must be specified in php.ini. There is also a default

setting, but it is complicated. Read the documentaton:

http://www.php.net/dl
>I would appropriate if somebody would tell me to solve this
problem.

Without root-level access, you can't.

Cheers,
NC
Thank for you reaction! I have used 'fpdf' library and it does work.

Cheers,
Nader
Jan 25 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.