Search code examples
phpiispdoiis-6php-5.2

How to enable PDO on a server with very limited access?


I want to run a website on a server (actually only part of the server) I have a very limited access to. The only two things I can do is to connect via FTP to my part in the server and to connect to one MySQL database.

On this server I want to run some PHP code which uses PDO. The problem is that PDO is not enabled on this server.

So what can I do to have PDO on this server with the access I have?

Some more information on the server: It is a Windows server which runs Microsoft IIS 6.0. It has PHP 5.2.3.


Solution

  • If PDO isn't enabled (check <? phpinfo(); ?>) there's not much you can do... It can't be enabled without access to the PHP configuration on server level.