HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   PHP Warning (http://www.howtoforge.com/forums/showthread.php?t=42053)

savago 21st December 2009 15:19

PHP Warning
 
[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

falko 22nd December 2009 16:42

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

savago 22nd December 2009 19:03

Quote:

Originally Posted by falko (Post 214263)
Which tutorial (URL) did you use to set up this server?

The Perfect Server - Fedora 12 x86_64 [ISPConfig 2]

falko 23rd December 2009 14:09

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.

savago 23rd December 2009 16:14

Quote:

Originally Posted by falko (Post 214358)
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.


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

falko 24th December 2009 16:03

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

savago 26th December 2009 11:47

1 Attachment(s)
Quote:

Originally Posted by falko (Post 214424)
Can you post the modules section of your php.ini?

Ok, This is my php.ini

alderinks 26th December 2009 23:13

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!!:)

savago 4th January 2010 12:40

Quote:

Originally Posted by alderinks (Post 214536)
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!!:)

Not working by me.

falko 5th January 2010 13:59

Did you restart Apache?


All times are GMT +2. The time now is 03:44.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.