IBM-Cloud / php-mysql

Simple PHP application to demonstrate connecting and interacting with a MySQL service on Bluemix
http://php-mysql.mybluemix.net/
Apache License 2.0
12 stars 60 forks source link

error : class 'PDO' not found in my project (php ibm bluemix ) #1

Open thangkj opened 7 years ago

thangkj commented 7 years ago

error : class 'PDO' not found in my project (php ibm bluemix ) please help me! i use yii2 advanced framework

abdomersoul commented 7 years ago

a composer.json created a the root solved the problem for me:

{ "require": { "ext-mysqli": "", "ext-gd": "", "ext-pdo": "", "ext-pdo_mysql": "" } }