Edit report at https://bugs.php.net/bug.php?id=18&edit=1

 ID:                 18
 Comment by:         junxing dot lin at yahoo dot com
 Reported by:        fdeleau at comtech dot be
 Summary:            get_browser() doesn't work.
 Status:             Closed
 Type:               Bug
 Package:            Other
 Operating System:   Linux 2.0.33
 PHP Version:        3.0b3
 Block user comment: N
 Private report:     N

 New Comment:

http://www.chishairstraighteners.net     chi flat iron
http://www.chishairstraighteners.net     chi flat irons
http://www.chishairstraighteners.net     chi hair straightener
http://www.chishairstraighteners.net     chi hair straighteners


Previous Comments:
------------------------------------------------------------------------
[1998-01-28 12:09:36] zeev

The problem was that the regular expression libraries used by PHP and apache 
weren't the same.
get_browser() uses regex's, which caused the problem.

------------------------------------------------------------------------
[1998-01-28 10:25:45] fdeleau at comtech dot be

I have php3.0b3 compiled as a module for Apache 1.2.5

The httpd process crashes (segmentation fault)when the 
following line is executed:
        
       <? $browser = get_browser(); ?>

The browscap.ini I'm using comes from http://php.netvision.net.il/browscap/

* My configure line:
--------------------

./configure --disable-debug --with-apache=/usr/src/apache_1.2.5 
--with-mysql=/usr/src/mysql-3.21.18a-beta 
--with-config-file-path=/etc/httpd/conf --with-config-file=php3.ini

* In php3.ini, I have :
-----------------------

[browscap]
browscap = "/etc/httpd/conf/browscap.ini"


Regards,
Fabrice

------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=18&edit=1

Reply via email to