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)
@khalil-tabbal
Copy link

Je le fork celui car il est bien utile !

@e-picas
Copy link

e-picas commented Apr 27, 2015

tu déchires !
+1

@94noni
Copy link

94noni commented May 13, 2015

👍 ty :)

@dankh
Copy link

dankh commented Nov 17, 2015

Merci !

@f0x2501
Copy link

f0x2501 commented Dec 6, 2015

Merci !

@Maxooo
Copy link

Maxooo commented Jan 7, 2016

👍 Extra !

@superbiche
Copy link

Merci beaucoup !

@Fabrice42
Copy link

Fabrice42 commented Jun 9, 2016

Vous êtes génial.

@charlycoste
Copy link

Depuis le temps que je cherche cette info !

@abenevaut
Copy link

@medskill
Copy link

medskill commented Jan 6, 2017

merci

@kekbait
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
Copy link

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

@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