PHP 5.1.6
Centos 5
XCache Source (not rpm)
-bash-3.1# php -v
/dev/zero: No such file or directory
Cannot open file set by xcache.mmap_path, check the xcache.size/var_size
against system limitation
PHP Fatal error: Cannot open file set by xcache.mmap_path, check the
xcache.size/var_size against system limitation in Unknown on line 0
PHP Fatal error: XCache: Cannot create shm in Unknown on line 0
PHP 5.1.6 (cli) (built: Sep 20 2007 10:16:10)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with XCache v1.2.2, Copyright (c) 2005-2007, by mOo
Segmentation fault
Hi, im trying to compile and run XCACHE with PHP 5.1.6 / Centos 5. I
follow steps of http://xcache.lighttpd.net/wiki/InstallFromSource. It
seems is a permissions problems. Xcache.so is installed in
/usr/lib/php/modules/. Php loads well xache.so but then shows the error.
Did I forget something?
Thanks
on 17.06.2008 09:51
on 17.06.2008 09:55
Ruben wrote: > PHP 5.1.6 > Centos 5 > XCache Source (not rpm) > > -bash-3.1# php -v > /dev/zero: No such file or directory > Cannot open file set by xcache.mmap_path, check the xcache.size/var_size > against system limitation > PHP Fatal error: Cannot open file set by xcache.mmap_path, check the > xcache.size/var_size against system limitation in Unknown on line 0 > PHP Fatal error: XCache: Cannot create shm in Unknown on line 0 > PHP 5.1.6 (cli) (built: Sep 20 2007 10:16:10) > Copyright (c) 1997-2006 The PHP Group > Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies > with XCache v1.2.2, Copyright (c) 2005-2007, by mOo > Segmentation fault > > > Hi, im trying to compile and run XCACHE with PHP 5.1.6 / Centos 5. I > follow steps of http://xcache.lighttpd.net/wiki/InstallFromSource. It > seems is a permissions problems. Xcache.so is installed in > /usr/lib/php/modules/. Php loads well xache.so but then shows the error. > > Did I forget something? > > Thanks Ouch, I think that only need to make # touch /dev/zero after that, i uncomment zend_extension = /usr/lib/php/modules/xcache.so and php -v show properly output. Is that correct?
on 17.06.2008 10:58
> Ouch, I think that only need to make > > # touch /dev/zero # rm /dev/zero # mknod /dev/zero char 1 5 > > after that, i uncomment > > zend_extension = /usr/lib/php/modules/xcache.so > > and php -v show properly output. Is that correct?

