Results 1 to 2 of 2

Thread: limiting php

  1. #1
    Join Date
    Jul 2002
    Location
    San Luis Obispo, CA
    Posts
    818

    limiting php

    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.
    Nick Twaddell
    WebSpace Solutions - Custom E-Solutions
    Fast, Reliable, Affordable Web Hosting

  2. #2
    Join Date
    Jan 2002
    Location
    Kuwait
    Posts
    679

    Re: limiting php

    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
    Ahmad Alhashemi
    PHP, Apache, C, Python, Perl, SQL
    18 related BrainBench certificates

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •