Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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)
@khalil-tabbal

This comment has been minimized.

Copy link

khalil-tabbal commented Apr 7, 2014

+1 :)

@khalil-tabbal

This comment has been minimized.

Copy link

khalil-tabbal commented Apr 17, 2014

Je le fork celui car il est bien utile !

@e-picas

This comment has been minimized.

Copy link

e-picas commented Apr 27, 2015

tu déchires !
+1

@94noni

This comment has been minimized.

Copy link

94noni commented May 13, 2015

👍 ty :)

@dankh

This comment has been minimized.

Copy link

dankh commented Nov 17, 2015

Merci !

@mentat-fr

This comment has been minimized.

Copy link

mentat-fr commented Dec 6, 2015

Merci !

@Maxooo

This comment has been minimized.

Copy link

Maxooo commented Jan 7, 2016

👍 Extra !

@superbiche

This comment has been minimized.

Copy link

superbiche commented Apr 4, 2016

Merci beaucoup !

@Fabrice42

This comment has been minimized.

Copy link

Fabrice42 commented Jun 9, 2016

Vous êtes génial.

@charlycoste

This comment has been minimized.

Copy link

charlycoste commented Jun 22, 2016

Depuis le temps que je cherche cette info !

@abenevaut

This comment has been minimized.

Copy link

abenevaut commented Nov 21, 2016

@medskill

This comment has been minimized.

Copy link

medskill commented Jan 6, 2017

merci

@kekbait

This comment has been minimized.

Copy link

kekbait commented Mar 15, 2017

Merci beaucoup !
Peux-tu mettre à jour le Gist en incluant PHP7.1, qui est maintenant disponible sur les serveurs OVH ?

(cli)
/usr/local/php7.1/bin/php => PHP 7.1.1 (cli) (built: Jan 20 2017 10:37:38) ( NTS )

(cgi-fcgi)
/usr/local/php7.1/bin/php-cgi => PHP 7.1.1 (cgi-fcgi) (built: Jan 20 2017 10:38:29)

@rudyleclercq

This comment has been minimized.

Copy link

rudyleclercq commented Sep 11, 2017

7.1 n'est pas disponible en CLI sur mon mutu, il y a une manip à faire ?

@Seb33300

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

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
You can’t perform that action at this time.