Can I run PHP scripts anywhere with my hosting package? Yes, PHP scripts do not have to reside in a particular directory and will run anywhere within your web space.
[Back to top]
Can I use PHP in conjunction with MySQL? Yes you can. Once of the big advantages of PHP is the ability to interface to databases, including MySQL. Since we offer MySQL as a part of our service, you can have PHP act as a front-end to your MySQL databases.
We also offer PostgreSQL databases, which PHP also communicates with extremely well.
[Back to top]
Can I use short tags in my PHP scripts? Yes, we have installed PHP to support short tags, so you can use this feature in your PHP scripts.
[Back to top]
Do I have to have a header at the top of my PHP scripts? No. Since we are not using PHP as a CGI binary, there is no reason to use the #!/usr/bin/php header in your PHP scripts. Doing so will only cause the header to show up as output as well.
[Back to top]
How does Graphicjunkie Hosting run PHP? Graphicjunkie Hosting offers PHP as an Apache module, not as a CGI binary. This is the preferred method of serving PHP as it offers excellent performance. Graphicjunkie Hosting also use Zend Optimizer to further increase performance.
[Back to top]
What are valid file extensions I can use for PHP scripts? The valid file extensions for PHP scripts are listed below:
These file extensions must be used in order for your PHP scripts to run properly.
[Back to top]
What is PHP? PHP is a server-side, cross-platform, HTML embedded scripting language. It has a syntax familiar to both Perl and C. PHP-enabled web pages are treated just like regular HTML pages and you can create and edit them the same way you normally create regular HTML pages.
[Back to top]
What permissions do I need to use on my PHP scripts? To avoid any problems, you should set your PHP scripts to 755, or user everything, group and world read and execute permission.
[Back to top]
What userid does my PHP scripts run under? Your PHP scripts will run under the same userid as the webserver (Apache), which is "nobody". Therefore, since your PHP scripts do not run under your userid, you must take this into consideration when you are trying to create, edit, or modify files with your PHP scripts.
Secondly, PHP scripts run under the group "nobody" as well. All clients are in the group "cust". Therefore, in order to allow PHP to create, modify, and/or delete files within your account, you would need to have world read/write permission on the files and within the directories where the files will be created.
[Back to top]
What version of PHP are you currently running? Currently we are using PHP 4.3.2 (as of 21st August 2003).
[Back to top]
Where can I find more information on PHP and using it on my website? PHP is the most popular scripting language. More information on PHP can be found on the official website, located at http://www.php.net.
On their website, you can find a listing on all PHP functions, libraries, example scripts, a mailing list for developers, and other useful information.
[Back to top]
Why won't my PHP scripts create/edit/delete files? This is because your PHP scripts run under the userid "nobody" and group "nobody". In order to get around this, you will need to set the relevant files and directories to world read/writable (CHMOD 777).
[Back to top]