|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-02-26 07:35 UTC] krakjoe@php.net
-Status: Open
+Status: Suspended
[2015-02-26 07:35 UTC] krakjoe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 00:00:02 2025 UTC |
Description: ------------ when executing (php -e /www/htdocs/script.php ) a simple script containing just "<?php apd_set_session_trace_socket("127.0.0.1",APD_AF_INET,8080,35); ?> i get the follow message: Warning: apd_set_session_trace_socket() expects parameter 2 to be long, string given in /www/htdocs/apd.php on line 12 Segmentation fault web server config: apache 1.3.36 + PHP 5.1.4 + APD 1.0.1 configure command: " './configure' '--with-apxs=/www/bin/apxs' '--enable-track-var' '--with-xmlrpc' '--enable-wddx' '--enable-memory-limit' '--with-iconv=/usr/bin/iconv' '--with-zlib' '--with-zend-vm=GOTO' '--enable-sockets' '--enable-mbstring'" php.ini: zend_extension =/usr/local/lib/php/extensions/no-debug-non-zts-20050922/apd.so apd.dumpdir ="/tmp/apd" apd.statement_trace = 1 Reproduce code: --------------- <?php apd_set_session_trace_socket("127.0.0.1",APD_AF_INET,8080,35); ?> Expected result: ---------------- Warning: apd_set_session_trace_socket() expects parameter 2 to be long, string given in /www/htdocs/apd.php on line 2 Segmentation fault Actual result: -------------- Warning: apd_set_session_trace_socket() expects parameter 2 to be long, string given in /www/htdocs/apd.php on line 2 Segmentation fault