|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23724 uncommenting browscap in php causes apache to fail
Submitted: 2003-05-20 13:57 UTC Modified: 2003-05-20 14:01 UTC
From: phpman at priya dot 2y dot net Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 4.3.2RC3 OS: Mandrake Linux 9.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: phpman at priya dot 2y dot net
New email:
PHP Version: OS:


 [2003-05-20 13:57 UTC] phpman at priya dot 2y dot net
It's taken me 2 hour's to track it down, but. I've compiled and installed this on an existing apache that comes with Mandrake 9.0, I rpm -e'd the existing php and replaced it with the following configuration

./configure --with-mysql --with-apxs --prefix=/usr --with-gd --enable-gd-native-ttf --with-gettext  --with-mime-magic --with-zlib-dir=/usr/include

when I copy php.ini-reccomended to /usr/lib/php.ini it works fine, I've downloaded the latest browscap.ini placed it in /usr/lib/php/browscap.ini, uncommented the browscap line in the php.ini file and pointed it to browscap, then I restarted apache... 

Starting httpd-perl:          [  OK  ]
Starting httpd:               [  OK  ]
                              [  OK  ]
                              [  OK  ]

That's not right is it? so I checked my logs...
I have the following in my /var/log/httpd/error_log that wasn't there before:
setsid: Operation not permitted
httpd: setsid failed
setsid() failed probably because you aren't running under a process management tool like daemontools

And httpd hasn't realy started...

So for now, I'm running without the browscap

Keep up the good work


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-20 14:01 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 23:01:29 2024 UTC