note 28140 added to install.commandline

From: Date: Fri, 03 Jan 2003 16:40:11 +0000
Subject: note 28140 added to install.commandline
Groups: php.notes 
Request: Send a blank email to php-notes+get-41606@lists.php.net to get a copy of this message
Thanks nordkyn, this one was very helpful. Please note that the kernel has to be compiled with misc binary support, which is activated on most distributions like Debian. You would have to please these two lines in a script to run it after every reboot, on debian I propose /etc/init.d/bootmisc.sh You could place this lines at the end but before : exit 0 --- # Install PHP as binary handler mount -t binfmt_misc none /proc/sys/fs/binfmt_misc echo ":PHP:E::php::/usr/bin/php4:" > /proc/sys/fs/binfmt_misc/register --- And please remember that the package management would override the file on the next distribution upgrade :) -- http://www.php.net/manual/en/install.commandline.php http://master.php.net/manage/user-notes.php?action=edit+28140 http://master.php.net/manage/user-notes.php?action=delete+28140 http://master.php.net/manage/user-notes.php?action=reject+28140

« previous php.notes (#41606) next »