#23724 [Opn->Csd]: uncommenting browscap in php causes apache to fail
| From: | iliaa@php.net | Date: | Tue, 20 May 2003 19:01:21 +0000 |
| Subject: | #23724 [Opn->Csd]: uncommenting browscap in php causes apache to fail | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-40085@lists.php.net to get a copy of this message | ||
ID: 23724
Updated by: iliaa@php.net
Reported By: phpman at priya dot 2y dot net
-Status: Open
+Status: Closed
Bug Type: *Configuration Issues
Operating System: Mandrake Linux 9.0
PHP Version: 4.3.2RC3
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2003-05-20 13:57:07] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23724&edit=1