|
Where can I upload PHP scripts:
PHP scripts can be uploaded into the "public"
directory folder using the .php extension.
This is also the same directory that your publicly
accessible web pages are stored.
How do I check my PHP server environmental
variable settings?
Put the following line
of code inside your php script:
<? phpinfo(); ? >
What is the path to the SendMail Program?
/usr/sbin/sendmail
My script shows "internal server error," how do I
tell what is going on?
We do not have error logs available, but
this should not prevent you from printing out the
error message.
To see what is causing the error, do the
following to enable error printing.
1. create a .htaccess file
2. Add the following two lines of code to the
.htaccess file:
php_flag display_errors
on
php_value error_reporting 7
What is the absolute path to: (Use the following
format, but do not take it literally!)
cgi-bin directory: /services/webpages/FirstCharacterOfDomain/SecondCharacterOfDomain/your-domain.com/cgi-bin/
public directory: /services/webpages/FirstCharacterOfDomain/SecondCharacterOfDomain/your-domain.com/public/
private directory: /services/webpages/FirstCharacterOfDomain/SecondCharacterOfDomain/your-domain.com/private/
access_log:
/services/webpages/FirstCharacterOfDomain/SecondCharacterOfDomain/your-domain.com/logs/access_log
Just as an example using domain name: HostSite.com
The absolute path to the cgi-bin directory for this
case would be:
/services/webpages/h/o/hostsite.com/cgi-bin/
Follow the example format for hostsite.com to
derive the absolute paths for your own hosting
domain name.
Once again, do
not take the exact path information above literally.
Change it to fit the format structure.
|
|