Ask coding questions

← Back to all posts
PHP REPL : Is it possible to get PDO and connect to a remote MySQL Server ?
liorchamla (4)

Easy question, I have a remote server with a database and I just want my REPL (with PHP) to connect.

The connection works very well with a NodeJS REPL (with the MySQL package), but not at all with PHP / PDO.

Is there someone who knows how I can add PDO extension to a PHP REPL ?

tedesco182 (0)

doing phpinfo() in a simple code, I found this:


mauriziocozzetto (0)

I have the same problem. No one seems to know how to obtain this thing on! With Flask and Nodejs all rules.