mod_fcgid: stderr: PHP Warning: imagecreatefrompng(): php_network_getaddresses: geta

Discussion in 'Installation/Configuration' started by kmchen, Feb 23, 2012.

  1. kmchen

    kmchen New Member

    Hi,

    I'm trying to install a Drupal multisite based on an existing and working website. I followed that tutorial to create a first site: http://drupalfr.org/node/6171
    The drupal works fine until it executes a module that calls imagecreatefrompng. then we get :
    "mod_fcgid: stderr: PHP Warning: imagecreatefrompng(): php_network_getaddresses: getaddrinfo failed: Name or service not known"

    The server is installed under Debian6 / ispconfig3. Here is the virualhost automaticaly created by ispconfig:
    # cat /etc/apache2/sites-enabled/ligamen.fr.vhost
    <Directory /var/www/ligamen.fr>
    AllowOverride None
    Order Deny,Allow
    Deny from all
    </Directory>

    <VirtualHost *:80>
    DocumentRoot /var/www/ligamen.fr/web

    ServerName ligamen.fr
    ServerAlias www.ligamen.fr
    ServerAdmin webmaster@ligamen.fr

    ErrorLog /var/log/ispconfig/httpd/ligamen.fr/error.log

    <Directory /var/www/ligamen.fr/web>
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>
    <Directory /var/www/clients/client1/web6/web>
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>


    <FilesMatch "\.ph(p3?|tml)$">
    SetHandler None
    </FilesMatch>
    <IfModule mod_fcgid.c>

    IdleTimeout 3600

    ProcessLifeTime 7200
    DefaultMinClassProcessCount 0
    DefaultMaxClassProcessCount 100

    IPCConnectTimeout 8
    IPCCommTimeout 360

    BusyTimeout 300

    </IfModule>
    <Directory /var/www/ligamen.fr/web>
    AddHandler fcgid-script .php .php3 .php4 .php5
    FCGIWrapper /var/www/php-fcgi-scripts/web6/.php-fcgi-starter .php
    Options +ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>
    <Directory /var/www/clients/client1/web6/web>
    AddHandler fcgid-script .php .php3 .php4 .php5
    FCGIWrapper /var/www/php-fcgi-scripts/web6/.php-fcgi-starter .php
    Options +ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    <IfModule mpm_itk_module>
    AssignUserId web6 client1
    </IfModule>

    <IfModule mod_dav_fs.c>
    </IfModule>


    </VirtualHost>

    Thanks a lot for your ideas.
     
  2. falko

    falko Super Moderator

    Seems to be some kind of resolving problem. What's in /etc/hosts?
     

Share This Page