473,383 Members | 1,984 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

using PDFlib

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
2 2165
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Randell D. | last post by:
Folks, I've read the PHP online help file and I believe the ClibPDF functionality is seperate, but similar to the PDFlib version - What is the difference? Why would one use one, instead of the...
2
by: bonehead | last post by:
Greetings, Apologies in advance for the crosspost. I would like to determine if the PDFlib library has been installed on a shared server which I do not administer. Is there a command I can run...
0
by: William Holroyd | last post by:
So I've got PHP to recognize mcrypt and pdflib in the phpinfo() output, but trying to use any of the functions fail with "...undefined function called..". There aren't any configurable files with...
0
by: ian douglas | last post by:
Hey all, Anyone have a wraper written as a drop-in replacement for PDFlib? That is, use their function names, parameters, pretty much identically? I'm making some slight modifications to an...
1
by: Alex Smith | last post by:
Hi friends, I want to open a .pdf file in in richTextBox using C#.Net,(Window Application). I have use this type of code,but I got "Catastrophic failure". I am trying this type of code. ...
0
by: RaymondPTong | last post by:
Hi there... I have Acrobat Reader 6.0 installed (yes, I know it's old, but that's what my company is using) on my machine and I have been trying to get the following C# code (and other similar...
0
by: Rul | last post by:
i have to build pdf files from tiff in a visual basic application, so i downloaded http://download.devparadise.com/pdflib-2.01.zip pdflib's 2.01 source to make the visual basic bind, but the vb...
0
by: raji20 | last post by:
Hello Guys, Im using pdflib for generating pdf, It is working fine, when I used a single page pdf as the template, but when I use a pdf with two pages I dont know how to write in first page and...
0
by: seth.northrop | last post by:
Hi, I get this error with the new PHP PDF Binaries: http://pecl.php.net/bugs/bug.php?id=9491&edit=1 And I've attempted to do the workaround (install a newer PDFLib binary). That fixes the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.