This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
installation:ovh [2012/03/18 19:51] hameau Minor readability improvements |
installation:ovh [2014/02/11 09:42] (current) hameau Change of requirements for 2014 Shared Hosting |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== OVH ====== | ====== OVH ====== | ||
+ | ===== 2014 Shared Hosting ===== | ||
+ | |||
+ | //"Activer l'optimisation PHP sur son Hébergement Mutualisé OVH"// | ||
+ | |||
+ | The introduction of [[http://php-fpm.org/|PHP-FPM (FastCGI Process Manager)]] means that it is no longer necessary to modify the ''.htaccess'' file. | ||
+ | |||
+ | Instead, a file ''.ovhconfig'' is placed in the Document Root of the site. A minimal file should contain this code: | ||
+ | |||
+ | app.engine=php | ||
+ | app.engine.version=5.4 | ||
+ | http.firewall=none | ||
+ | environment=development | ||
+ | |||
+ | More information and a fully-commented sample ''.ovhconfig'' file can be found on [[https://www.ovh.com/fr/g1175.format_du_point_ovhconfig|the OVH support page]]. (The support page is in French, but the commented file options are in English.) | ||
+ | |||
+ | To avoid fatal PHP errors, this file must be in place before starting the GetSimple installation process. | ||
+ | |||
+ | The minimal ''.ovhconfig'' file should be adjusted for production use, in order to use the advanced caching and processing features. | ||
+ | ===== Legacy Shared Hosting ===== | ||
+ | |||
The default PHP version is v4, therefore the installation process cannot be started immediately after uploading the GetSimple files to the webspace. | The default PHP version is v4, therefore the installation process cannot be started immediately after uploading the GetSimple files to the webspace. | ||
If you try to start the installation by visiting the web address, an error similar to the following will appear in the browser:\\ | If you try to start the installation by visiting the web address, an error similar to the following will appear in the browser:\\ | ||
Line 8: | Line 28: | ||
''SetEnv PHP_VER 5'' | ''SetEnv PHP_VER 5'' | ||
- | As the temporary ''.htaccess'' file will be overwritten by the GetSimple installation, it is also necessary to add that line manually, by either: | + | As the temporary ''.htaccess'' file will be overwritten by the GetSimple installation, it is also necessary to add that line manually to the permanent file, by either: |
* editing the ''temp.htaccess'' file before installing GetSimple, or | * editing the ''temp.htaccess'' file before installing GetSimple, or | ||
* editing the ''.htaccess'' file after installation. | * editing the ''.htaccess'' file after installation. | ||
Other sub-versions of PHP can also be specified. More information is in the [[http://guides.ovh.net/Php5ChezOvh|OVH guide]] (French language, but easily understandable). | Other sub-versions of PHP can also be specified. More information is in the [[http://guides.ovh.net/Php5ChezOvh|OVH guide]] (French language, but easily understandable). |