Bug #4017: get_browser() causes illegal instruction

From: Date: Mon, 03 Apr 2000 23:17:45 +0000
Subject: Bug #4017: get_browser() causes illegal instruction
Groups: php.dev 
Request: Send a blank email to php-dev+get-17576@lists.php.net to get a copy of this message
From: bbell@bcit.ca Operating system: AIX 4.1.3 PHP version: 3.0.15 PHP Bug Type: Reproduceable crash Bug description: get_browser() causes illegal instruction This script: <?php function list_array ($array) { while (list ($key, $value) = each ($array)) { $str .= "<b>$key:</b> $value<br>\n"; } return $str; } echo "$HTTP_USER_AGENT<hr>\n"; $browser = get_browser(); echo list_array ((array) $browser); ?> Causes this: [Mon Apr 3 15:08:48 2000] [notice] child pid 19324 exit signal Illegal instruction (4) to be logged to the Apache 1.3.12 error_log file and nothing to be output to the browser (i.e. I get a dialog saying that the document contains no data). I'm using PHP as an Apache DSO and my PHP configure line was: ./configure \ --with-apxs=/w1/local/apache_1.3.12/sbin/apxs \ --with-config-file-path=/w1/local/php/lib \ --with-exec-dir=/w1/local/php/bin \ --with-mysql=/w1/local/mysql \ --with-oracle=/a9/oracle1 \ --enable-debug=no \ --enable-safe-mode=yes \ --enable-track-vars=yes \ --enable-short-tags=no phpinfo() is showing under the Configuration heading: Directive: browscap Master Value: /w1/local/php/lib/browscap.ini Local Value: /w1/local/php/lib/browscap.ini I was having the exact same problem under PHP 3.0.12/Apache 1.3.9 several months ago and thought I would give it another try after recently upgrading. I've also tried using browscap.ini files from various sources, the last being http://www.asptracker.com/.

« previous php.dev (#17576) next »