Date: 12/19/00
- Next message: James Moore: "[PHP-DEV] RE: [PHP-QA] Re:RC6 ISAPI problems"
- Previous message: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #8203 Updated: not proper one-line comment handling in <% %> tags"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 8254
Updated by: stas
Reported By: jl_villar <email protected>
Old-Status: Open
Status: Closed
Bug Type: Sockets related
Assigned To:
Comments:
Works for me with latest version on Linux. Probably your
path is wrong or permissions insufficient to connect to the
socket.
Previous Comments:
---------------------------------------------------------------------------
[2000-12-19 07:19:13] jl_villar <email protected>
my script in php is simple. Its a conection with a relative direction with a socket AF_UNIX like this:
-----------
$enlacePuente="../pge/fichero";
$fp = fsockopen($enlacePuente, 0, &$errno, &$errstr, 30);
if(!$fp)
{
genera_error("No activado puente a PGE: $errstr ($errno)en $enlacePuente");
}
-----------
I had try use absolute directions too (like "/etc/httpd/htdocs/myweb/pge/fichero" and others)and it doesn't work.
The program server that creates the point 'fichero' itīs had been programmed in C (its basically a server in AF_UNIX mode). This program donīt have errors and works fine in Linux with other clientīs, in fact all, php included, works fine in a Digital Alfa 4.0E (in all manners that I had probe in Linux 2.2.16)
Concretely the error that reports php its '(111) conection refused'. The same error that itīll report if php didn't find the point of the AF_UNIX socket.
---------------------------------------------------------------------------
[2000-12-19 06:18:01] stas <email protected>
Could you please bring example of the script that doesn't
work for you?
---------------------------------------------------------------------------
[2000-12-14 07:15:53] jl_villar <email protected>
fsockopen() does not works in AF_UNIX mode. This works fine in Digital Unix 4.0 but not in Linux 2.2.16
I had try use relative and absolute directions for the path to the socket but does not work.
thanks
JL
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8254
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: James Moore: "[PHP-DEV] RE: [PHP-QA] Re:RC6 ISAPI problems"
- Previous message: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #8203 Updated: not proper one-line comment handling in <% %> tags"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

