[php-maint] Bug#351662: php4: when trying to run a php script either by browser or by command line I get connect() failed, OSERR:111:"Connection refused"

tech tech at mediaforest.net
Mon Feb 6 14:59:40 UTC 2006


Package: php4
Version: 4:4.4.2-1
Severity: grave
Justification: renders package unusable

when trying to run the homepage of newly installed CMS phpwebsite I got several errors:
Interactive mode enabled

connect() failed

OSERR:111:"Connection refused"
PHP Fatal error:  Call to undefined function:  loadconfig() in /home/sites/pays_lnca/web2/phpwebsite/index.php on line 33

Fatal error: Call to undefined function:  loadconfig() in /home/sites/pays_lnca/web2/phpwebsite/index.php on line 33

what is very strange is that there's no connect command in the code, and the loadconfig function mentionned is located at line 30, not 33
and this function definition is in the same file so it should not be a problem to find as it's not an include

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.20
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)

Versions of packages php4 depends on:
ii  libapache-mod-php4            4:4.4.2-1  server-side, HTML-embedded scripti
ii  libapache2-mod-php4           4:4.4.2-1  server-side, HTML-embedded scripti
ii  php4-cgi                      4:4.4.2-1  server-side, HTML-embedded scripti
ii  php4-common                   4:4.4.2-1  Common files for packages built fr

php4 recommends no packages.

-- debconf information:
  php4/update_apache_php_ini: true




More information about the pkg-php-maint mailing list