Skip to content

Instantly share code, notes, and snippets.

@floptwo
Last active April 25, 2023 08:40
Show Gist options
  • Star 49 You must be signed in to star a gist
  • Fork 19 You must be signed in to fork a gist
  • Save floptwo/8867068 to your computer and use it in GitHub Desktop.
Save floptwo/8867068 to your computer and use it in GitHub Desktop.
OVH PHP-CLI

PHP-CLI (PHP en ligne de commande) sur les hébergements mutualisés OVH

More complete info here http://cluster015.ovh.net/infos/ (thanks to @42antoine)

(cli)

/usr/local/php5.3/bin/php => PHP 5.3.29 (cli) (built: Nov 21 2017 08:55:07)
/usr/local/php5.4/bin/php => PHP 5.4.45 (cli) (built: Nov 21 2017 08:35:51)
/usr/local/php5.5/bin/php => PHP 5.5.38 (cli) (built: Nov 21 2017 08:46:45)
/usr/local/php5.6/bin/php => PHP 5.6.33 (cli) (built: Jan 10 2018 16:20:36)
/usr/local/php7.0/bin/php => PHP 7.0.27 (cli) (built: Jan 10 2018 16:24:15) ( NTS )
/usr/local/php7.1/bin/php => PHP 7.1.13 (cli) (built: Jan 10 2018 16:46:11) ( NTS )
/usr/local/php7.2/bin/php => PHP 7.2.1 (cli) (built: Jan 10 2018 16:32:56) ( NTS )

(cgi-fcgi)

/usr/local/php5.3/bin/php-cgi => PHP 5.3.29 (cgi-fcgi) (built: Nov 21 2017 08:33:31)
/usr/local/php5.4/bin/php-cgi => PHP 5.4.45 (cgi-fcgi) (built: Nov 21 2017 08:36:51)
/usr/local/php5.5/bin/php-cgi => PHP 5.5.38 (cgi-fcgi) (built: Nov 21 2017 08:47:45)
/usr/local/php5.6/bin/php-cgi => PHP 5.6.33 (cgi-fcgi) (built: Jan 10 2018 16:21:29)
/usr/local/php7.0/bin/php-cgi => PHP 7.0.27 (cgi-fcgi) (built: Jan 10 2018 16:25:16)
/usr/local/php7.1/bin/php-cgi => PHP 7.1.13 (cgi-fcgi) (built: Jan 10 2018 16:46:26)
/usr/local/php7.2/bin/php-cgi => PHP 7.2.1 (cgi-fcgi) (built: Jan 10 2018 16:33:06)
@Seb33300
Copy link

Seb33300 commented Jan 21, 2019

Pour ceux qui souhaitent que la version de PHP en SSH reflète la configuration du .ovhconfig, OVH fournis un script à installer :
https://github.com/ovh/webhosting-ssh-bashrc

@rudyleclercq j'ai le même problème, je suis bloqué à PHP 7.0 au max. Tu as trouvé une solution ? Je viens de contacter OVH, j’attends leur retour...
Mais je pense que c'est parce que je suis sur un hébergement qui date de l'époque d'avant les offres actuelles. Je n'ai pas accès à MySQL 5.6 non plus.

@inkly
Copy link

inkly commented Feb 18, 2019

Salut @Seb33300 t'as eu un retour ovh? j'ai le meme soucis max 7.0 en cli

@folsh
Copy link

folsh commented Apr 21, 2019

Bonjour,
Je voulais savoir si le problème de version php > 7.0 avait été fixé ? J'ai une belle erreur 500 sans log :-)

Merci

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment