3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Plesk OnyxでLaravelのartisan

Posted at

CentOS上のPlesk Onyxで、Laravelのartisanコマンドを行う場合、通常通りの
「php artisan」とするとCentOSに標準で入っているPHP5.4を使用するのでエラーとなる。

Pleskで管理しているPHPを利用する。

$ /opt/plesk/php/7.1/bin/php artisan

Plesk Onyxでは、PHPのバージョンの切り替えができるので「7.1」の部分を変えて他のバージョンを使うこともできる。

$ ls /opt/plesk/php
5.6  7.0  7.1  7.2
3
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?