4
我面臨一個我無法解決的問題。我使用Ubuntu 16.04,PHP 7.1,MySQL和NGINX在我的服務器上託管了我的應用程序。我的應用完美。當我SSH我的服務器和應用程序根我運行以下,PHP工匠會議:表,它運行成功。Laravel 5.4遷移錯誤
當我運行php工匠遷移時,我得到foll0wing錯誤,並沒有在我的數據庫中創建表。
[Illuminate\Database\QueryException]
could not find driver (SQL: select * from information_schema.tables where t
able_schema = UNIT3D and table_name = migrations)
[PDOException]
could not find driver
任何想法?我試圖使用這個。 https://github.com/thomastkim/laravel-online-users
是原來w ^母雞我升級到php7.1我忘了安裝模塊 'sudo apt-get安裝php7.1-php-mysql' 謝謝 –
'sudo apt-get install php-mysql'自動選擇正確的php版本 – BetaRide