Currently I'm working on deploying a php (symfony)/MySQL application on cloud foundry. After deployment, when I connect in SSHto launch commands doctrines for the creation of the schema of the database I have this problem
vcap@5nkjb8jdl87:~/app$ ./php/bin/php app/console doctrine:schema:create --env=prod
Fatal error: Class 'PDO' not found in /home/vcap/app/vendor/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php on line 172
[Symfony\Component\Debug\Exception\ClassNotFoundException] Attempted to load class "PDO" from the global namespace.Did you forget a "use" statement?
doctrine:schema:create [--dump-sql] [--em [EM]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interactio
-shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--] <command>
vcap@5nkjb8jdl87:~/app$ ./php/bin/php -m
[PHP Modules]
bcmath
calendar
Core
ctype
date
dom
ereg
filter
hash
iconv
intl
json
libxml
mhash
mysqlnd
pcre
Phar
posix
Reflection
session
SimpleXML
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
[Zend Modules]
vcap@5nkjb8jdl87:~/app$
How to activate the php PDO module in ClI ? Thank you for your help cdt
</div>