PHP Warning

Discussion in 'General' started by savago, Dec 21, 2009.

  1. savago

    savago Member

    [Mon Dec 21 15:15:47 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Dec 21 15:15:47 2009] [notice] Digest: generating secret for digest authentication ...
    [Mon Dec 21 15:15:47 2009] [notice] Digest: done
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/php_mapscript.so' - /usr/lib/php/modules/php_mapscript.so: undefined symbol: php_gd_gdImageCopy in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_dblib.so' - /usr/lib/php/modules/pdo_dblib.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
    [Mon Dec 21 15:15:47 2009] [notice] Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14 OpenSSL/1.0.0-fips-beta4 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations


    httpd -e DEBUG
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module auth_basic_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module auth_digest_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module authn_file_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module authn_alias_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module authn_anon_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module authn_dbm_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module authn_default_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module authz_host_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module authz_user_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module authz_owner_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module authz_groupfile_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module authz_dbm_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module authz_default_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module ldap_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module authnz_ldap_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module include_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module log_config_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module logio_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module env_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module ext_filter_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module mime_magic_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module expires_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module deflate_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module headers_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module usertrack_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module setenvif_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module mime_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module dav_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module status_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module autoindex_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module info_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module dav_fs_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module vhost_alias_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module negotiation_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module dir_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module actions_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module speling_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module userdir_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module alias_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module rewrite_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module proxy_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module proxy_balancer_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module proxy_ftp_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module proxy_http_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module proxy_connect_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module cache_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module suexec_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module disk_cache_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module cgi_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module perl_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module php5_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module proxy_ajp_module
    [Mon Dec 21 15:18:56 2009] [debug] mod_so.c(246): loaded module ssl_module
    [Mon Dec 21 15:18:56 2009] [warn] NameVirtualHost 11.22.33.44:80 has no VirtualHosts
    (98)Address already in use: make_sock: could not bind to address [::]:80
    (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
    no listening sockets available, shutting down
    Unable to open logs


    httpd -t
    [Mon Dec 21 15:19:33 2009] [warn] NameVirtualHost 11.22.33.44:80 has no VirtualHosts
    Syntax OK
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Which tutorial (URL) did you use to set up this server?
     
  3. savago

    savago Member

  4. falko

    falko Super Moderator Howtoforge Staff

    Not sure why this is happening, but you can comment out the modules php_mapscript.so and pdo_dblib.so in your php.ini (/etc/php.ini) and restart Apache.
     
  5. savago

    savago Member


    There is nothing about php_mapscript.so and pdo_dblib.so in /etc/php.ini.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Can you post the modules section of your php.ini?
     
  7. savago

    savago Member

    Ok, This is my php.ini
     

    Attached Files:

    Last edited: Dec 26, 2009
  8. alderinks

    alderinks New Member

    Found it!!

    While surfing for the exact same problem with squirrelmail and Fedora 12 I found this post:

    "Nevermind, I found the answer:
    fedora has multiple .ini files that load its php extensions.
    Adding the 'extension=php_mapscript.so' line to the gd.ini file in
    '/etc/php.d' directory solved the problem."

    This fixed my issue as well.

    Hope that helps!!:)
     
  9. savago

    savago Member

    Not working by me.
     
  10. falko

    falko Super Moderator Howtoforge Staff

    Did you restart Apache?
     
  11. savago

    savago Member

    apachectl stop
    apachectl start

    tail -f error_log

    [Wed Jan 06 10:45:27 2010] [notice] caught SIGTERM, shutting down
    [Wed Jan 06 10:45:30 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Wed Jan 06 10:45:30 2010] [notice] Digest: generating secret for digest authentication ...
    [Wed Jan 06 10:45:30 2010] [notice] Digest: done
    PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/php_mapscript.so' - /usr/lib/php/modules/php_mapscript.so: undefined symbol: php_gd_gdImageCopy in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_dblib.so' - /usr/lib/php/modules/pdo_dblib.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
    [Wed Jan 06 10:45:31 2010] [notice] Apache/2.2.14 (Unix) DAV/2 PHP/5.3.1 mod_ssl/2.2.14 OpenSSL/1.0.0-fips-beta4 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
     

Share This Page