[PHP-DEV] PHP 4.0 Bug #10101 Updated: apache + mysqld + php3 == libphp3.so incorrect symbol...
ID: 10101 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Old-Bug Type: Other Bug Type: *General Issues Assigned To: Comments: submitted twice..#10083 Previous Comments: --- [2001-04-01 16:40:59] [EMAIL PROTECTED] mysql_config --libs gives me : -static -L'/usr/local/mysql/lib/mysql' -lmysqlclient -lz -lcrypt -lnsl -lm --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10101edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0.5 Release Candidate testing
Hi, These are the results and questions from some tests I run yesterday on the last 4.0.5 release candidate. Note that all differences are from PHP 4.0.4pl1. 1. The function array_flip($array) puts one extra zero byte at the end of each element in the return array thus making the result non binary safe. 2. The nl2br function was modified to produce the correct tag br / instead the opening only one br. Wouldn't this affect somehow the existing applications? The nl2br() function is widely used and all modification to its output should be done *extremely* carefully. 3. The count_chars() function returns different result from the 4.0.4pl1 count_chars() function. 4. Where is the connection_timeout() function. Was it removed on purpose? 5. The following expression returns empty string: get_cfg_var("error_reporting") (I think this may be my problem in the testing). Best regards: -- Alexander Feldman Zend Technologies Ltd. phone: +972 3 6139665 ext. 113, fax: +972 3 6139671 http://www.zend.com/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10102 Updated: Parse error
ID: 10102 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Old-Bug Type: Scripting Engine problem Bug Type: Feature/Change Request Assigned To: Comments: empty() will only accept variables, no expressions the error message is a little misleading, do i move this to feature requests: "have a better error message when argument to empty() isn't a variable" Previous Comments: --- [2001-04-01 19:05:21] [EMAIL PROTECTED] Parse error: parse error, expecting `')'' in c:sitehomenews.php on line 21 Line 21: if(!empty($news-getField(url))) Line 22: echo $news-getField(url); What is wrong in this line? I changed it to: $thing=$news-getField(url); if(!empty($thing)) echo $news-getField(url); Now, it works fine. Weird... --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10102edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #8638 Updated: PHP handles permission problems ungracefully rather than letting Apache do it
ID: 8638 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Apache related Description: PHP handles permission problems ungracefully rather than letting Apache do it Yes, still happens with php4.04pl1. Previous Comments: --- [2001-03-31 08:08:34] [EMAIL PROTECTED] Does it still happen? IIRC it was fixed. --- [2001-01-10 10:31:13] [EMAIL PROTECTED] I'm using Apache 1.3 with the config line: AddType application/x-httpd-php php When the permissions on any .php file are not set correctly for Apache to read them, the error: Warning: Failed opening '/path/to/page.php' for inclusion (include_path='/path/to/phplib') in Unknown on line 0 appears. The same problem still occurs with include_path='.:/path/to/phplib' in php.ini. This is user-hostile - what ought to happen would be that Apache's normal 403 error mechanism should be invoked. --- Full Bug description available at: http://bugs.php.net/?id=8638 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10104 Updated: Feedback
ID: 10104 Updated by: sniper Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: MySQL related Bug Type: Feature/Change Request Assigned To: Comments: reclassified Previous Comments: --- [2001-04-01 19:59:49] [EMAIL PROTECTED] Suggestions: Add a new optional parameter in the mysql_fetch_array() function to move the internal pointer to the previous row in the result set. This can also be applyed to another fetch functions that work the same way. The mysql_data_seek() can also work in a relative method, moving the pointer 'n' rows before the actual row or 'n' rows after it. I don't know if this is possible, but I think this will be very useful. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10104edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10107: imap dosn't work
From: [EMAIL PROTECTED] Operating system: Redhat 6.1 PHP version: 4.0.4pl1 PHP Bug Type: IMAP related Bug description: imap dosn't work Dear sir I have php 4.0.4pl1 with imap-2000-2.6 ,krb5 1.1.1-25 apache 1.3.9 previously i have compiled php with following options './configure --with-imap --with-kerberos --with- mysql --with-gd --with-apxs=/usr/sbin/apxs --with-xml --enable-track-vars --enable-debugger --enable-versioning .At that time apache give me error that Cannot load /usr/modules/libphp4.so into server: /usr/modules/libphp4.so: undefined symbol: SSL_CTX_set_tmp_rsa_callback. Then i had compiled it with ./configure --with-imap-ssl --with-kerberos --with- mysql --with-gd --with-apxs=/usr/sbin/apxs --with-xml --enable-track-vars --enable-debugger --enable-versioning. It works fine with apache but imap dosn't seems working. Just go to this link www.eyes4web.com/demp.php .I had written only phpinfo() function in that file.It shows nothing about imap. Another thing there is no php.ini created in /usr/local/lib . So what should i do start imap.I want to run web-based mail service on my server. Regards Apurva Shah -- Edit Bug report at: http://bugs.php.net/?id=10107edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #8727 Updated: Post problem with thttpd
ID: 8727 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Other web server Assigned To: Comments: Can't reproduce this one with latest CVS. Can you please try latest snapshot from http://snaps.php.net/ ?? --Jani Previous Comments: --- [2001-01-15 17:15:29] [EMAIL PROTECTED] I can only get the first 16 post vars. Found bug #6269 that seems close to this one. My setup: thttpd-2.20 php-4.0.4.pl1 and php-4.0.3.pl1 Linux 2.2.x with libc php-configure: './configure' '--prefix=/usr' '--with-thttpd=../thttpd-2.20b' '--with-config-file-path=/etc' '--disable-debug' '--without-openssl' '--with-mysql=/usr' '--enable-trans-sid' The same script works just fine with apache/php. Can post source for the php script if needed. Server did not crash, just missing vars. BTW: using thttpd because the target system is an embedded x86 system. Ben R. Adams [EMAIL PROTECTED] --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8727edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] RE: [PHP-QA] PHP 4.0.5 Release Candidate testing
The nl2br() change shouldn't have a big effect as all browsers should be able to understand br / , if it were br/ then most browsers would choke on it (Except IE). Karl Austin KDA Web Services -Original Message- From: Alexander Feldman [mailto:[EMAIL PROTECTED]] Sent: 02 April 2001 10:00 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [PHP-QA] PHP 4.0.5 Release Candidate testing Hi, These are the results and questions from some tests I run yesterday on the last 4.0.5 release candidate. Note that all differences are from PHP 4.0.4pl1. 1. The function array_flip($array) puts one extra zero byte at the end of each element in the return array thus making the result non binary safe. 2. The nl2br function was modified to produce the correct tag br / instead the opening only one br. Wouldn't this affect somehow the existing applications? The nl2br() function is widely used and all modification to its output should be done *extremely* carefully. 3. The count_chars() function returns different result from the 4.0.4pl1 count_chars() function. 4. Where is the connection_timeout() function. Was it removed on purpose? 5. The following expression returns empty string: get_cfg_var("error_reporting") (I think this may be my problem in the testing). Best regards: -- Alexander Feldman Zend Technologies Ltd. phone: +972 3 6139665 ext. 113, fax: +972 3 6139671 http://www.zend.com/ -- PHP Quality Assurance Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Shared memory in extensions
Hi Can anybody help me? I'm trying to allocate some shared memory in the PHP_MINIT_FUNCTION - but it fails everytime during the shmget function. I then did a little stand-alone C-prog, that did the same (tried to allocate 3,5M of mem) and it works fine - everytime! Is there some issued when using shared mem in php extensions? BR Thomas -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10108: cc 1501:218 file XXX contains an incorrect file suffix
From: [EMAIL PROTECTED] Operating system: AIX V4.3.3 PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: cc 1501:218 file XXX contains an incorrect file suffix Hello, i tried to compile php-4.0.4pl1 on AIX V4.3.3 (ibm c compiler V4.4 with the lastest fixes) with the following configuration line ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/conf --enable-track-vars --without-xml --without-mysql --with-ibm-db2=/home/instdb2/sqllib --with-apxs=/usr/local/apache/bin/apxs --enable-c9x-inline before entering this configuration line, i made : export CFLAGS="-ma" At the end of the make command, i have the folliwg errors : cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_language_parser.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ini_parser.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_alloc.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_compile.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_constants.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_dynamic_array.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_execute.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_execute_API.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_highlight.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_llist.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_opcode.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_operators.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ptr_stack.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_stack.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_variables.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_API.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_extensions.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ini.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_hash.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_list.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_indent.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_builtin_functions.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_sprintf.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_language_scanner.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ini_scanner.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libsapi.al/sapi_apache.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libsapi.al/mod_php4.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libsapi.al/php_apache.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libmain.al/main.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libmain.al/internal_functions.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libmain.al/snprintf.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_sprintf.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libmain.al/safe_mode.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libmain.al/fopen-wrappers.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libmain.al/alloca.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_ini.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libmain.al/SAPI.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libmain.al/rfc1867.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libmain.al/php_content_types.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libmain.al/strlcpy.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libmain.al/strlcat.lo contains an incorrect file suffix cc: 1501-218 file .libs/libphp4.lax/libmain.al/mergesort.lo contains an incorrect file suffix cc: 1501-218 file
[PHP-DEV] PHP 4.0 Bug #10106 Updated: Garbage files created when trying to load an extension which doesn't exist(?)
ID: 10106 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Configuration Issues Assigned To: Comments: I can't reproduce this with latest CVS. Please try the latest snapshot from http://snaps.php.net/ --Jani Previous Comments: --- [2001-04-01 22:51:43] [EMAIL PROTECTED] The line: extension=satellite.so in /usr/local/lib/php.ini causes garbage files being created in root (/) directory: e.g. -rw-rw-r-- 1 root root 2184 Mar 30 14:05 P}5@P}5@`? -rw-rw-r-- 1 root root 364 Apr 2 02:45 P?*@P?*@@? -rw-rw-r-- 1 root root 182 Mar 30 14:31 P?*@P?*@`? -rw-rw-r-- 1 root root 182 Mar 30 14:57 ]???t?.? Contents of file looks like: [25-Mar-2001 01:50:18] PHP Warning: Unable to load dynamic library './satellite.so' - ./satellite.so: cannot open shared object file: No such file or directory in Unknown on line 0 [26-Mar-2001 00:50:28] PHP Warning: Unable to load dynamic library './satellite.so' - ./satellite.so: cannot open shared object file: No such file or directory in Unknown on line 0 [26-Mar-2001 10:58:29] PHP Warning: Unable to load dynamic library './satellite.so' - ./satellite.so: cannot open shared object file: No such file or directory in Unknown on line 0 php info: './configure' '--with-apache=../apache_1.3.14' '--enable-track-vars' '--enable-ftp' '--with-gd=/home/nick/graph/gd-1.8.3' '--with-msql' '--with-mysql=/var/lib/mysql' '--with-xml=../expat/xmlparse' '--enable-wddx' '--enable-bcmath' '--with-sybase=/opt/sybase-11.9.2' '--enable-sockets' '--without-imap-ssl' php ini file (error/log section) error_reporting = E_ALL ~E_NOTICE ; Show all errors except for notices display_errors = On ; Print out errors (as a part of the output) ; For production web sites, you're strongly encouraged ; to turn this feature off, and use error logging instead (see below). ; Keeping display_errors enabled on a production web site may reveal ; security information to end users, such as file paths on your Web server, ; your database schema or other information. display_startup_errors = On ; Even when display_errors is on, errors that occur during ; PHP's startup sequence are not displayed. It's strongly ; recommended to keep display_startup_errors off, except for ; when debugging. log_errors = On ; Log errors into a log file (server-specific log, stderr, or error_log (below)) ; As stated above, you're strongly advised to use error logging in place of ; error displaying on production web sites. track_errors= Off ; Store the last error/warning message in $php_errormsg (boolean) ;error_prepend_string = "font color=ff" ; string to output before an error message ;error_append_string = "/font"; string to output after an error message ;error_log = /tmp/php_errors ; log errors to specified file error_log = syslog ; log errors to syslog (Event Log on NT, not valid in Windows 95) warn_plus_overloading = Off ; warn if the + operator is used with strings --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10106edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10107 Updated: imap dosn't work
ID: 10107 User Update by: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: IMAP related Description: imap dosn't work Previous Comments: --- [2001-04-02 05:42:04] [EMAIL PROTECTED] Dear sir I have php 4.0.4pl1 with imap-2000-2.6 ,krb5 1.1.1-25 apache 1.3.9 previously i have compiled php with following options './configure --with-imap --with-kerberos --with- mysql --with-gd --with-apxs=/usr/sbin/apxs --with-xml --enable-track-vars --enable-debugger --enable-versioning .At that time apache give me error that Cannot load /usr/modules/libphp4.so into server: /usr/modules/libphp4.so: undefined symbol: SSL_CTX_set_tmp_rsa_callback. Then i had compiled it with ./configure --with-imap-ssl --with-kerberos --with- mysql --with-gd --with-apxs=/usr/sbin/apxs --with-xml --enable-track-vars --enable-debugger --enable-versioning. It works fine with apache but imap dosn't seems working. Just go to this link www.eyes4web.com/demp.php .I had written only phpinfo() function in that file.It shows nothing about imap. Another thing there is no php.ini created in /usr/local/lib . So what should i do start imap.I want to run web-based mail service on my server. Regards Apurva Shah --- Full Bug description available at: http://bugs.php.net/?id=10107 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Shared memory in extensions
On Mon, 2 Apr 2001, Thomas Wentzel wrote: Hi Can anybody help me? I'm trying to allocate some shared memory in the PHP_MINIT_FUNCTION - but it fails everytime during the shmget function. I then did a little stand-alone C-prog, that did the same (tried to allocate 3,5M of mem) and it works fine - everytime! Is there some issued when using shared mem in php extensions? On what platform is this? BR Thomas -- Alex -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Shared memory in extensions
Linux! RedHat 6.2, Apache 1.3.14, PHP 4.0.4pl1 I forgot to mention that because shmget fails and that it does so in PHP_MINIT_FUNCTION, apache wil not start! Thomas I compile the module _into_ PHP due to the Alexander Feldman wrote: On Mon, 2 Apr 2001, Thomas Wentzel wrote: Hi Can anybody help me? I'm trying to allocate some shared memory in the PHP_MINIT_FUNCTION - but it fails everytime during the shmget function. I then did a little stand-alone C-prog, that did the same (tried to allocate 3,5M of mem) and it works fine - everytime! Is there some issued when using shared mem in php extensions? On what platform is this? BR Thomas -- Alex -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10107 Updated: imap dosn't work
ID: 10107 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Bogus Bug Type: IMAP related Assigned To: Comments: I guess you figured out that you need --with-imap-ssl in your configure line? Anyway, this is no bug in PHP. Previous Comments: --- [2001-04-02 05:42:04] [EMAIL PROTECTED] Dear sir I have php 4.0.4pl1 with imap-2000-2.6 ,krb5 1.1.1-25 apache 1.3.9 previously i have compiled php with following options './configure --with-imap --with-kerberos --with- mysql --with-gd --with-apxs=/usr/sbin/apxs --with-xml --enable-track-vars --enable-debugger --enable-versioning .At that time apache give me error that Cannot load /usr/modules/libphp4.so into server: /usr/modules/libphp4.so: undefined symbol: SSL_CTX_set_tmp_rsa_callback. Then i had compiled it with ./configure --with-imap-ssl --with-kerberos --with- mysql --with-gd --with-apxs=/usr/sbin/apxs --with-xml --enable-track-vars --enable-debugger --enable-versioning. It works fine with apache but imap dosn't seems working. Just go to this link www.eyes4web.com/demp.php .I had written only phpinfo() function in that file.It shows nothing about imap. Another thing there is no php.ini created in /usr/local/lib . So what should i do start imap.I want to run web-based mail service on my server. Regards Apurva Shah --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10107edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10107 Updated: imap dosn't work
ID: 10107 User Update by: [EMAIL PROTECTED] Old-Status: Bogus Status: Closed Bug Type: IMAP related Description: imap dosn't work I have solved the problem. Previous Comments: --- [2001-04-02 07:12:05] [EMAIL PROTECTED] I guess you figured out that you need --with-imap-ssl in your configure line? Anyway, this is no bug in PHP. --- [2001-04-02 05:42:04] [EMAIL PROTECTED] Dear sir I have php 4.0.4pl1 with imap-2000-2.6 ,krb5 1.1.1-25 apache 1.3.9 previously i have compiled php with following options './configure --with-imap --with-kerberos --with- mysql --with-gd --with-apxs=/usr/sbin/apxs --with-xml --enable-track-vars --enable-debugger --enable-versioning .At that time apache give me error that Cannot load /usr/modules/libphp4.so into server: /usr/modules/libphp4.so: undefined symbol: SSL_CTX_set_tmp_rsa_callback. Then i had compiled it with ./configure --with-imap-ssl --with-kerberos --with- mysql --with-gd --with-apxs=/usr/sbin/apxs --with-xml --enable-track-vars --enable-debugger --enable-versioning. It works fine with apache but imap dosn't seems working. Just go to this link www.eyes4web.com/demp.php .I had written only phpinfo() function in that file.It shows nothing about imap. Another thing there is no php.ini created in /usr/local/lib . So what should i do start imap.I want to run web-based mail service on my server. Regards Apurva Shah --- Full Bug description available at: http://bugs.php.net/?id=10107 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10109: SMIME Encrypted email
From: [EMAIL PROTECTED] Operating system: Cobalt Linux PHP version: 4.0.3pl1 PHP Bug Type: *Mail Related Bug description: SMIME Encrypted email Sorry but this isn't really a bug, but I'm running out of people to ask. I've tried all the documentation FAQ's i can find and posted to lots of php users groups but haven't had a single reply. I would just like to ask if anyone knows how to send SMIME encrypted email (preferably using 168 bit 3DES) using a php script. I've got a thawte certificate on my web server and I have a personal certificate on my machine here. I've sent a signed email to root@mywebserver so it's got my public key for encryption. I'm a 3rd year university student on placement doing web programming. I can normally find out what I need to know from the manual or my fellow students as there is no programmer at this company besides me so I get no help or training. I would really appreciate it if someone has the time to help me with this as I'm really stuck now. Thanx :-) Mitchell -- Edit Bug report at: http://bugs.php.net/?id=10109edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10107 Updated: imap dosn't work
ID: 10107 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Bogus Bug Type: IMAP related Assigned To: Comments: good. Previous Comments: --- [2001-04-02 07:14:51] [EMAIL PROTECTED] I have solved the problem. --- [2001-04-02 07:12:05] [EMAIL PROTECTED] I guess you figured out that you need --with-imap-ssl in your configure line? Anyway, this is no bug in PHP. --- [2001-04-02 05:42:04] [EMAIL PROTECTED] Dear sir I have php 4.0.4pl1 with imap-2000-2.6 ,krb5 1.1.1-25 apache 1.3.9 previously i have compiled php with following options './configure --with-imap --with-kerberos --with- mysql --with-gd --with-apxs=/usr/sbin/apxs --with-xml --enable-track-vars --enable-debugger --enable-versioning .At that time apache give me error that Cannot load /usr/modules/libphp4.so into server: /usr/modules/libphp4.so: undefined symbol: SSL_CTX_set_tmp_rsa_callback. Then i had compiled it with ./configure --with-imap-ssl --with-kerberos --with- mysql --with-gd --with-apxs=/usr/sbin/apxs --with-xml --enable-track-vars --enable-debugger --enable-versioning. It works fine with apache but imap dosn't seems working. Just go to this link www.eyes4web.com/demp.php .I had written only phpinfo() function in that file.It shows nothing about imap. Another thing there is no php.ini created in /usr/local/lib . So what should i do start imap.I want to run web-based mail service on my server. Regards Apurva Shah --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10107edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10109 Updated: SMIME Encrypted email
ID: 10109 Updated by: jmoore Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *Mail Related Assigned To: Comments: This is not the place to ask support questions under any circumstances whatso ever. Please read bugs dos and donts before posting another bug report. You might like to try passing arguments to another command line programm or openssl might support this (currently undocumented but can be found in php4/ext/openssl James Previous Comments: --- [2001-04-02 07:21:20] [EMAIL PROTECTED] Sorry but this isn't really a bug, but I'm running out of people to ask. I've tried all the documentation FAQ's i can find and posted to lots of php users groups but haven't had a single reply. I would just like to ask if anyone knows how to send SMIME encrypted email (preferably using 168 bit 3DES) using a php script. I've got a thawte certificate on my web server and I have a personal certificate on my machine here. I've sent a signed email to root@mywebserver so it's got my public key for encryption. I'm a 3rd year university student on placement doing web programming. I can normally find out what I need to know from the manual or my fellow students as there is no programmer at this company besides me so I get no help or training. I would really appreciate it if someone has the time to help me with this as I'm really stuck now. Thanx :-) Mitchell --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10109edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10110: Problem with fopen() - Bad file descriptor
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: *Directory/Filesystem functions Bug description: Problem with fopen() - Bad file descriptor I have used and tested a script on linux machine with an apache webserver and php4 installed, i got error of a bad file desctiptor in the fopen statement: The code i used is: $page="http://www.feri.uni-mb.si/"; $fp=fopen($page,"r") or die("Error"); when the url was http://www.senser.f2s.com/welcome.html" (my website) everthing worked fine! Ales! -- Edit Bug report at: http://bugs.php.net/?id=10110edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10109 Updated: SMIME Encrypted email
ID: 10109 Updated by: sniper Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: *Mail Related Assigned To: Comments: The support for smime was just added into openssl extension in CVS. Get the latest CVS snapshot from http://snaps.php.net/ --Jani Previous Comments: --- [2001-04-02 07:26:05] [EMAIL PROTECTED] This is not the place to ask support questions under any circumstances whatso ever. Please read bugs dos and donts before posting another bug report. You might like to try passing arguments to another command line programm or openssl might support this (currently undocumented but can be found in php4/ext/openssl James --- [2001-04-02 07:21:20] [EMAIL PROTECTED] Sorry but this isn't really a bug, but I'm running out of people to ask. I've tried all the documentation FAQ's i can find and posted to lots of php users groups but haven't had a single reply. I would just like to ask if anyone knows how to send SMIME encrypted email (preferably using 168 bit 3DES) using a php script. I've got a thawte certificate on my web server and I have a personal certificate on my machine here. I've sent a signed email to root@mywebserver so it's got my public key for encryption. I'm a 3rd year university student on placement doing web programming. I can normally find out what I need to know from the manual or my fellow students as there is no programmer at this company besides me so I get no help or training. I would really appreciate it if someone has the time to help me with this as I'm really stuck now. Thanx :-) Mitchell --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10109edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Shared memory in extensions
On Mon, 2 Apr 2001, Thomas Wentzel wrote: Linux! RedHat 6.2, Apache 1.3.14, PHP 4.0.4pl1 I forgot to mention that because shmget fails and that it does so in PHP_MINIT_FUNCTION, apache wil not start! With what parameters are you calling shmget? What is the errno after this call? -- Alex Thomas I compile the module _into_ PHP due to the Alexander Feldman wrote: On Mon, 2 Apr 2001, Thomas Wentzel wrote: Hi Can anybody help me? I'm trying to allocate some shared memory in the PHP_MINIT_FUNCTION - but it fails everytime during the shmget function. I then did a little stand-alone C-prog, that did the same (tried to allocate 3,5M of mem) and it works fine - everytime! Is there some issued when using shared mem in php extensions? On what platform is this? BR Thomas -- Alex -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Shared memory in extensions
shmid=shmget((key_t)5346,sizeof(dbinfo),0666|IPC_CREAT); which returns -1 I just found something about a patch to apache, that should enable som shared memory pools across http session! Is this something I should use? It was a rather old patch (for apache 1.3.4/5)... Thanx Thomas Alexander Feldman wrote: On Mon, 2 Apr 2001, Thomas Wentzel wrote: Linux! RedHat 6.2, Apache 1.3.14, PHP 4.0.4pl1 I forgot to mention that because shmget fails and that it does so in PHP_MINIT_FUNCTION, apache wil not start! With what parameters are you calling shmget? What is the errno after this call? -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Shared memory in extensions
Thomas, When shmget() fails, it sets errno. It would be useful if you could provide this information (see shmget(2)). Also, do you have a URL got SHM across HTTP patch? This sounds like fun =) Gavin On Mon, 2 Apr 2001, Thomas Wentzel wrote: shmid=shmget((key_t)5346,sizeof(dbinfo),0666|IPC_CREAT); which returns -1 I just found something about a patch to apache, that should enable som shared memory pools across http session! Is this something I should use? It was a rather old patch (for apache 1.3.4/5)... Thanx Thomas Alexander Feldman wrote: On Mon, 2 Apr 2001, Thomas Wentzel wrote: Linux! RedHat 6.2, Apache 1.3.14, PHP 4.0.4pl1 I forgot to mention that because shmget fails and that it does so in PHP_MINIT_FUNCTION, apache wil not start! With what parameters are you calling shmget? What is the errno after this call? -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10111: e modifier alters string extraction in preg_replace
From: [EMAIL PROTECTED] Operating system: Linux Debian PHP version: 4.0.4pl1 PHP Bug Type: *Regular Expressions Bug description: e modifier alters string extraction in preg_replace A short example : $newsitem = preg_replace('/(([a-zA-Z-]+) ([^]*)analyze="[0-9]*"([^]*))(.*?)(\/\\2)/mse', "'\\1'.transformNewsitemPart('\\5').'\\6'", $newsitem); where I transform the text between any html tag with "analyze" attribute. The problem is that the preg_replace function with e modifier adds backslashes before any " in the matched text (\\5) BEFORE the function transformNewsitemPart is interpreted. The behaviour is new in php 4.0.4. It was not present in php 4.0.3. -- Edit Bug report at: http://bugs.php.net/?id=10111edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10112: null pointerexception
From: [EMAIL PROTECTED] Operating system: windows 95 PHP version: 4.0.4pl1 PHP Bug Type: Feature/Change Request Bug description: null pointerexception -- Edit Bug report at: http://bugs.php.net/?id=10112edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] documenting extensions
Can anyone give me some pointers on how I might go about documenting the openSSL extension? ATM, there is a readme, but I would like to put this stuff in the manual, with some examples. Thanks, --Wez. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10112 Updated: null pointerexception
ID: 10112 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Feature/Change Request Assigned To: Comments: This is the most useless bug report I even encountered. Please read www.php.net/bugs-dos-and-donts.php before sumbitting a report. Previous Comments: --- [2001-04-02 08:34:41] [EMAIL PROTECTED] --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10112edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10112 Updated: null pointerexception
ID: 10112 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Feature/Change Request Assigned To: Comments: not enough info ... Previous Comments: --- [2001-04-02 08:37:30] [EMAIL PROTECTED] This is the most useless bug report I even encountered. Please read www.php.net/bugs-dos-and-donts.php before sumbitting a report. --- [2001-04-02 08:34:41] [EMAIL PROTECTED] --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10112edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] documenting extensions
Hi On Mon, Apr 02, 2001 at 01:42:40PM +0100, Wez Furlong wrote: Can anyone give me some pointers on how I might go about documenting the openSSL extension? ATM, there is a readme, but I would like to put this stuff in the manual, with some examples. There are some docs, see http://www.php.net/manual/en/ref.openssl.php Perhaps more info should be added. How's your OpenSSL work going? Stig -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] documenting extensions
On 2001-04-02 13:43:18, "Stig Venaas" [EMAIL PROTECTED] wrote: On Mon, Apr 02, 2001 at 01:42:40PM +0100, Wez Furlong wrote: Can anyone give me some pointers on how I might go about documenting the openSSL extension? ATM, there is a readme, but I would like to put this stuff in the manual, with some examples. There are some docs, see http://www.php.net/manual/en/ref.openssl.php Perhaps more info should be added. It's time I updated my local copy of the docs - I didn't know those existed! OK, so how do I add docs for my new functions? Should I pass them on to you? How's your OpenSSL work going? Pretty good - I just added some S/MIME functions to CVS (I don't know if you saw the commit messages; I sent a mail to the list too). Those big changes to the file handling for the whole of PHP we discussed a couple of weeks ago are on temporary hold - I might get time to make a start at the weekend. It's a big job and I don't want to interfere with ongoing development here right at this moment in time. --Wez. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] documenting extensions
On Mon, Apr 02, 2001 at 02:07:27PM +0100, Wez Furlong wrote: On 2001-04-02 13:43:18, "Stig Venaas" [EMAIL PROTECTED] wrote: On Mon, Apr 02, 2001 at 01:42:40PM +0100, Wez Furlong wrote: Can anyone give me some pointers on how I might go about documenting the openSSL extension? ATM, there is a readme, but I would like to put this stuff in the manual, with some examples. There are some docs, see http://www.php.net/manual/en/ref.openssl.php Perhaps more info should be added. It's time I updated my local copy of the docs - I didn't know those existed! OK, so how do I add docs for my new functions? Should I pass them on to you? How's your OpenSSL work going? Pretty good - I just added some S/MIME functions to CVS (I don't know if you saw the commit messages; I sent a mail to the list too). Great! I didn't see it, have been too busy. I was thinking slightly of doing it some time, glad you did it. There's been a few asking for it. Don't you have CVS access to the manual? I think the tree is called manual, just try to check out manual instead of php4. Those big changes to the file handling for the whole of PHP we discussed a couple of weeks ago are on temporary hold - I might get time to make a start at the weekend. It's a big job and I don't want to interfere with ongoing development here right at this moment in time. Right. I was just wondering, no hurry... Stig -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] documenting extensions
Stig Venaas wrote: On Mon, Apr 02, 2001 at 02:07:27PM +0100, Wez Furlong wrote: Don't you have CVS access to the manual? I think the tree is called manual, just try to check out manual instead of php4. No, the manual is in phpdoc. -Egon -- SIX Offene Systeme GmbH Stuttgart - Berlin Sielminger Strae 63 D-70771 Leinfelden-Echterdingen Fon +49 711 9909164 Fax +49 711 9909199 http://www.six.de -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10113: allow_persistent directive doesn't work
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: PHP options/info functions Bug description: allow_persistent directive doesn't work To prevent the use of persistent connections I've put the following lines in my php.ini: mysql.allow_persistent = Off ; pgsql.allow_persistent = Off ; When I look at the output of phpinfo() I can see that PHP reads my settings, because it reports persistent links to be off. Nevertheless, PHP still allows persistent connections, so every now and then I run out of available database backends because too many of them are idling. I solved this problem by patching the source code (modified ext/pgsql/pgsql.c line 462 and ext/mysql/php_mysql.c line 597, changed "1" into "0"), but I do not consider this as a 'clean' solution, since I have to patch the source every time I update PHP. You can view phpinfo()'s output at: http://www.schapendonk.org/config Thanks for your time to look into this problem. Regards, Martin Schapendonk -- Edit Bug report at: http://bugs.php.net/?id=10113edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] PHP 4.0.5 Release Midgard Problems
On Mon, 02 Apr 2001, Alexander Bokovoy wrote: Andrei didn't use C coding in Smarty simply because his team failed to produce effective solution in reasonable time, but it does not mean that such solution impossible (no offense for IPSI at all, just facts from Smarty documentation). We have spent about three years for it and did such C-based template engine which proven to be fast and effective. Please, do not make rash assumptions about why or why not we made Smarty the way it is. There are enough bad assumptions in the world as it is. -Andrei * I don't have a solution but I admire the problem. * -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] PHP 4.0.5 Release Midgard Problems
On Mon, 02 Apr 2001, Andi Gutmans wrote: I very much liked Andrei's implementation of Smary templates. It uses the Zend (PHP) scripting language and caches templated scripts without messing with the core of PHP. Just nitpicking, Andi, but really, it's Zend that needs to be in parenthesis (if at all present), rather than PHP. That's the name of the language. -Andrei * The best source is the source code. * -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10114: Error reading LONG fields (ntext) in MSSQL (SQL Server) (bug #5237)
From: [EMAIL PROTECTED] Operating system: Linux (Debian) 2.2.12 PHP version: 4.0.4pl1 PHP Bug Type: ODBC related Bug description: Error reading LONG fields (ntext) in MSSQL (SQL Server) (bug #5237) _Reopening the case of bug 5237_ A field defined in a MSSQL-table as "ntext" crashes PHP when a query (including the ntext-field in the resultset) is preprared/executed. This behaviour still exists in the PHP-version 4.0.4pl1. Feel free to contact me for more information or tests. _gdb backtrace_ (gdb) run -X Starting program: /www/bin/httpd -X [New Thread 1024 (runnable)] Program exited with code 01. (gdb) bt No stack. -- Edit Bug report at: http://bugs.php.net/?id=10114edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10115: segmentation fault
From: [EMAIL PROTECTED] Operating system: linux 2.4.3 PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: segmentation fault got segfault using shm_attach(): 1) script started as user A creating shared memory block: shm_attach($mem_id, $mem_size, 0600); 2) same script, but started as user B trying shm_attach($mem_id, $mem_size, 0600); (it cannot be done, because access rights is 0600 - memory is for owner only) the result is segmentation fault. PHP/4.0.4pl1 Linux 2.2.16 php config: ./configure \ --disable-session \ --disable-pear \ --disable-pic \ --with-gdbm --disable-dbm \ --with-mysql=/usr/local \ --with-mcrypt=/usr/local \ --disable-debug \ --enable-sysvshm \ --enable-sysvsem \ --disable-xml -- Edit Bug report at: http://bugs.php.net/?id=10115edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Re: [PHP-QA] PHP 4.0.5 Release Candidate testing
On Mon, 02 Apr 2001, Alexander Feldman wrote: Hi, These are the results and questions from some tests I run yesterday on the last 4.0.5 release candidate. Note that all differences are from PHP 4.0.4pl1. 1. The function array_flip($array) puts one extra zero byte at the end of each element in the return array thus making the result non binary safe. I've just fixed it in CVS. 3. The count_chars() function returns different result from the 4.0.4pl1 count_chars() function. Examples? -Andrei "The only true currency in this bankrupt world is what we share with each other when we're uncool." -- Lester Bangs, from the film 'Almost Famous' -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Re: [PHP-QA] PHP 4.0.5 Release Candidate testing
On Mon, 2 Apr 2001, Andrei Zmievski wrote: On Mon, 02 Apr 2001, Alexander Feldman wrote: Hi, These are the results and questions from some tests I run yesterday on the last 4.0.5 release candidate. Note that all differences are from PHP 4.0.4pl1. 1. The function array_flip($array) puts one extra zero byte at the end of each element in the return array thus making the result non binary safe. I've just fixed it in CVS. Great. 3. The count_chars() function returns different result from the 4.0.4pl1 count_chars() function. Examples? Ok, now I analyzed the output more carefully - the problem had been in 4.0.4 - the count_chars function there doesn't create element for the byte with value 255. This is fixed here - I do not expect problems with this function (BTW, it doesn't seem to be widely used)... Attached is a script that reproduces the difference. -Andrei "The only true currency in this bankrupt world is what we share with each other when we're uncool." -- Lester Bangs, from the film 'Almost Famous' Thanks: -- Alex for ($i = 0; $i = 4; $i++) { $res = count_chars("Mary had a little lamb and she loved it so.", $i); if (is_array($res)) { foreach ($res as $x =; $y) print("$x($y) "); print("\n"); } else { if (4 == $i) $res = addcslashes($res, "\0..\377"); print("$res\n"); } } -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] RE: [PHP-QA] PHP 4.0.5 Release Candidate testing
1. The function array_flip($array) puts one extra zero byte at the end of each element in the return array thus making the result non binary safe. I've just fixed it in CVS. How critical is this? does it need to also be in 4.0.5 (sorry Zeev ;)) James -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #7713 Updated: snmp functions not returning any data
ID: 7713 User Update by: [EMAIL PROTECTED] Status: Closed Bug Type: SNMP related Description: snmp functions not returning any data Sorry, didn't get to you - this indeed fixed this (particular!) problem. Thanks for your assistance. Previous Comments: --- [2001-01-12 10:34:41] [EMAIL PROTECTED] No feedback -- closed. (considered problem solved) --Jani --- [2000-12-05 18:37:14] [EMAIL PROTECTED] You haven't compiled snmp as shared extension for PHP. Put a ; in front of the extension=snmp.so in php.ini. Check that you have /usr/local/lib in /etc/ld.so.conf (if it isn't add it and run ldconfig). Then try to start apache again. --Jani --- [2000-12-05 13:48:21] [EMAIL PROTECTED] Ooops, getting tired.: libsnmp.so is in /usr/local/lib as you'd expect. Changed extension_dir back to /usr/local/lib, but same problem: "/usr/local/lib/snmp.so: cannot open shared object file: no such file or directory in Unknown on line 0'. --- [2000-12-05 13:38:20] [EMAIL PROTECTED] For some reason, php stopped compiling altogether --with-snmp. (perhaps due to attempting compile with most recent version of ucd-snmp?). So.. Followed previous instructions, plus I recompiled ucd-snmp with --enable-shared After this, php compiled fine with: --with-apxs --with-pgsql --with-snmp. The extension_dir was not looking in the right place for snmp.so, so I set extension_dir in php.ini to "/usr/share/snmp" (location of snmp.so). However, on restarting Apache, error in /var/log/httpd/error.log: PHP Warning: Unable to load dynamic library '/usr/share/snmp.so' - /usr/share/snmp/snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0. [Repeated again] Thanks... --- [2000-12-04 12:30:39] [EMAIL PROTECTED] Where is the snmp.so located in your system? Is the path of it in /etc/ld.so.conf ?? If not, add it and run ldconfig. --Jani --- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=7713 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10098 Updated: can't start php.exe
ID: 10098 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Bogus Bug Type: *General Issues Assigned To: Comments: Just a note: some PHP extensions require external libraries. Obtaining these libraries is a user's responsibility, and AFAIK none of such extensions is enabled by default. Or did php.exe fail to start with default php.ini? Previous Comments: --- [2001-04-01 14:06:29] [EMAIL PROTECTED] Not a PHP bug. Complain to Microsoft. :) --- [2001-04-01 12:07:08] [EMAIL PROTECTED] when i installed php on my computer it was impossible to start php.exe because Odbs32.dll was missing. this .dll comes with ms-office, but not with win'98 distribution! --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10098edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Shared memory in extensions
Hi Thomas, I tried to create a shared segment of size 5 megabytes in the PHP_MINIT_FUNCTION and I had no problems. The situation you described seems as you have called shmctl with IPC_RMID but not everyone had detached from the segment. Then you tried to use shmget and it failed - remove manually the shared memory segment and try again. -- Alexander Feldman Zend Technologies Ltd. phone: +972 3 6139665 ext. 113, fax: +972 3 6139671 http://www.zend.com/ On Mon, 2 Apr 2001, Thomas Wentzel wrote: Hehe - sorry :) Errno is set to 43 (Identifier removed (?)) The URL is: http://www.humanfactor.com/cgi-bin/cgi-delegate/apache-ML/nh/1999/Jan/0467.html - enjoy ;) Thomas Gavin Sherry wrote: Thomas, When shmget() fails, it sets errno. It would be useful if you could provide this information (see shmget(2)). Also, do you have a URL got SHM across HTTP patch? This sounds like fun =) Gavin On Mon, 2 Apr 2001, Thomas Wentzel wrote: shmid=shmget((key_t)5346,sizeof(dbinfo),0666|IPC_CREAT); which returns -1 I just found something about a patch to apache, that should enable som shared memory pools across http session! Is this something I should use? It was a rather old patch (for apache 1.3.4/5)... Thanx Thomas Alexander Feldman wrote: On Mon, 2 Apr 2001, Thomas Wentzel wrote: Linux! RedHat 6.2, Apache 1.3.14, PHP 4.0.4pl1 I forgot to mention that because shmget fails and that it does so in PHP_MINIT_FUNCTION, apache wil not start! With what parameters are you calling shmget? What is the errno after this call? -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10105 Updated: manual_en.chm causes an error in hh.exe when trying to open
ID: 10105 Updated by: jmoore Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Documentation problem Assigned To: Comments: They will be rebuilt and readded to the cvs asap. Seems they got corrupted when imported into our phpweb cvs. - James Previous Comments: --- [2001-04-01 20:13:35] [EMAIL PROTECTED] When I try to open manual_en.chm, I get: HH caused an invalid page fault in module ITSS.DLL at 0167:5d48d301 I have removed and replaced hh on my system, and it works fine with many other chm files (including a copy of mysql.chm and the latest french version of the php manual in .chm format). I have downloaded the manual_en.chm several times, from the main site, and from two mirrors. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10105edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] mail.c
I was just reading through mail.c and this stuck out to me as seeming a little strange.. can anyone explain it?? (lines 43-46) #ifdef COMPILE_DL_STANDARD ZEND_GET_MODULE(odbc) #endif Why is it odbc? is this a careless ctrl-c ctrl-v someone has done or should it actually be this? cheers, James -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Re: [PHP-QA] PHP 4.0.5 Release Candidate testing
Andrei, Can you please merge this to 4.0.5. I think it should be in and we better release a final RC6. I think it's better to have another quick RC (I can roll it today or tomorrow) before we get 4.0.5 out of the door. Andi At 08:25 AM 4/2/2001 -0500, Andrei Zmievski wrote: On Mon, 02 Apr 2001, Alexander Feldman wrote: Hi, These are the results and questions from some tests I run yesterday on the last 4.0.5 release candidate. Note that all differences are from PHP 4.0.4pl1. 1. The function array_flip($array) puts one extra zero byte at the end of each element in the return array thus making the result non binary safe. I've just fixed it in CVS. 3. The count_chars() function returns different result from the 4.0.4pl1 count_chars() function. Examples? -Andrei "The only true currency in this bankrupt world is what we share with each other when we're uncool." -- Lester Bangs, from the film 'Almost Famous' -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Re: [PHP-QA] PHP 4.0.5 Release Candidate testing
It's done. On Mon, 02 Apr 2001, Andi Gutmans wrote: Andrei, Can you please merge this to 4.0.5. I think it should be in and we better release a final RC6. I think it's better to have another quick RC (I can roll it today or tomorrow) before we get 4.0.5 out of the door. Andi -Andrei * Non-volatile, random-access, analog memory store... a book. * -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Re: [PHP-QA] PHP 4.0.5 Release Candidate testing
Thanks! Does anyone else have any critical bug fixes which need to be in 4.0.5? (I mean critical ones and not huge patches). Andi At 11:17 AM 4/2/2001 -0500, Andrei Zmievski wrote: It's done. On Mon, 02 Apr 2001, Andi Gutmans wrote: Andrei, Can you please merge this to 4.0.5. I think it should be in and we better release a final RC6. I think it's better to have another quick RC (I can roll it today or tomorrow) before we get 4.0.5 out of the door. Andi -Andrei * Non-volatile, random-access, analog memory store... a book. * -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Can we have a PING function?
Maybe Dave will volunteer to implement this for 4.0.6 :) Andi At 10:42 AM 4/2/2001 +0200, Alexander Feldman wrote: Do most servers and OS's (for example Windows) support the sending of a UDP package to the echo port? Andi Yeah, What about a new ICMP extension - ping, traceroute, etc. -- Alex At 12:39 AM 4/2/2001 -0400, Dave Crawford wrote: Before I ask for a PING function in a future build of PHP, is there a way to ping a remote host using the existing PHP functions or modules? Based on my knowledge gained from various sources and php.net's online functional reference, there does not appear to be much support for LWP anything. I would like to know how to do, or perhaps you can build a function in a future release that can do basically the same thing as outlined in the following document for a similar function in Perl: http://www.perl.com/pub/doc/manual/html/lib/Net/Ping.html When my site was all html and Perl, I used this function to ping all of my mirror download sites, and I coloured the ping value based on a range (Ex: less than 150ms was green, greater than 600ms was red, etc.) I need a way to incorperate this same functionality into my new all PHP based website. Thanks. -Dave -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] PHP 4.0.5 Release Candidate testing
Andi Gutmans wrote: Does anyone else have any critical bug fixes which need to be in 4.0.5? (I mean critical ones and not huge patches). Zeev's output buffering fix hasn't been committed yet; it's a one-line change, and it makes the transparent output compression stuff work. Does anyone have any objection to an MFH on the small Vary header patch also? It improves PHP's RFC2616 compliance, but it also unbreaks almost every web-cache, which rely on having it present for content-negotiated pages. Anil -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] PHP 4.0.5 Release Candidate testing
Zeev's output buffering fix hasn't been committed yet; it's a one-line change, and it makes the transparent output compression stuff work. MFH it then and we can get 4.0.5 out the door ;) James -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #7451 Updated: thttpd 2.20b and php4.0.3pl1, php.ini isn't read
ID: 7451 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Other web server Assigned To: Comments: Tried with latest CVS and it works just fine. Please try the snapshot from http://snaps.php.net/ and if it doesn't work for you, reopen this bug report. --Jani Previous Comments: --- [2000-10-25 11:26:27] [EMAIL PROTECTED] I installed thttpd 2.20b with PHP-4.0.3pl1 I also tried thttpd 2.19 as well with the same result. Bringing up a page with phpinfo() showed that all settings in php.ini were being ignored. The include path is set to ".:/usr/local/lib/php" even though it's completely different in php.ini phpinfo() gives "/usr/local/lib" as the directory holding php.ini which is correct. PHP configure line was './configure' '--enable-memory-limit' '--disable-debug' '--enable-sysvshm' '--enable-sysvsem' '--with-mysql=/usr/local' '--without-gd' '--with-zlib' '--with-thttpd=../thttpd-2.19' --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=7451edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #7451 Updated: thttpd 2.20b and php4.0.3pl1, php.ini isn't read
ID: 7451 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: Other web server Assigned To: Comments: Previous Comments: --- [2000-10-25 11:26:27] [EMAIL PROTECTED] I installed thttpd 2.20b with PHP-4.0.3pl1 I also tried thttpd 2.19 as well with the same result. Bringing up a page with phpinfo() showed that all settings in php.ini were being ignored. The include path is set to ".:/usr/local/lib/php" even though it's completely different in php.ini phpinfo() gives "/usr/local/lib" as the directory holding php.ini which is correct. PHP configure line was './configure' '--enable-memory-limit' '--disable-debug' '--enable-sysvshm' '--enable-sysvsem' '--with-mysql=/usr/local' '--without-gd' '--with-zlib' '--with-thttpd=../thttpd-2.19' --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=7451edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] PHP 4.0.5 Release Candidate testing
At 05:37 PM 4/2/2001 +0100, Anil Madhavapeddy wrote: Andi Gutmans wrote: Does anyone else have any critical bug fixes which need to be in 4.0.5? (I mean critical ones and not huge patches). Zeev's output buffering fix hasn't been committed yet; it's a one-line change, and it makes the transparent output compression stuff work. I suggest you merge this into 4.0.5 because it seems to me that otherwise output buffering will be quite a mess without it. It would be a shame to release 4.0.5 without it. Does anyone have any objection to an MFH on the small Vary header patch also? It improves PHP's RFC2616 compliance, but it also unbreaks almost every web-cache, which rely on having it present for content-negotiated pages. Your fix looks OK but I'd like to hear the opinion of someone else who is more familiar with RFC2616. Andi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] RE: [PHP-QA] PHP 4.0.5 Release Candidate testing
At 03:18 PM 4/2/2001 +0100, James Moore wrote: 1. The function array_flip($array) puts one extra zero byte at the end of each element in the return array thus making the result non binary safe. I've just fixed it in CVS. How critical is this? does it need to also be in 4.0.5 (sorry Zeev ;)) Yes, I think it should be in 4.0.5 And the output buffering patch of Zeev should be in there too. Hopefully RC6 will be the last RC. Better another RC than a pl1. Andi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10117: mysql_pconnect() can cause segmentation fault
From: [EMAIL PROTECTED] Operating system: Linux 2.2.14 PHP version: 4.0.4pl1 PHP Bug Type: MySQL related Bug description: mysql_pconnect() can cause segmentation fault In the process of setting up a new site on my server, I set up a MySQL database for it and a new MySQL user, but neglected to perform a 'mysqladmin reload' to process the new user's password. The call to mysql_pconnect() failed and the page in question did not work, but subsequent calls to the same page produced a segmentation fault in the httpd error log. The problem did not clear up until I killed the server and restarted it, but now I cannot reproduce it. Other software details: [root@fddth03-157-31 panet_demo]# httpd -V Server version: Apache/1.3.6 (Unix) Server built: Mar 7 2000 17:30:02 Server's Module Magic Number: 19990320:0 Server compiled with -D EAPI -D BIG_SECURITY_HOLE -D HAVE_MMAP -D HAVE_SHMGET -D USE_SHMGET_SCOREBOARD -D USE_MMAP_FILES -D USE_FCNTL_SERIALIZED_ACCEPT -D HTTPD_ROOT="/etc/httpd" -D SUEXEC_BIN="/usr/bin/suexec" -D SHARED_CORE_DIR="/usr/lib/apache" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard" -D DEFAULT_LOCKFILE="/var/run/httpd.lock" -D DEFAULT_XFERLOG="/var/log/httpd/access_log" -D DEFAULT_ERRORLOG="/var/log/httpd/error_log" -D TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" -D ACCESS_CONFIG_FILE="conf/access.conf" -D RESOURCE_CONFIG_FILE="conf/srm.conf" Compiled-in modules: http_core.c mod_mmap_static.c mod_env.c mod_define.c mod_log_config.c mod_log_agent.c mod_log_referer.c mod_mime_magic.c mod_mime.c mod_negotiation.c mod_status.c mod_info.c mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c mod_speling.c mod_userdir.c mod_proxy.c mod_alias.c mod_rewrite.c mod_access.c mod_auth.c mod_auth_anon.c mod_auth_db.c mod_digest.c mod_cern_meta.c mod_expires.c mod_headers.c mod_usertrack.c mod_example.c mod_unique_id.c mod_so.c mod_setenvif.c mod_ssl.c mod_perl.c mod_auth_pam.c PHP was configured with the MySQL provided library MySQL 3.23.33 -- Edit Bug report at: http://bugs.php.net/?id=10117edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] PHP 4.0.5 Release Candidate testing
Andi Gutmans wrote: I suggest you merge this into 4.0.5 because it seems to me that otherwise output buffering will be quite a mess without it. It would be a shame to release 4.0.5 without it. Ok, done. Your fix looks OK but I'd like to hear the opinion of someone else who is more familiar with RFC2616. Hope I didn't jump the gun with the merge (read this mail right after the commit). Here is the relevant excerpt from the RFC: 13.6 Caching Negotiated Responses Use of server-driven content negotiation (section 12.1), as indicated by the presence of a Vary header field in a response, alters the conditions and procedure by which a cache can use the response for subsequent requests. See section 14.44 for use of the Vary header field by servers. A server SHOULD use the Vary header field to inform a cache of what request-header fields were used to select among multiple representations of a cacheable response subject to server-driven negotiation. The set of header fields named by the Vary field value is known as the "selecting" request-headers. When the cache receives a subsequent request whose Request-URI specifies one or more cache entries including a Vary header field, the cache MUST NOT use such a cache entry to construct a response to the new request unless all of the selecting request-headers present in the new request match the corresponding stored request-headers in the original request. Note that the current PEAR implementation of HTTP::Compress sends exactly this Vary header also, and works great. Anil -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10118: mysql_query() shows unwanted warnings when no result set returned.
From: [EMAIL PROTECTED] Operating system: Linux 2.2.14 PHP version: 4.0.4pl1 PHP Bug Type: MySQL related Bug description: mysql_query() shows unwanted warnings when no result set returned. -- Edit Bug report at: http://bugs.php.net/?id=10118edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10118 Updated: mysql_query() shows unwanted warnings when no result set returned.
ID: 10118 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: MySQL related Assigned To: Comments: can you provide an example script plus its output? Previous Comments: --- [2001-04-02 13:02:30] [EMAIL PROTECTED] --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10118edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10119: Cannot call the dynamic extensions php_oracle.dll. In php.ini
From: [EMAIL PROTECTED] Operating system: Windows 2000 server and advanced server PHP version: 4.0.4pl1 PHP Bug Type: Dynamic loading Bug description: Cannot call the dynamic extensions php_oracle.dll. In php.ini ; ; Paths and Directories ; ; include_path= doc_root= C:\Inetpub\wwwroot user_dir= extension_dir = c:\php\extensions enable_dl = On ;; ; Dynamic Extensions ; ;; extension=php_oracle.dll OR extension_dir= extension=c:\php\extension\php_oracle.dll(or any dynamic extension) and occurr the same problem. The message is "Unable to load dynamic library 'C:\php\extensions\php_oracle.dll' but the file is there!! thanks. I wait your email. -- Edit Bug report at: http://bugs.php.net/?id=10119edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10119 Updated: Cannot call the dynamic extensions php_oracle.dll. In php.ini
ID: 10119 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Dynamic loading Assigned To: Comments: many PHP extensions require external libraries. php_oracle.dll is among these. you need to install an Oracle client. if this is not the case (you have the oracle client libs properly installed), reopen this report. Previous Comments: --- [2001-04-02 13:53:05] [EMAIL PROTECTED] ; ; Paths and Directories ; ; include_path= doc_root= C:Inetpubwwwroot user_dir= extension_dir = c:phpextensions enable_dl = On ;; ; Dynamic Extensions ; ;; extension=php_oracle.dll OR extension_dir= extension=c:phpextensionphp_oracle.dll(or any dynamic extension) and occurr the same problem. The message is "Unable to load dynamic library 'C:phpextensionsphp_oracle.dll' but the file is there!! thanks. I wait your email. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10119edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10120: implode(), if empty elements exist
From: [EMAIL PROTECTED] Operating system: Win 98se PHP version: 4.0.4pl1 PHP Bug Type: *Function Specific Bug description: implode(), if empty elements exist exploding and imploding a string (seperated by "+"): $a = "11+12+13+14+"; echo ("a befor execution: ".$a."BR"); list( $r["A"], $r["B"], $r["C"], $r["D"], $r["E"], $r["F"], $r["G"], $r["H"], $r["I"], $r["J"], $r["K"], $r["L"], $r["M"]) = explode("+", $a); $a = implode("+", $r); echo ("a after execution: ".$a."BR"); I expect an output (like PHP 3.0.17): a befor execution: 11+12+13+14+ a after execution: 11+12+13+14+ but the output is (in current version): a befor execution: 11+12+13+14+ a after execution: +14+13+12+11 after execution the string is vis versus. It happens only if I try to implode emty elements. The behaviour is different to PHP 3.0.X -- Edit Bug report at: http://bugs.php.net/?id=10120edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Porting ASP code to PHP
Hey all, I am an applications programmer for a mid-sized ASP. Recently, I have been given the task to take our existing e-commerce application written in ASP, and re-write it in PHP. We did a risk analysis study of the pros and cons of using PHP for this application, and everyone agrees that PHP is the way to go. However, just last week, management, along with my senior programmer (who does NOT know PHP), decided that instead of re-writing the application, we will PORT the ASP code to PHP. By port, I mean: prefix all variables with $, change syntax to be PHP-specific ( becomes !=), but do NOT take advantage of php's built-in functions, do NOT change any programming constrcuts, do NOT change any programming logic. Now, I'm in the middle of a heated political battle with management, who does not understand that porting is a bad idea, and that re-writing will: a) produce a much better application b) take less development time c) cause less bugs d) create a more efficient system So, my request to all developers on the list: Do you have any experience PORTING (as described above) ASP to PHP? How hard was it? What was the outcome? Why would you NOT do it? What reasons are there for NOT doing it this way? Thanks. -Mike K. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10121: Case Sensitive Associative Arrays
From: [EMAIL PROTECTED] Operating system: Redhat Linux 7.0 PHP version: 4.0.4pl1 PHP Bug Type: PostgreSQL related Bug description: Case Sensitive Associative Arrays The scenario is described here: mydb= CREATE TABLE test ( U_Name char(50), U_Pass char(16) ); mydb= INSERT INTO test values ('Bob', 'password'); query.php: ? $conn = pg_connect("dbname=mydb"); $result = pg_exec($conn, "select U_Name, U_Pass from test") $arr = pg_fetch_array($result, 0); echo "U_Name: " + $arr[U_Name] + " U_Pass: " + $arr[U_Pass] + "BR"; echo "u_name: " + $arr[u_name] + " u_pass: " + $arr[u_pass] + "BR"; ? results that are printed:U_Name: U_Pass: u_name: Bob u_pass: password ( arr[0] = Bob, arr[1] = password) U_Name is not being automatically lowercased when using associative arrays. As of v6.1 PostgreSQL lowercases all table names as well as all columns. So searching on mixed case or uppercase names will not work unless they are enclosed in quotes.. -- Edit Bug report at: http://bugs.php.net/?id=10121edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] pspell/aspell breaking
Sorry, I couldn't answer your question earlier - I was in the java land last couple weeks, so my php inbox grew somewhat huge. I believe, this was a one-liner "fix" (hack) that I put in CVS a few weeks back, so try a recent snapshot. THe aspell/pspell creator/maintainer decided to change the API on us :( Ouch! Vlad - Original Message - From: Seth Northrop To: "PHP development @echospace" Sent: Thu, 22 Mar 2001 17:12:49 -0800 (PST) Subject: Re: [PHP-DEV] pspell/aspell breaking hey again. Had to recompile.. and, this time it failed compiling PHP; Here's the output: $ ./configure --without-gd --without-xml --enable-calendar --with-mysql --with-config-file-path=/usr/local/apache_ssl/etc --enable-debug=no --with-pspell --with-apache=../apache_1.3.19 snip $ make snip Making all in pspell make[2]: Entering directory `/usr/local/src/php-4.0.4pl1/ext/pspell' make[3]: Entering directory `/usr/local/src/php-4.0.4pl1/ext/pspell' gcc -I. -I/usr/local/src/php-4.0.4pl1/ext/pspell -I/usr/local/src/php-4.0.4pl1/main -I/usr/local/src/php-4.0.4pl1 -I/usr/local/src/php-4.0.4pl1/Zend -I/usr/local/src/php-4.0.4pl1/ext/mysql/libmysql -I/usr/local/include/pspell -I/usr/local/src/php-4.0.4pl1/TSRM -g -O2 -c pspell.c touch pspell.lo pspell.c: In function `php_if_pspell_check': pspell.c:304: too few arguments to function `pspell_manager_check' pspell.c: In function `php_if_pspell_suggest': pspell.c:340: too few arguments to function `pspell_manager_suggest' pspell.c: In function `php_if_pspell_store_replacement': pspell.c:377: warning: passing arg 3 of `pspell_manager_store_replacement' makes integer from pointer without a cast pspell.c:377: too few arguments to function `pspell_manager_store_replacement' pspell.c: In function `php_if_pspell_add_to_personal': pspell.c:414: too few arguments to function `pspell_manager_add_to_personal' pspell.c: In function `php_if_pspell_add_to_session': pspell.c:451: too few arguments to function `pspell_manager_add_to_session' make[3]: *** [pspell.lo] Error 1 make[3]: Leaving directory `/usr/local/src/php-4.0.4pl1/ext/pspell' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/php-4.0.4pl1/ext/pspell' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/php-4.0.4pl1/ext' make: *** [all-recursive] Error 1 pspell-.12, aspell-.32.6, RH 7.0, glibc-2.2-12, gcc-2.96-69. Supposedly the very same configuration that I got to work on a different machine.. but, this time it bombs out. Pspell and aspell compile fine. I figured before I spend a lot of time on this one again I'd check back in and see if there are any easy fixes :) Thanks! Seth Re-thinking the Web on a SinglePage(TM) http://www.echospace.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10122: Structure has no member errors
From: [EMAIL PROTECTED] Operating system: Solaris 2.8 PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: Structure has no member errors -- Edit Bug report at: http://bugs.php.net/?id=10122edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10122 Updated: Structure has no member errors
ID: 10122 Updated by: sbergmann Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Compile Failure Assigned To: Comments: Could you please elaborate a bit what you mean exactly? Previous Comments: --- [2001-04-02 16:30:32] [EMAIL PROTECTED] --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10122edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10122 Updated: Structure has no member errors
ID: 10122 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Compile Failure Description: Structure has no member errors Compile time warning on php. Configuration options: ./configure --prefix=/usr --with-config-file-path=/usr/local/lib --with-apache=../apache_1.3.19 --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --with-gd --with-jpeg-dir --with-openssl=/usr/local/ssl --with-mm --with-zlib --with-bz2 --enable-track-vars --enable-magic-quotes --enable-trans-sid --enable-sockets --enable-ftp --enable-bcmath --enable-calendar --enable-url-includes -- Last part of compile-time messages: - gmake[3]: Leaving directory `/usr/local/src/Apache_New/php-4.0.4pl1/ext/session' gmake[2]: Leaving directory `/usr/local/src/Apache_New/php-4.0.4pl1/ext/session' Making all in sockets gmake[2]: Entering directory `/usr/local/src/Apache_New/php-4.0.4pl1/ext/sockets' gmake[3]: Entering directory `/usr/local/src/Apache_New/php-4.0.4pl1/ext/sockets' gcc -I. -I/usr/local/src/Apache_New/php-4.0.4pl1/ext/sockets -I/usr/local/src/Apache_New/php-4.0.4pl1/main -I/usr/local/src/Apache_New/php-4.0.4pl1 -I/usr/local/src/Apache_New/apache_1.3.19/src/include -I/usr/local/src/Apache_New/apache_1.3.19/src/os/unix -I/usr/local/src/Apache_New/php-4.0.4pl1/Zend -I/usr/local/ssl/include -I/usr/local/include/freetype -I/usr/local/mysql/include/mysql -I/usr/local/include -I/usr/local/src/Apache_New/php-4.0.4pl1/ext/xml/expat/xmltok -I/usr/local/src/Apache_New/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/local/src/Apache_New/php-4.0.4pl1/TSRM -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g -O2 -c sockets.c touch sockets.lo sockets.c: In function `php_if_recvmsg': sockets.c:1728: structure has no member named `msg_control' sockets.c:1729: structure has no member named `msg_controllen' sockets.c:1731: structure has no member named `msg_control' sockets.c:1732: structure has no member named `msg_controllen' sockets.c:1735: structure has no member named `msg_flags' sockets.c:1741: structure has no member named `msg_control' sockets.c:1750: warning: passing arg 3 of `add_assoc_string' makes pointer from integer without a cast sockets.c:1754: structure has no member named `msg_controllen' sockets.c:1755: structure has no member named `msg_flags' sockets.c:1787: structure has no member named `msg_control' sockets.c:1788: structure has no member named `msg_controllen' sockets.c:1790: structure has no member named `msg_control' sockets.c:1791: structure has no member named `msg_controllen' sockets.c:1794: structure has no member named `msg_flags' sockets.c:1800: structure has no member named `msg_control' sockets.c:1810: warning: passing arg 3 of `add_assoc_string' makes pointer from integer without a cast sockets.c:1812: structure has no member named `msg_controllen' sockets.c:1814: structure has no member named `msg_flags' gmake[3]: *** [sockets.lo] Error 1 gmake[3]: Leaving directory `/usr/local/src/Apache_New/php-4.0.4pl1/ext/sockets' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/local/src/Apache_New/php-4.0.4pl1/ext/sockets' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/src/Apache_New/php-4.0.4pl1/ext' gmake: *** [all-recursive] Error 1 - Previous Comments: --- [2001-04-02 16:32:08] [EMAIL PROTECTED] Could you please elaborate a bit what you mean exactly? --- [2001-04-02 16:30:32] [EMAIL PROTECTED] --- Full Bug description available at: http://bugs.php.net/?id=10122 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] php_odbc.c code question
In the current php_odbc.c file the following lines exist: #ifndef HAVE_DBMAKER if ((*pv_onoff)) { #else if (pv_onoff (*pv_onoff)) { #endif these can be found in the odbc_autocommit function does anyone know why this has been #ifdef'ed around? --- Dan Kalowsky http://www.deadmime.org/~dank DEADmime INTERnational, http://www.deadmime.org Project Lead -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #8941 Updated: Openlink/ODBC cannot parse complex queries
ID: 8941 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: ODBC related Assigned To: Comments: have you tried updating to the latest OpenLink libraries? They have supposedly been better enhanced and unified with PHP. Previous Comments: --- [2001-02-05 10:36:30] [EMAIL PROTECTED] problem still exists in PHP 404 sp1 --- [2001-01-26 12:27:51] [EMAIL PROTECTED] Configuration above should show PHP4.0.2 not 4.0.1pl2 --- [2001-01-26 12:26:10] [EMAIL PROTECTED] Platform: HPUX 10.20 Configuration: PHP4.0.1pl2 --with-iodbc --without-mysql --with-pdflib=/usr/local --without-gd --with-apache=../apache_1.3.14 Using Openlink MT ODBC driver against a PROGRESS database. Any version of PHP after 4.0.1pl2 cannot parse queries with a JOIN statement in it. Versions upto and including above work ok. The log file from the Openlink Server shows this from a sample (good) query: generic_pro83b: SCR_AnalyseSQL failed: SELECT * FROM VIRTUAL_LAYERS INNER JOIN LAYER_INFORMATION ON LAYER_INFORMATION.LAYER1_DESCRIPTION=VIRTUAL_LAYERS.LAYER1_DESCRIPTION generic_pro83b: parse error generic_pro83b: SELECT * FROM VIRTUAL_LAYERS INNER JOIN^ --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8941edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9284 Updated: odbc_execute , SQL state 07001 in SQLExecute
ID: 9284 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: ODBC related Assigned To: Comments: you checked this without parameter? which parameter? Previous Comments: --- [2001-02-15 12:48:08] [EMAIL PROTECTED] I tried to use this function with Microsoft Access Driver $values = array( $ApplicantId ,$AnsQuestionId[$i],$Answer[$i]); $query = "INSERT INTO Responses ([PersonId], [QuestionId], [Response], [Date]) "; $query .= "VALUES(?,?,?," . strftime("#%Y-%m-%d#") .") "; $result = odbc_prepare($connection, $query); odbc_execute($result, $values ); and got error Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver]COUNT field incorrect , SQL state 07001 in SQLExecute in D:/Xitami/webpages/moveit/index.php on line 46 I've checked without parameter. The statement worked fine. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9284edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #8941 Updated: Openlink/ODBC cannot parse complex queries
ID: 8941 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: ODBC related Description: Openlink/ODBC cannot parse complex queries According to openlink, the issue is caused by the dynamic cursors now used in the php odbc functions. remarking out the #define HAVE_SQL_EXTENDED_FETCH 1 entry in the iodbc section provides a temporary relief from the problem. Previous Comments: --- [2001-04-02 16:55:47] [EMAIL PROTECTED] have you tried updating to the latest OpenLink libraries? They have supposedly been better enhanced and unified with PHP. --- [2001-02-05 10:36:30] [EMAIL PROTECTED] problem still exists in PHP 404 sp1 --- [2001-01-26 12:27:51] [EMAIL PROTECTED] Configuration above should show PHP4.0.2 not 4.0.1pl2 --- [2001-01-26 12:26:10] [EMAIL PROTECTED] Platform: HPUX 10.20 Configuration: PHP4.0.1pl2 --with-iodbc --without-mysql --with-pdflib=/usr/local --without-gd --with-apache=../apache_1.3.14 Using Openlink MT ODBC driver against a PROGRESS database. Any version of PHP after 4.0.1pl2 cannot parse queries with a JOIN statement in it. Versions upto and including above work ok. The log file from the Openlink Server shows this from a sample (good) query: generic_pro83b: SCR_AnalyseSQL failed: SELECT * FROM VIRTUAL_LAYERS INNER JOIN LAYER_INFORMATION ON LAYER_INFORMATION.LAYER1_DESCRIPTION=VIRTUAL_LAYERS.LAYER1_DESCRIPTION generic_pro83b: parse error generic_pro83b: SELECT * FROM VIRTUAL_LAYERS INNER JOIN^ --- Full Bug description available at: http://bugs.php.net/?id=8941 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #6342 Updated: Can't connect to Oracle DB via ODBC
ID: 6342 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: ODBC related Assigned To: Comments: is this still a valid bug, or has it been addressed in a recent release of php? Previous Comments: --- [2000-08-24 20:04:18] [EMAIL PROTECTED] Hi, I can't connect to any oracle databases using ODBC. I get the following error when using the M$ oracle odbc drivers Warning: SQL error: [Microsoft][ODBC driver for Oracle][Oracle]Error while trying to retrieve text for error ORA-12154, SQL state 08001 in SQLConnect in include/db_odbc.inc on line 30 And the following when using oracles odbc drivers Warning: SQL error: [Oracle][ODBC][Ora]Error while trying to retrieve text for error ORA-12154 , SQL state 08004 in SQLConnect in include/db_odbc.inc on line 30 Any ideas? I would try and connect via the Oracle Drivers directly but they haven't been included in any php4 releases yet and I don't know how to compile it. :) --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6342edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] RE: PHP 4.0 Bug #9284 Updated: odbc_execute , SQL state 07001 in SQLExecute
I've tried the same without bind variables ('?')[parameters] the statement worked ok. If I tried to bind variables into an array this did not work for me for ODBC with MS Access, the same worked with Oracle. Thanks for help Moiswy -Original Message- From:php-dev [mailto:[EMAIL PROTECTED]] Sent:Monday, April 02, 2001 5:01 PM To: moisey.g.oysgelt Cc: php-dev Subject: PHP 4.0 Bug #9284 Updated: odbc_execute , SQL state 07001 in SQLExecute ID: 9284 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: ODBC related Assigned To: Comments: you checked this without parameter? which parameter? Previous Comments: -- - [2001-02-15 12:48:08] [EMAIL PROTECTED] I tried to use this function with Microsoft Access Driver $values = array( $ApplicantId ,$AnsQuestionId[$i],$Answer[$i]); $query = "INSERT INTO Responses ([PersonId], [QuestionId], [Response], [Date]) "; $query .= "VALUES(?,?,?," . strftime("#%Y-%m-%d#") .") "; $result = odbc_prepare($connection, $query); odbc_execute($result, $values ); and got error Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver]COUNT field incorrect , SQL state 07001 in SQLExecute in D:/Xitami/webpages/moveit/index.php on line 46 I've checked without parameter. The statement worked fine. -- - ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9284edit=2 File: PHP 4.TXT -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] php_odbc.c code question
On Mon, 2 Apr 2001, Dan Kalowsky wrote: In the current php_odbc.c file the following lines exist: #ifndef HAVE_DBMAKER if ((*pv_onoff)) { #else if (pv_onoff (*pv_onoff)) { #endif these can be found in the odbc_autocommit function does anyone know why this has been #ifdef'ed around? Quoth the CVS logs: "Added DBMaker support (patch by Pax Tsai...)" from ssb on Nov 28 1999. -adam -- / adam maccabee trachtenberg | visit college life online \ \ [EMAIL PROTECTED] | http://www.student.com/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10123: Text missing for manual functions (English)
From: [EMAIL PROTECTED] Operating system: NT PHP version: 4.0.4pl1 PHP Bug Type: *Web Server problem Bug description: Text missing for manual functions (English) Eg: Site could not display function manual text for , eg. /manual/en/function.odbc-fetch-row.php. Main and mirror sites seem to be affected. -- Edit Bug report at: http://bugs.php.net/?id=10123edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10121 Updated: Case Sensitive Associative Arrays
ID: 10121 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: PostgreSQL related Description: Case Sensitive Associative Arrays Rereading that last line its a little confusing. If you want to input table or column names as mixed case you need to enclose them in quotes otherwise they are lowered. Then when you make a query you would also need to enclose the query names in quotes as it is also lowered automatically if there are no quotes. However this behavior is not shared by associative arrays in PHP for some reason. Previous Comments: --- [2001-04-02 16:11:52] [EMAIL PROTECTED] The scenario is described here: mydb= CREATE TABLE test ( U_Name char(50), U_Pass char(16) ); mydb= INSERT INTO test values ('Bob', 'password'); query.php: ? $conn = pg_connect("dbname=mydb"); $result = pg_exec($conn, "select U_Name, U_Pass from test") $arr = pg_fetch_array($result, 0); echo "U_Name: " + $arr[U_Name] + " U_Pass: " + $arr[U_Pass] + "BR"; echo "u_name: " + $arr[u_name] + " u_pass: " + $arr[u_pass] + "BR"; ? results that are printed:U_Name: U_Pass: u_name: Bob u_pass: password ( arr[0] = Bob, arr[1] = password) U_Name is not being automatically lowercased when using associative arrays. As of v6.1 PostgreSQL lowercases all table names as well as all columns. So searching on mixed case or uppercase names will not work unless they are enclosed in quotes.. --- Full Bug description available at: http://bugs.php.net/?id=10121 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] RC6 available!
You can get RC6 at http://cvs.php.net/~andi/php-4.0.5RC6.tar.gz (no time to commit to phpweb cvs and wait for it to update, if someone has time then even better, I need some sleep :) In case you're testing it within the next few hours you might need to "touch *" the files in the php4/ directory because of timezone differences (didn't anyone get bitten by this in the past? ). Anyway, as usual, please test it on all the platforms you have. Try not to find bugs but if you do then let everyone know. Happy testing. Hopefully this is the last RC but remember the most important thing is to have a stable release. Andi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10125: installation fails - php doesn't run
From: [EMAIL PROTECTED] Operating system: win 2000 server PHP version: 4.0.4pl1 PHP Bug Type: IIS related Bug description: installation fails - php doesn't run i have a strange bug here, don't now where to search. when i install php with setup.exe on my win 2000 server, there is a error message: - component mscomctl.ocx or one of its dependencies not correctly registered, a file is missing or invalid after clicking on OK, php setup says OK, successfull installation. i check the isapi extension in IIS 5.0 -- nothing so, i did manual configuration every php-script is terminating with a http error 500 - internal server error in the system-event-protocol i have an error 10004: EventID 10004 Source DCOM DCOM got error "Logon failure: unknown user name or bad password. " and was unable to logon redmond\comstud in order to run the server: {5e9ddec7-5767-11cf-beab-00aa006c3606} or similar same happens with an installation of IHTML or other script-server dll who can help? -- Edit Bug report at: http://bugs.php.net/?id=10125edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10125 Updated: installation fails - php doesn't run
ID: 10125 Updated by: jmoore Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: IIS related Assigned To: Comments: Please contact phill driscoll, [EMAIL PROTECTED], directly. THis error is normally caused by mscomctl.ocx not being registered properly. Your second error is somthing unrelated to PHP but looks like some problem with northwind examples or somthing like that.. James Previous Comments: --- [2001-04-02 17:33:10] [EMAIL PROTECTED] i have a strange bug here, don't now where to search. when i install php with setup.exe on my win 2000 server, there is a error message: - component mscomctl.ocx or one of its dependencies not correctly registered, a file is missing or invalid after clicking on OK, php setup says OK, successfull installation. i check the isapi extension in IIS 5.0 -- nothing so, i did manual configuration every php-script is terminating with a http error 500 - internal server error in the system-event-protocol i have an error 10004: EventID 10004 Source DCOM DCOM got error "Logon failure: unknown user name or bad password. " and was unable to logon redmondcomstud in order to run the server: {5e9ddec7-5767-11cf-beab-00aa006c3606} or similar same happens with an installation of IHTML or other script-server dll who can help? --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10125edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10121 Updated: Case Sensitive Associative Arrays
ID: 10121 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: PostgreSQL related Description: Case Sensitive Associative Arrays Rereading that last line its a little confusing. If you want to input table or column names as mixed case you need to enclose them in quotes otherwise they are lowered. Then when you make a query you would also need to enclose the query names in quotes as it is also lowered automatically if there are no quotes. However this behavior is not shared by associative arrays in PHP for some reason. Previous Comments: --- [2001-04-02 17:27:00] [EMAIL PROTECTED] Rereading that last line its a little confusing. If you want to input table or column names as mixed case you need to enclose them in quotes otherwise they are lowered. Then when you make a query you would also need to enclose the query names in quotes as it is also lowered automatically if there are no quotes. However this behavior is not shared by associative arrays in PHP for some reason. --- [2001-04-02 16:11:52] [EMAIL PROTECTED] The scenario is described here: mydb= CREATE TABLE test ( U_Name char(50), U_Pass char(16) ); mydb= INSERT INTO test values ('Bob', 'password'); query.php: ? $conn = pg_connect("dbname=mydb"); $result = pg_exec($conn, "select U_Name, U_Pass from test") $arr = pg_fetch_array($result, 0); echo "U_Name: " + $arr[U_Name] + " U_Pass: " + $arr[U_Pass] + "BR"; echo "u_name: " + $arr[u_name] + " u_pass: " + $arr[u_pass] + "BR"; ? results that are printed:U_Name: U_Pass: u_name: Bob u_pass: password ( arr[0] = Bob, arr[1] = password) U_Name is not being automatically lowercased when using associative arrays. As of v6.1 PostgreSQL lowercases all table names as well as all columns. So searching on mixed case or uppercase names will not work unless they are enclosed in quotes.. --- Full Bug description available at: http://bugs.php.net/?id=10121 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10123 Updated: Text missing for manual functions (English)
ID: 10123 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Old-Bug Type: *Web Server problem Bug Type: Documentation problem Assigned To: Comments: works just fine. Previous Comments: --- [2001-04-02 17:23:36] [EMAIL PROTECTED] Eg: Site could not display function manual text for , eg. /manual/en/function.odbc-fetch-row.php. Main and mirror sites seem to be affected. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10123edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10124 Updated: Cookies are being read
ID: 10124 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Old-Bug Type: *Web Server problem Bug Type: Apache related Assigned To: Comments: Which browser is the faulty one? Does some other version/browser work? --Jani Previous Comments: --- [2001-04-02 17:26:28] [EMAIL PROTECTED] I have been running the latest version of PHP without any problems, and over the weekend I install the latest secure patch from Microsoft, and then that is when i noticed that sessions on my local server were being increased each page view, do to that apache wasn't reading the cookie properly. After inspecting and reinstalling, the only thing I found to fix the problem was installing PHP 3.. I hope this helps, seeing it is my first report, also where does when one go to get an older stable version of 4? Thanks --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10124edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10110 Updated: Problem with fopen() - Bad file descriptor
ID: 10110 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Directory/Filesystem functions Assigned To: Comments: This should be fixed in CVS. Try latest CVS snapshot from http://snaps.php.net/ Reopen this bug report if problem still exists with latest CVS snapshot. (I tried your script and it worked just fine) --Jani Previous Comments: --- [2001-04-02 07:26:48] [EMAIL PROTECTED] I have used and tested a script on linux machine with an apache webserver and php4 installed, i got error of a bad file desctiptor in the fopen statement: The code i used is: $page="http://www.feri.uni-mb.si/"; $fp=fopen($page,"r") or die("Error"); when the url was http://www.senser.f2s.com/welcome.html" (my website) everthing worked fine! Ales! --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10110edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Object Accessor Chaining
Hello All - Just wondering what it would take to get this functionality in PHP: $this-getFooObject($bar)-getFoo() Right now, AFAICT, you have to: $var = $this-getFooObject($bar); $var2 = $var-getFoo(); Is that a difficult thing to add in? Who do I have to bribe? Thanks, Tim -- Founder - PHPBuilder.com / Geocrawler.com Lead Developer - SourceForge VA Linux Systems -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10123 Updated: Text missing for manual functions (English)
ID: 10123 User Update by: [EMAIL PROTECTED] Status: Bogus Bug Type: Documentation problem Description: Text missing for manual functions (English) To sniper: Thanks for checking into this. Turns out there was a flukey problem w/my browser... Win NT, you understand. - Chris Previous Comments: --- [2001-04-02 18:20:22] [EMAIL PROTECTED] works just fine. --- [2001-04-02 17:23:36] [EMAIL PROTECTED] Eg: Site could not display function manual text for , eg. /manual/en/function.odbc-fetch-row.php. Main and mirror sites seem to be affected. --- Full Bug description available at: http://bugs.php.net/?id=10123 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Re: PHP 4.0 Bug #6342 Updated: Can't connect to Oracle DB via ODBC
I no longer work in the company which used oracle databases so I can't test this for you. At 07:03 3/04/01, you wrote: ID: 6342 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: ODBC related Assigned To: Comments: is this still a valid bug, or has it been addressed in a recent release of php? Previous Comments: --- [2000-08-24 20:04:18] [EMAIL PROTECTED] Hi, I can't connect to any oracle databases using ODBC. I get the following error when using the M$ oracle odbc drivers Warning: SQL error: [Microsoft][ODBC driver for Oracle][Oracle]Error while trying to retrieve text for error ORA-12154, SQL state 08001 in SQLConnect in include/db_odbc.inc on line 30 And the following when using oracles odbc drivers Warning: SQL error: [Oracle][ODBC][Ora]Error while trying to retrieve text for error ORA-12154 , SQL state 08004 in SQLConnect in include/db_odbc.inc on line 30 Any ideas? I would try and connect via the Oracle Drivers directly but they haven't been included in any php4 releases yet and I don't know how to compile it. :) --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6342edit=2 Cameron Just ([EMAIL PROTECTED]) Phoenix Digital Development -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Leaking references
hi, I won't be holding my breath for it. That's the basic property of reference-counting, so it's not easy to make it behave differently. Anyway, unless you have very-long-running very-memory-greedy scripts, these leaks shouldn't bother you - Zend memory manager cleans them up on every request. i have hit on this issue while trying to make a sapi module. my problem was that memory emalloc-ed _before_ the request got efree-ed by the memory manager after the request and when i efree it afterwards a total memory mess occurs (sigsegv, infinite loop in libc free or something more nasty)... is there more info on exactly where emalloc tracks memory and when frees all unfreed blocks in the process of sapi_startup php_module_startup // memory alloced here gets freed by request_shutdown (i suppose) php_request_startup php_execute_script php_request_shutdown php_module_shutdown sapi_shutdown or i am missing something important? b. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] PHP 4.0.5 Release Midgard Problems
PHP and midgard is still undergoing heavy development. Actually it's stable release went out a few days ago? - the midgard team actually aimed at matching the PHP release cycle.. - all modifications at present are pure bug fixes.. Sascha complains about the stability of PHP and all of our patch levels yet Rasmus wants to include these extensions that are applications in their own right, it just isn't practical for the QA team to test something the size of midgard and thus it doesn't get tested (unless the midgard folks test it which we have to presume doesn't happen as we get no feedback from them), we then risk getting to a point like this where we are about to release PHP 4.0.5 and it either 1) has to be delayed with another release cycle 2) has to continue with a broken midgarad, neither are great but for the QA team its very annoying when midgard, somewhat of an outside extension means we have to do a whole new cycle. We are one of the bigger application developers on midgard (having done nadmin http://www.hklc.com/midgard_manual), and also probably the bigger bug finder fixer - Midgard bugs are reported and fixed on it's own mailing list - outside of php-dev. (considering the traffic here - It helps everybody...) In terms classing midgard as an extension, it seems that it is no difference in terms of maintenance (QA etc.) to other extensions like ming, xml ... (great work there too..) the whole extenstion scheme works very well, however the line between 'core extension' and 'other extension', has and probably will continue to be vague. Interestingly, Our test builds of midgard are always done against packaged systems (arvins work on rpms - many kudos there). As the generally we need to install midgard into production enviroments. So it has been important to have midgard compile against earlier versions of PHP4 - from what we saw, the backwards compatibility issue has caused a few problems as the API in PHP4 gets modified slightly so it breaks this compatibility. I would urge the PHP development team to support midgard module (just by keeping it the core dist. under ext.) If I'm not mistaken, the midgaurd extension itself, only provides functionality to the "midguard" application? Ie, end-users of midguard will not use the functions and classes exported by the extension, only midguard will use that functionality? Isnt that a bit like saying the XML module only provides functionallity to a XML application.. end users - use the midgard functions - we have almost completed a port of openmerchant to PHP4/midgard - it stores the templates and some trasent data in midgard datastore, along with the page's - it adds a level of security, reducing or removing the dependance of file system write access. Regards Alan Knowles P.S. Anybody fancy looking at the chinese htmlcharacters bug + patch :) If so, I'm not too sure it would be a good idea to include the midguard extension in PEAR either... -Sterling -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10126: ASP can't working
From: [EMAIL PROTECTED] Operating system: windows2000 PHP version: 4.0.4pl1 PHP Bug Type: IIS related Bug description: ASP can't working user for win2000+php+iis+asp,if install the php4.0.4pl1-Win32 the asp can't work.if uninstall php4.0.4pl1.the asp can working. -- Edit Bug report at: http://bugs.php.net/?id=10126edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10127: odbc_errormsg documented with wrong return type
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.4pl1 PHP Bug Type: Documentation problem Bug description: odbc_errormsg documented with wrong return type odbc_errormsg is shown in the docs with a return type of "int", but the description states that it returns a string. The return type should be changed to match the description. -- Edit Bug report at: http://bugs.php.net/?id=10127edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10127 Updated: odbc_errormsg documented with wrong return type
ID: 10127 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Documentation problem Assigned To: Comments: Thanks for the heads-up. Fixed in CVS (should show up online soon. Previous Comments: --- [2001-04-02 23:19:59] [EMAIL PROTECTED] odbc_errormsg is shown in the docs with a return type of "int", but the description states that it returns a string. The return type should be changed to match the description. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10127edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #6175 Updated: XML functions no longer work in objects
ID: 6175 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: *XML functions Description: XML functions no longer work in objects Yes. If these lines are used in an object's constructor: $this-parser = xml_parser_create(); xml_set_object($this-parser, $this); xml_parser_set_option($this-parser, XML_OPTION_CASE_FOLDING, true); xml_set_element_handler($this-parser, 'startElement', 'endElement'); xml_set_character_data_handler($this-parser, 'defaultHandler'); ... Apache will segfault with the following backtrace: #0 0x3 in ?? () #1 0x281e2391 in call_user_function_ex (function_table=0x80b9280, object_pp=0x80ffcc0, function_name=0x8148dcc, retval_ptr_ptr=0xbfbfd14c, param_count=2, params=0x81487ac, no_separation=1, symbol_table=0x0) at zend_execute_API.c:397 #2 0x281e2111 in call_user_function (function_table=0x80b9280, object_pp=0x80ffcc0, function_name=0x8148dcc, retval_ptr=0x80d570c, param_count=2, params=0xbfbfd1e8) at zend_execute_API.c:325 #3 0x2828ad5c in xml_call_handler (parser=0x80ffc8c, handler=0x8148dcc, argc=2, argv=0xbfbfd1e8) at xml.c:386 #4 0x2828b98d in _xml_characterDataHandler (userData=0x80ffc8c, s=0xbfbfd257 "\n ^-(\f\020\022\b0\020\022\b\2059\025\b", len=1) at xml.c:804 #5 0x2829cf38 in doContent (parser=0x8101400, startTagLevel=0, enc=0x282d5e20, s=0x8121046 "\ntitleMessage Composition: Actions/title\n headingActions/heading\npara\nSend Message launches your email to the intended recipient(s). Be sure you want to send before clicking h"..., end=0x8123e29 "", nextPtr=0x0) at xmlparse.c:1383 #6 0x2829c37d in contentProcessor (parser=0x8101400, start=0x8121022 "help\n\nentry id=\"compose-buttons\"\ntitleMessage Composition: Actions/title\nheadingActions/heading\npara\nSend Message launches your email to the intended recipient(s). Be sur"..., end=0x8123e29 "", endPtr=0x0) at xmlparse.c:957 #7 0x2829e29d in prologProcessor (parser=0x8101400, s=0x8121022 "help\n\nentry id=\"compose-buttons\"\ntitleMessage Composition: Actions/title\nheadingActions/heading\npara\nSend Message launches your email to the intended recipient(s). Be sur"..., end=0x8123e29 "", nextPtr=0x0) at xmlparse.c:2036 #8 0x2829dfb2 in prologInitProcessor (parser=0x8101400, s=0x812100c "?xml version='1.0'?\nhelp\n\nentry id=\"compose-buttons\"\n titleMessage Composition: Actions/title\nheadingActions/heading\n para\nSend Message launches your email to the intende"..., end=0x8123e29 "", nextPtr=0x0) at xmlparse.c:1967 #9 0x2829bef8 in php_XML_Parse (parser=0x8101400, s=0x812100c "?xml version='1.0'?\nhelp\n\nentry id=\"compose-buttons\"\n titleMessage Composition: Actions/title\nheadingActions/heading\n para\nSend Message launches your email to the intende"..., len=11805, isFinal=1) at xmlparse.c:779 #10 0x2828c836 in php_if_xml_parse (ht=3, return_value=0x8148f0c, this_ptr=0x0, return_value_used=0) at xml.c:1394 #11 0x281dbf01 in execute (op_array=0x8129d0c) at ./zend_execute.c:1494 #12 0x281dc154 in execute (op_array=0x80ff98c) at ./zend_execute.c:1534 #13 0x281e9e86 in zend_execute_scripts (type=8, file_count=3) at zend.c:743 #14 0x281fb6dc in php_execute_script (primary_file=0xbfbff7dc) at main.c:1194 #15 0x281f8006 in apache_php_module_main (r=0x8112034, display_source_mode=0) at sapi_apache.c:89 #16 0x281f8996 in send_php (r=0x8112034, display_source_mode=0, filename=0x0) at mod_php4.c:521 #17 0x281f89d2 in send_parsed_php (r=0x8112034) at mod_php4.c:532 #18 0x8053fa1 in ap_invoke_handler () #19 0x80686a8 in process_request_internal () #20 0x8068712 in ap_process_request () #21 0x805f6df in child_main () ---Type return to continue, or q return to quit--- #22 0x805f89d in make_child () #23 0x805fa16 in startup_children () #24 0x8060024 in standalone_main () #25 0x806083c in main () #26 0x804eaa1 in _start () Previous Comments: --- [2001-04-01 13:18:12] [EMAIL PROTECTED] I believe it's still a problem, but I'll have to recreate my test case. I'll try and get to it soon. --- [2001-03-31 11:17:17] [EMAIL PROTECTED] do you still experience this error? --- [2000-08-31 15:00:35] [EMAIL PROTECTED] With today's CVS, including Andrei's latest change to xml.c (rev. 1.61), I can generate a backtrace for the segfault that occurs when calling the xml_* routines from the constructor: Starting program: /usr/local/src/apache_1.3.12/src/httpd -X Program received signal SIGSEGV, Segmentation fault. 0x80e3a0e in _efree (ptr=0x5a5a5a5a, __zend_filename=0x81bb1a9 "zend_variables.c", __zend_lineno=98, __zend_orig_filename=0x0,
[PHP-DEV] CVS Account Request
Full name: djalma carneiro Email: [EMAIL PROTECTED] ID: virtual Purpose: I want to help to translate the manual for the Portuguese -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10128: Undefined Variables
From: [EMAIL PROTECTED] Operating system: Windows NT PHP version: 4.0.4pl1 PHP Bug Type: IIS related Bug description: Undefined Variables On Unix, I don't need to declare variables. With IIS, I try to check if a QUERY_STRING variables exists, with "if ($x != "") { echo $x; }". It works fine on Unix, but with IIS, it says that $x is not defined. I could check if it exists under the HTTP_GET_ variables ... but I don't want to go through that hassle. Is this a bug with IIS? -- Edit Bug report at: http://bugs.php.net/?id=10128edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10128 Updated: Undefined Variables
ID: 10128 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: IIS related Assigned To: Comments: No, it probably just means that you don't have the register_globals option turned on. See the manual for more information: http://www.php.net/manual/en/configuration.php#ini.register-globals By the way, you should also check out: http://www.php.net/support.php for information on asking questions about PHP; there are a lot of bug reports and it helps if people ask to find out whether it really might be a bug before reporting it as one. Previous Comments: --- [2001-04-03 00:39:36] [EMAIL PROTECTED] On Unix, I don't need to declare variables. With IIS, I try to check if a QUERY_STRING variables exists, with "if ($x != "") { echo $x; }". It works fine on Unix, but with IIS, it says that $x is not defined. I could check if it exists under the HTTP_GET_ variables ... but I don't want to go through that hassle. Is this a bug with IIS? --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10128edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10129: Bug id #8133 solved (pspell_new)
From: [EMAIL PROTECTED] Operating system: RedHat Linux 6.2 PHP version: 4.0.4pl1 PHP Bug Type: Pspell related Bug description: Bug id #8133 solved (pspell_new) I experienced almost the same problems that get described in bug id #8133. To be more specific: When my program called the pspell_new function from apache or from the command line as user nobody it couldn't get a dictionary(no segfaults). When it was run as a normal user it run ok. The solution was a chmod o+r /usr/local/lib/aspell /usr/local/share/aspell These dirs had the x flag for all but not the r. -- Edit Bug report at: http://bugs.php.net/?id=10129edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]