====== PHP/MySQL Instance ====== This instance family is for webmasters that would like to host dynamic websites that are built using PHP and require a MySQL database. It is a typical configuration that is used for most CMS installations (joomla!, etc.) =====Prerequisites===== * Knowledge of php and the HTTP protocol, * You must have a file-transferring client that can upload files via SFTP (like FileZilla) =====Supported version===== __ PHP__ : * version 7.0 * version 5.6 (recommended) * version 5.4 (eol) __MySQL__: * version 5.6 (Percona Server) (recommended) * version 5.5 More information on these can be found in their respective pages below: * [[en:simple:php|Simple Hosting PHP information]]: see information and settings for PHP * [[en:simple:mysql|Manage your MySQL database]] =====General functioning===== You can attach as many domain names to your instance as you want, meaning that you can host as many websites as you want on it: you are only limited by the max number of pageviews of your pack, which you can upgrade if needed! ====vhosts==== Each address that you create via your interface at Gandi will generate a new vhost directory in your instance, that you will see when you log into your server. You will upload your files via sFTP to your instance in the directory of your vhost (website address) . In case you need to know, the absolute path to your htdocs directory is: /lamp0/web/vhosts/www.yourdomainname.com/htdocs/ (where "%%www.yourdomainname.com%%" is the name of the address you specified in your account at Gandi ====Logs==== You can view your logs (php, apache) from your instance's administration page. ====Database==== This instance uses MySQL, which you can access either via phpmyadmin or via SSH: * [[en:simple:mysql|Managing your MySQL database via phpmyadmin]] * [[en:simple:console|Logging into your instance with SSH]] =====Known issues===== ===== See Also ===== * [[en:simple:administration_of_your_instance|How to use your instance's administration page]] * [[en:simple:sftp|How to log into your instance and upload files]] * http://httpd.apache.org/docs/trunk/en/env.html#fixheader