YoHost Home
Sign Up
Linux Hosting
Linux Hosting Plans
Linux Control Panel Demo
Reseller Information
Linux FAQ
Windows Hosting
Frequently Asked Questions
Pre-Sales FAQ
Linux Hosting FAQ
Windows Hosting FAQ
Support

YoHost Linux Hosting FAQ: PHP

What version of PHP is running?

  Click here for complete details.

What is the path to SendMail?

  /usr/sbin/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.

Our other sites: ColdFusion 8 Hosting, ColdFusion MX Hosting, Hosting ASP.NET

Copyright © 2002-2008 YoHost.com
terms   privacy   contact