 |
 |
YoHost Linux Hosting FAQ: PHP
What version of PHP is running?
What is the path to SendMail?
Is it possible to run a PHP script under my own username?
| | Yes. This can be accomplished by running the script in CGI mode.
To do this, place the script in the cgi-bin, CHMOD 700 (for maximum security),
and include #!/usr/bin/php at the top of your script.
Note: Actually, the script can also be outside the cgi-bin, if you use an .htaccess file containing the line AddHandler cgi-script .php.
|
Is there anything I should know about using PHP to send email?
| | Yes. First of all, keep in mind that we do not allow our customers
to send unsolicited bulk mail (spam).
Second, unless you run your scripts under your own username
(se above), email sent from PHP scripts
will contain the header Return-path: nobody@server.name, so you
will not receive notifications of bounced email.
|
I require a special installation of PHP, or I need specific settings in php.ini. Can you help?
| | Yes! In some cases an .htaccess file is all that is needed, but other situations
may require a customized copy of PHP just for you, installed as a CGI
with your own php.ini. Either way, YoHost is happy to help with your special needs.
|
|
 |
 |