
.. quiero creer que las llaves no afectarían en nada a el script...

...

.
Y sí se necesita conpilar PHP para que soporte MySQL, chekate la documentación oficial:
http://www.php.net/manual/es/ref.mysql.php
Pero yo le preguntaría a falaya ¿cómo es que instalaste MySQL y PHP???...