PHP



Create a dynamic site with PHP


PHP is the benchmark!





Create a fully customised site


PHP is widely documented, easy to use and free, and will enable you to generate dynamic pages in just a few lines of code.
Using the templates, you can design personalised pages and put them online very easily.
Create a blog





Create your online store


Use PHP scripts to retrieve, update and edit all items from your shop that are registered in your database.
Create an online shop with PrestaShop





Bring your forum to life


Create a forum easily with all the services your community needs, such as managing RSS feeds in order to track and record exchanges and posts.





Perform operations on time


Send customised forms automatically, classify and analyse information. Use the current time and date to time stamp pages and comments.



For example:

Using today's date...

<?php $cejour = date('d'); echo 'Aujourd\'hui, nous sommes le : ' . $cejour; ?>




Send emails from your site


Use the mail function...



For example:

Send an email that will not be considered as spam

<?php $headers ='From: mon_adresse@votredomaine.com'."\n"; $headers .='Reply-To: adresse@votredomaine.com'."\n"; $headers .='Content-Type: text/plain; charset="iso-8859-1"'."\n"; $headers .='Content-Transfer-Encoding: 8bit'; mail('adresseemaildedestination@domaine.com', 'Sujet', 'Message contenu de l email', $headers); ?>






Use PHP at OVH:


Versions and updates:

  • Available versions: 5.5, 5.6, 7
  • Choice of versions: select the PHP version you want directly via your .ovhconfig file. Find out more.
  • Auto Update: PHP is updated automatically by OVH on your web hosting. If there are significant changes between 2 versions, you can choose not to receive the update if your site is incompatible with this update.


Go further: Customise the use of PHP and Apache:


  • Choice of version: PHP 5.5, PHP 5.6 or PHP 7
  • Use URL rewriting when you want and improve your SEO.
  • Activate Ioncube
  • Password protect access to selected site directories
  • Save time with a Framework: Use pre-developed packs with functions instead of making them yourself!