Results 1 to 10 of 10

Thread: PHP + v1.20.5 = X_X

  1. #1
    Join Date
    Jun 2003
    Posts
    1,471

    PHP + v1.20.5 = X_X (or not, it seems)

    I just updated to the new version and -- be it related or not, I don't know, but I haven't touched anything else -- PHP throws "php_network_getaddresses: getaddrinfo failed: Name or service not known" whenever something is included via 'http://' or for that matter 'ftp://'. Should include include(), file(), fopen(), etc. etc..

    Any ideas? I have 2 people upset already :\

    Phi1.
    Last edited by l0rdphi1; 12-22-2003 at 12:02 AM.
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  2. #2
    Join Date
    Jun 2003
    Location
    UK
    Posts
    2,326
    tried recompiling? sounds like either you php.ini has been messed around with or its been recompiled with a bad configure line! check your phpinfo to see if that configure line looks normal, if so use a backup php.ini if you have one somewhere on your server

    Chris
    OptimumServers » Managed Dedicated Servers & General Systems Management » Coming Soon!
    ProWebUK - Quality Web Services
    DirectAdmin Server Checklist

  3. #3
    Join Date
    Jun 2003
    Posts
    1,471
    but how.. how did this happen? Doesn't make any sense.
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  4. #4
    Join Date
    Jun 2003
    Location
    UK
    Posts
    2,326
    No idea... maybe directadmin overwrites the php.ini....? would need to get John or Mark to confirm why or if directadmin is even the cause! Also, did you get it sorted?

    Chris
    OptimumServers » Managed Dedicated Servers & General Systems Management » Coming Soon!
    ProWebUK - Quality Web Services
    DirectAdmin Server Checklist

  5. #5
    Join Date
    Jun 2003
    Posts
    1,471
    It seems to have magically fixed itself as of this morning. I don't know what to say.
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  6. #6
    Hello,

    1.20.5 doesn't touch anything at all. All it updated was the DA binaries and the included default skins/templates. Checkout /usr/local/directadmin/scripts/update.sh to confirm.

    John

  7. #7
    Join Date
    Jun 2003
    Posts
    1,471
    Strange enough, I'd say. Thanks for the awesome support though.

    Must be an odd fluke in PHP itself.
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  8. #8
    Join Date
    Jun 2003
    Posts
    1,471
    It's doing this again right now! I contacted my provider lets see what they say.
    Last edited by l0rdphi1; 12-25-2003 at 07:59 PM.
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

  9. #9
    Join Date
    May 2003
    Location
    /home/admin
    Posts
    298
    Check to see if:

    allow_url_fopen = On

    in your php.ini file, and also, can you post your configure flags for php?

    Thanks.
    Matt Savona
    serveIO
    Creator of the DirectAdmin Enhanced Theme

  10. #10
    Join Date
    Jun 2003
    Posts
    1,471
    Code:
    [root@server1 root]# cat /usr/local/lib/php.ini|grep allow_url_fopen
    allow_url_fopen = On
    Code:
    [root@server1 root]# cat /usr/local/directadmin/customapache/configure.php
    #!/bin/sh
    ./configure \
            --with-apxs \
            --with-curl \
            --with-curl-dir=/usr/local/lib \
            --with-gd \
            --with-gd-dir=/usr/local/lib \
            --with-gettext \
            --with-jpeg-dir=/usr/local/lib \
            --with-kerberos \
            --with-mcrypt \
            --with-mysql \
            --with-pear \
            --with-png-dir=/usr/local/lib \
            --with-xml \
            --with-zlib \
            --with-zlib-dir=/usr/local/lib \
            --enable-bcmath \
            --enable-calendar \
            --enable-ftp \
            --enable-magic-quotes \
            --enable-sockets \
            --enable-track-vars
    Thanks
    Installatron Plugin is a native DirectAdmin plugin that provides you and your customers an intuitive interface to install, manage, upgrade, and backup/restore a premier collection of the best applications on the web, all instantly at the click of a button.

    Also: cPanel-to-DA converterBulk Domains and Sub-domain PluginDA User Tool

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •