I'm getting a "could not find driver" error after FTPing a new site, which works fine on my notebook (XAMPP on XP) to GoDaddy Linux web hosting service.
GoDaddy runs php-cgi, which expects to refer to a PHP.ini in the site root directory ... upon calling each script.
I suspect that the error is due to GoDaddy not enabling the PDO and SQLite3 drivers, used by my site. I think I need something like:
Searching GoDaddy, SQLite.org and Google etc. hasn't uncovered an example Linux CGI PHP.ini ... to verify. Anyhow, the above extension calls do not work.
Might anyone post how to call the required extensions, properly?
thanks,
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm getting a "could not find driver" error after FTPing a new site, which works fine on my notebook (XAMPP on XP) to GoDaddy Linux web hosting service.
GoDaddy runs php-cgi, which expects to refer to a PHP.ini in the site root directory ... upon calling each script.
I suspect that the error is due to GoDaddy not enabling the PDO and SQLite3 drivers, used by my site. I think I need something like:
extension=sqlite3.so
extension=php_pdo_sqlite.so
extension=php_sqlite.so
Searching GoDaddy, SQLite.org and Google etc. hasn't uncovered an example Linux CGI PHP.ini ... to verify. Anyhow, the above extension calls do not work.
Might anyone post how to call the required extensions, properly?
thanks,
Mike