Jump to content

Recommended Posts

Posted (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. post-92196-0-32883000-1439452804_thumb.png

Edited by bx2gp1
Posted

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.

Posted

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.

Posted

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 ^^

Posted

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.

Guest
This topic is now closed to further replies.
×
×
  • Create New...