Thank you for the information. Am I right that php-skripts then would need an execute-bit set? Currently they don't have ...
On 9 Jun 2003 at 17:59, Jon wrote: > On Mon, 2003-06-09 at 17:28, Phillip Hofmeister wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On Mon, 09 Jun 2003 at 09:35:49PM +0200, Stefan Neufeind wrote: > > > But you mean starting with #! ?? How could I use the normal way of > > > setting a cgi-handler for calling .php-files? Know what I mean? > > > > > > Using Misc Binary-support (and therefor patching the kernel) seems > > > no solution to me. Isn't there some way to make it work using > > > Apache- features? > > > > MISC Binary is not patching the kernel. MISC Binary comes as an > > option with the stock kernel. You might have to compile your own > > kernel (I don't know, I haven't used a stock Debian kernel in a VERY > > long time...) > > > > The binfmt_misc kernel module is included in the stock Debian kernels, > AFAIK. There is a nice package, binfmt-support (ala > update-alternatives) that allows one to easily configure binfmt_misc: > > > Package: binfmt-support > Support for extra binary formats > > The binfmt_misc kernel module, contained in versions 2.1.43 and later > of the Linux kernel, allows system administrators to register > interpreters for various binary formats based on a magic number or > their file extension, and cause the appropriate interpreter to be > invoked whenever a matching file is executed. Think of it as a more > flexible version of the #! executable interpreter mechanism. > > This package provides an 'update-binfmts' script with which package > maintainers can register interpreters to be used with this module > without having to worry about writing their own init.d scripts, and > which sysadmins can use for a slightly higher-level interface to this > module.