Phone: +44 1865 980583
 
   Welcome to the Knowledge Base

  Articles
    A Simple PHP Template System
    Basic tips on optimizing for Google
    Beginner's web design tutorial
    The benefits of a Virtual Private Server (VPS)
    The myth of unlimited bandwidth
    VPS and reseller accounts compared
    What is CGI?
    What makes Digital Crocus different?

  Blogging Setup
    Setting up FTP hosting using Radio

  Disk and Bandwidth quota e-mails
    Bandwidth quota usage
    Disk quota usage

  Domains
    I've renewed, but my website's stopped working
    SSL secure website hosting
    Subdomains

  Dynamic Content (PHP and CGI)
    Uploading Perl CGI scripts
    Uploading PHP scripts
    Your own custom php.ini

  E-mail
    Creating mail boxes
    E-mail settings for other clients
    Outlook 2002 setup
    Outlook Express setup
    Setting up ActiveSync on your Windows Mobile based mobile phone or pocket PC
    Setting up mailboxes
    Subscribe to your spam folder in Outlook 2002
    Subscribe to your spam folder in Outlook Express
    Subscribe to your spam folder in Thunderbird
    Thunderbird setup

  How to upload your website
    CuteFTP setup guide
    Internet Explorer setup guide
    Settings for clients not listed
    SmartFTP setup guide

  Troubleshooting
    I can't login to MySQL
    My domain name won't work
      I bought my domain name from a different registrar
      I bought my domain name through Digital Crocus

Uploading PHP scripts

PHP is fully supported on all Digital Crocus accounts within our secure virtual private server environment. You can see some information on our PHP installation here.

  • PHP files should end in .php
  • PHP scripts run 'as you'.

When a PHP script executes, it has the same permissions you do when you login to the server. This means if you need to make a file or directory writable from your script you do not need to make it world writable (chmod 777), in fact it is a very good idea not to. If the installation instructions for your script tell you to make something world writable (chmod 777 or 666), you should omit this step. This is a feature of our secure VPS environment.

  • Database connections are to 'localhost'.

If your script needs to connect to MySQL, the server hostname you should use is 'localhost', this will usually be the default. You should login to MySQL as your main account username and with the password you defined via the databases section of the control panel. You will need to create at least one database (via the control panel) before you are able to login to MySQL.

  • You can set your own PHP configuration variables via php.ini

If you need to set PHP configuration options (register globals for example), you can do this by uploading your own custom php.ini into your home directory. Click here for more details on uploading your own custom php.ini file.


Top ]


Questions Resellers Hosting Domains Home