Web Hosting Configuration Help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chris Jordan

    Web Hosting Configuration Help

    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


  • Thibaut

    #2
    Re: Web Hosting Configuration Help

    Chris Jordan wrote:
    [color=blue]
    > 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.[/color]

    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).
    [color=blue]
    > [...]
    > I am developing locally on Windows XP[/color]
    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".
    [color=blue]
    > 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?[/color]
    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 :)

    [color=blue]
    > Best Regards,[/color]
    setLocale(LC_AL L, 'en_US');
    gettext('Cordia lement');

    Thibaut.

    Comment

    Working...