|
Test Your PHP configuration
This test will determine whether permissions will be required or not. Some PHP
configurations require permissions to be set when using PHP scripts, others don't.
Save the file "testperm.php" to your computer
by clicking on the button below and choosing "Save":
Save the file "testperm.txt" to your computer
by clicking on the button below and choosing "Save":
Now upload the files "testperm.php" and "testperm.txt" to your webspace in ASCII mode, then execute the script by
running it from your web-browser. For example, use your browser to go to:
http://www.yourdomain.com/testperm.php
Replace "www.yourdomain.com" with your own domain, including the path if necessary.
After running the script you'll need to download the file "testperm.txt" from your server back onto your computer to view the contents - this will
tell you whether the script worked or not.
If it worked then you won't have to set any permissions when using the scripts available on this website. If it fails
then permissions will be required. You will now need to determine which permission level you need - either 600 or 666. Throughout this
website we recommend the use of 666, but if possible you should use 600 as it's more secure. The following test will
determine whether you need to use 600 or 666.
Try changing the permission of the file "testperm.txt" to 600. If you don't know how to do this, see our Guides
section for a tutorial. Then run the script again from your web-browser (as you did previously). If it works you can use a permission level of
600 instead of 666, otherwise you will need to use 666.
|