bx2gp1 Posted August 13, 2015 Posted August 13, 2015 (edited) Hi admin, I just read this thread http://www.helionet.org/index/topic/5850-cron-job-error-php-error/page__p__48626__fromsearch__1 and this one http://www.helionet.org/index/topic/8648-does-heliohost-support-pdo-pgsql/page__hl__%22pdo+pgsql%22__fromsearch__1 but when I run my php page that utilize pdo_pgsql then I got an error "could not find driver". Is pdo_pgsql driver removed? I have attached an image of my error. Edited August 13, 2015 by bx2gp1
wolstech Posted August 13, 2015 Posted August 13, 2015 It's available on Stevie but not Johnny. I'm not sure if it can be installed or not. Escalating.
bx2gp1 Posted August 14, 2015 Author Posted August 14, 2015 I see, I use Johnny because of its PHP version 5.4+. That is the minimum requirement of Yii framework. I hope this will be granted to Johnny server as well.
wolstech Posted August 14, 2015 Posted August 14, 2015 The older, original Yii 1.x supports php 5.3. You could downgrade if we end up not being able to add this driver for you, or use mysql (we do support pdo for that on johnny), or use the native mysqli or pgsql functions. Also, for what its worth, PHP version is one of the reasons I stay away from frameworks and just use the vanilla functions in php. Every time I've used a framework, I end up with an app that needs a very specific version of php, and updates to fix the framework (sometimes which require php be updated). My frameworkless apps run on everything from 5.1 to 5.5 with minor changes at most, usually in syntax, and rarely if ever need updates beyond bug fixes in the application itself.
bx2gp1 Posted August 15, 2015 Author Posted August 15, 2015 Yes true, but I will have time advantage if I use the Rapid Application Development benefit of Yii 2 Framework (plus plugins/modules). Thanks for escalating this topic ^^
Krydos Posted August 15, 2015 Posted August 15, 2015 pdo_pgsql PDO Driver for PostgreSQL enabled PostgreSQL(libpq) Version 8.1.23 Module version 1.0.2 Revision $Id: pdo_pgsql.c,v 1.7.2.11 2006/03/14 10:49:18 edink Exp $ pdo_pgsql has been installed on Johnny.
bx2gp1 Posted August 16, 2015 Author Posted August 16, 2015 heliohost and helionet guys are the best! :lol:
Recommended Posts