ID: 21653 Updated by: [EMAIL PROTECTED] Reported By: support at hostcolor dot com -Status: Feedback +Status: No Feedback Bug Type: Sockets related Operating System: RedHat 7.2 PHP Version: 4.3.0 New Comment:
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-02-11 06:45:47] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-02-11 01:53:52] laudanp at yahoo dot com I have a couple scripts that worked 100% of the time under PHP 4.2.3. Immediately after the upgrade to PHP 4.3 I get the function.fsockopen: php_hostconnect errors as well. Here are two of the links you can launch an "authorized" scan from to see the errors: http://www.computercops.biz/modules.php?name=Trojan_TCP_Scan http://www.computercops.biz/modules.php?name=TCP_Scanner These pages make use of the same code as posted earlier in this bug report by [EMAIL PROTECTED] To reiterate, under PHP 4.2.3 this code worked perfectly fine. Now PHP 4.3 has broken it and I cannot seem to fix it. ------------------------------------------------------------------------ [2003-01-21 22:31:28] dino at freeshell dot org I update my Install Shell Script for the new version Redhat 8.0, I only use Apache/ModSSL/OpenSSL and PHP with MySQL for start and enable sockets but sockets don't work, previous version work great [Note I make the Socket work great since Redhat 6.2 and early version of PHP 4.X.X] Here is the Script: #!/bin/sh # Traigamos los archivos necesarios. # Traigamos PHP # Version: 4.3.0 wget http://us2.php.net/distributions/php-4.3.0.tar.gz # Traigamos Apache # Version: 1.3.27 wget http://mirrors.ccs.neu.edu/Apache/dist/httpd/apache_1.3.27.tar.gz # Traigamos OpenSSL # Version: 0.9.7 wget http://www.openssl.org/source/openssl-0.9.7.tar.gz # Traigamos ModSSL # Version: 2.8.9-1.3.27 wget http://www.modssl.org/source/mod_ssl-2.8.12-1.3.27.tar.gz # Traigamos GD Boutell # Version: gd-1.8.4 # Ya incluida en PHP 4.3.0 Pero si usas 4.2.3 baja la libreria # wget http://www.boutell.com/gd/http/gd-1.8.4.tar.gz # Traigamos PDF Lib # Version: 4.0.2 # wget http://www.pdflib.com/pdflib/download/pdflib-4.0.2-Linux.tar.gz # Traigamos SWF # Version: 0.99 # ftp://ftp.sgi.com/sgi/graphics/grafica/flash/dist.99.linux.tar.Z # Require swf.tar.gz . # Traigamos Ming # Version: 0.2a # wget http://www.opaque.net/ming/ming-0.2a.tgz # Descomprimimos todos los Archivos. echo " => Extracting FILE PHP-APACHE-PHP-SSL"; tar -zxf php-4.3.0.tar.gz echo " => Extracting PHP OK"; tar -zxf apache_1.3.27.tar.gz echo " => Extracting APACHE OK"; tar -zxf openssl-0.9.7.tar.gz echo " => Extracting OPENSSL OK"; tar -zxf mod_ssl-2.8.12-1.3.27.tar.gz echo " => Extracting MODSSL OK"; # instalamos openssl cd openssl-0.9.7 make clean ./config --prefix=/usr/local/openssl make make test make install cd .. echo " => Install [ OPENSSL OK ] "; # instalamos modssl cd mod_ssl-2.8.12-1.3.27 make clean ./configure --with-apache=../apache_1.3.27 cd .. echo " => Install [ MODSSL OK ] "; # Configuracion Inicial de Apache cd apache_1.3.27 make clean ./configure --prefix=/usr/local/apache cd .. echo " => Install [ APACHE INITIAL OK ] "; # Configuracion e Instalacion de PHP cd php-4.3.0 make clean CFLAGS='-O2 -I/usr/local/openssl/include' \ ./configure \ --with-apache=../apache_1.3.27 \ --with-mysql \ --with-zlib \ --enable-memory-limit=yes \ --enable-debug=no \ --enable-track-vars \ --enable-snmp \ --enable-sockets \ --enable-ftp make make install cd .. echo " => Install [ PHP OK ] "; # Instalacion de Apache cd apache_1.3.27 SSL_BASE=/usr/local/openssl \ LIBS=-lpthread \ ./configure \ --prefix=/usr/local/apache \ --enable-module=ssl \ --activate-module=src/modules/php4/libphp4.a \ --enable-module=php4 \ --enable-module=auth_dbm \ --enable-module=auth_db make make certificate make install cd .. echo " => Install [ APACHE FINAL OK =) ] "; cd php-4.3.0 cp php.ini-dist /usr/local/lib/php.ini cd .. echo " => [ THE END PHP/Apache/SSL/ModSSL Installed Successfully =) D1n00z. ] "; Best Regards Dino. http://phpopenmonitor.sourceforge.net/ ------------------------------------------------------------------------ [2003-01-16 03:51:46] support at hostcolor dot com Yes there are always between 5 and 10 childs waiting for connections. ------------------------------------------------------------------------ [2003-01-15 13:08:41] [EMAIL PROTECTED] Doe your Webserver allow more then 1 Apache child to be running at any one time? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21653 -- Edit this bug report at http://bugs.php.net/?id=21653&edit=1