php.net |  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
 [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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-20 14:01 UTC] iliaa@php.net
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 http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net 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: Sat May 18 00:01:33 2024 UTC