[PHP3.05] Can I place a PHP script in any directory I choose?

Yes. PHP scripts do not have to reside in any particular directory and will run anywhere in your web space, as long as the file permissions are correctly set to 644.

Was this answer helpful?

 Print this Article

Also Read

[PHP3.17] Using PHP5 makes all my products disappear in OSCommerce

We have updated our version of php so the default used is PHP5 rather than PHP4. This can cause...

[PHP3.09] What is the path to ImageMagick?

The full path to the binary is:- /usr/bin/convertSome scripts request the directory path, rather...

[PHP3.02] What modules are installed on the server?

Simply log into your Hosting cPanel v7.5 Control Panel and select Web Diagnostics. Under that...

[PHP3.15] How do I edit php.ini (PHP settings) for my hosting package?

Becuase of the way in which we run PHP, you are able to customise its behaviour with php.ini...

[PHP3.06] What file extensions can run PHP?

PHP will run all files with the following extensions by default:-.php.php3.php4.php5.php4 files...