apache+mod_ssl-1.3.29+2.8.16 (suexec), PHP 4.3.4 (cgi), FreeBSD 4.10-STABLE
exec("ls -l") in a php cgi script works the first time it is run after a reboot Every subsequent invocation gives
/kernel: maxproc limit exceeded by uid 1208, please see tuning(7) and login.conf(5)
in /var/log/messages and
Warning: exec(): Unable to fork [ls -l]
on the webpage.
A similar problem showed up in April this year:
But had no responses. That was also a webserver running php4.
man 7 tuning doesn't mention maxproc, and /etc/login.conf is the default, with
Googling tells me that unable to fork errors are commonish with php but mostly on Windows, often boil down to permissions, and are supposed to be improved by using the cgi version. This isn't Windows, permissions are fine and I am running as cgi.
I suspect php cgi and apache suexec don't play nicely together. But I'd be grateful for any better informed pointers.
Peter. _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"