On Tue, April 24, 2007 8:39 am, Marco Michelino wrote: > Hi *, > is it possible to change the shell used by system() , exec() and > similar PHP funtions? > > I'm running mod_php in apache on Linux. > > Apache shell is set to /sbin/nologin but PHP insists to call > /bin/sh... I suspect you cannot change that without changing PHP source. You can, however, have PHP exec() scripts that start with: #!/sbin/nologin or whatever shell you want... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php