#23724 [NEW]: uncommenting browscap in php causes apache to fail
| From: | phpman at priya dot 2y dot net | Date: | Tue, 20 May 2003 18:57:08 +0000 |
| Subject: | #23724 [NEW]: uncommenting browscap in php causes apache to fail | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-40084@lists.php.net to get a copy of this message | ||
From: phpman at priya dot 2y dot net
Operating system: Mandrake Linux 9.0
PHP version: 4.3.2RC3
PHP Bug Type: *Configuration Issues
Bug description: uncommenting browscap in php causes apache to fail
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 bug report at http://bugs.php.net/?id=23724&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23724&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23724&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23724&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23724&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23724&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23724&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23724&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23724&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23724&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23724&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23724&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23724&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23724&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23724&r=gnused