Scripting/Programming

  • Do you have any banned scripts?
  • Can I use Formmail scripts?
  • How can I check whether a script available on the internet is insecure?
  • What is Fantastico?
  • What is the path to Imagemagick?
  • Why do I get 'Permission Denied' errors when using wget, lynx or GET via cron?
  • Can I modify the upload_max_filesize value for PHP?
  • Is NetPBM installed?
  • Why won't my FormMail scripts work?
  • What is PHP's open_basedir restriction?
    R:
    We have a security measure in place in PHP on all servers 
    called 'open_basedir'. This is where PHP scripts are restricted 
    with regard to what parts of the server filesystem thay can 
    access. 
    We maintain a list of areas where PHP scripts are allowed to 
    access (/home/username, /tmp + others) and if a script 
    attempts to access a file or directory elsewhere on the 
    filesystem it will result in an error relating to 'open_basedir'. 
    This stops PHP scripts accessing directories and files owned 
    by other users, specific to the server config and root user, 
    etc. 
    It is rare that the allowed paths list will need modification for 
    any user. However, sometimes an alteration is required for 
    some scripts to function properly (eg Modernbill). If you think 
    this applies to you, please open a support ticket remembering 
    to include the full error message and domain name and we'll 
    investigate. 
    

    × close