ID: 21020 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: *Network Functions Operating System: RH 8.0 PHP Version: 4.3.0RC3 New Comment:
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. What is the exact nature of the problem? Does fsockopen() take longer then 4 seconds to timeout or is there another problem? Is 'dcs3401' a valid host name that resolves to an IP, or is it an invalid host? Previous Comments: ------------------------------------------------------------------------ [2002-12-14 17:53:37] [EMAIL PROTECTED] Information of OS, Webserver & PHP OS RedHat Linux 8.0 uname -a Linux mpoweb.dola.go.th 2.4.18-18.8.0bigmem #1 SMP Wed Nov 13 22:49:22 EST 2002 i686 i686 i386 GNU/Linux Apache 2.0.43 Compile configuration ./buildconf ./configure \ --prefix=/opt/apache2 \ --enable-modules=all \ --enable-mods-shared=all \ --enable-file-cache \ --enable-echo \ --enable-charset-lite \ --enable-cache \ --enable-disk-cache \ --enable-mem-cache \ --enable-example \ --enable-ext-filter \ --enable-case-filter \ --enable-case-filter-in \ --enable-deflate \ --enable-proxy \ --enable-proxy-connect \ --enable-proxy-ftp \ --enable-proxy-http \ --enable-ssl \ --enable-optional-hook-export \ --enable-optional-hook-import \ --enable-optional-fn-import \ --enable-optional-fn-export \ --enable-bucketeer \ --enable-suexec \ --enable-cgid PHP 4.3.0RC3 Compile configuration ./buildconf ./configure \ --enable-bcmath \ --enable-calendar \ --enable-ctype \ --enable-dbase \ --enable-dba \ --enable-dbx \ --enable-dio \ --enable-exif \ --enable-ftp \ --enable-freetype-4bit-antialias-hack \ --enable-gd-imgstrttf \ --enable-gd-native-ttf \ --enable-inline-optimization \ --enable-magic-quotes \ --enable-mbregex \ --enable-mbstring \ --enable-mbstr-enc-trans \ --enable-pic \ --enable-sablot-errors-descriptive \ --enable-safe-mode \ --enable-shmop \ --enable-sigchild \ --enable-sockets \ --enable-sysvsem \ --enable-sysvshm \ --enable-tokenizer \ --enable-track-vars \ --enable-trans-sid \ --enable-wddx \ --enable-xslt \ --enable-yp \ --prefix=/opt/php \ --with-apxs2=/opt/apache2/bin/apxs \ --with-bz2 \ --with-config-file-path=/opt/php/etc \ --with-cpdflib \ --with-curl \ --with-db3 \ --with-dom \ --with-dom-xslt \ --with-dom-exslt \ --with-exec-dir=/opt/php/bin \ --with-expat-dir=/usr \ --with-freetype-dir=/usr \ --with-gd \ --with-gdbm \ --with-gettext \ --with-gmp \ --with-iconv=/usr \ --with-imap=/usr \ --with-imap-ssl=/usr \ --with-java=/opt/j2sdk \ --with-jpeg-dir=/usr \ --with-kerberos \ --with-ldap \ --with-mcal=/usr \ --with-mcrypt=/usr \ --with-mhash=/usr \ --with-ming=/usr \ --with-mysql=/opt/mysql \ --with-mm \ --with-openssl=/usr \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-tiff-dir=/usr \ --with-png-dir=/usr \ --with-pspell=/usr \ --with-regex=system \ --with-sablot=/usr \ --with-expat-dir=/usr \ --with-sablot-js=/usr \ --with-t1lib \ --with-ttf \ --with-tsrm-pthreads \ --with-xml \ --with-expat-dir=/usr \ --with-xslt-sablot=/usr \ --with-expat-dir=/usr \ --with-xpm-dir=/usr/X11R6 \ --with-yaz \ --enable-libgcc \ --enable-shared=yes \ --enable-static=yes \ --enable-fast-install \ --with-gnu-ld \ --with-pic \ --with-zlib ------------------------------------------------------------------------ [2002-12-14 17:40:49] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-12-14 17:18:32] [EMAIL PROTECTED] function fsockopen() is slowly when use function fsockopen() and connect failed !!!ERROR!!! =========================================================== Warning: fsockopen() [function.fsockopen]: php_hostconnect: connect failed in /data/opt/htdocs/mpoweb/.net/netchecksite.php on line 64 Warning: fsockopen() [function.fsockopen]: unable to connect to dcs3401:30000 in /data/opt/htdocs/mpoweb/.net/netchecksite.php on line 64 =========================================================== and slowly to return netchecksite.php line 64 ============================================================ $sock = fsockopen(dcs3401, 30000, &$num, &$error, 4); ============================================================ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21020&edit=1
