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

Web Hosting Configuration Help

P: n/a
I am using a web hosting service for my web site and it is running Apache
1.3.27 with PHP4 however when I try to run some of my PHP code it doesn't
have all the required libraries. Error message:

Warning: Unable to load dynamic library '/usr/lib/php4/readline.so' -
/usr/lib/php4/readline.so: cannot open shared object file: No such file or
directory in ...

I am developing locally on Windows XP so my question is where can I get a
pre-compiled readline.so library and when I get that do I just need to
upload it into the directory shown above? Will that solve my problem?

Best Regards,

Chris
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Chris Jordan wrote:
I am using a web hosting service for my web site and it is running Apache
1.3.27 with PHP4 however when I try to run some of my PHP code it doesn't
have all the required libraries.
What is the exact php version ? What is the function or code portion
produicing such an error ? Did you read php manual pages related to that
function ? Does it require php to be compiled with specific libs/options
? did you try to load readline with dl() function ? http://php.net/dl
(providing you know lib's path and it's already made on box). Did you
take time to get phpinfo(), check installed libs and make options (the
fist table row).
[...]
I am developing locally on Windows XP nobody is perfect ;) You should considere using the same configuration
for dev and production purposes. That will prevent you from wasting time
while going "live".
so my question is where can I get a
pre-compiled readline.so library and when I get that do I just need to
upload it into the directory shown above? Will that solve my problem? This is not windows™ ;))) compilation is required on each cpu because
it links needed libs using « real path » to them ... Probability that «
copying .so » solves your pb is REALLY low :)

Best Regards,

setLocale(LC_ALL, 'en_US');
gettext('Cordialement');

Thibaut.
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.