Web Hosting Talk







View Full Version : limiting php


ntwaddel
07-22-2002, 07:41 PM
I had a user run a bad php script that filled up my /tmp directory. how can i limit someones account so they cant do this? I just want to limit php on their account, not server wide.

Ahmad
07-22-2002, 10:43 PM
Originally posted by ntwaddel
I had a user run a bad php script that filled up my /tmp directory. how can i limit someones account so they cant do this? I just want to limit php on their account, not server wide.

I'm not sure what exactly do you want to prevent him from doing, but you can put user specific PHP configurations in the users VirtualHost entry in httpd.conf:

http://www.php.net/manual/en/configuration.php