On 27 June 2017 9:03:24 AM GMT+07:00, Gordon Messmer <gordon.messmer(a)gmail.com>
wrote:
On 06/25/2017 01:41 AM, Stephen Davies wrote:
> The RoundCube installation went smoothly and I checked that the
PostgreSQL extensions were included inthe PHP configuration.
> (Initially, I had duplicate extension= entries but the httpd log
reported "already loaded" for both modules so I removed the dups. I
believe that this confirms that PHP is loading the modules.)
That shouldn't happen with RPM installations, so it would be helpful if
you could be really specific about all of the steps up to this point.
How did you install php and the pgsql extensions? What specific errors
were logged? What did you remove in order to eliminate the dups?
> However, phpinfo says that there is no PDO for PostgreSQL and
RoundCube says "driver not found".
>
> The reason tbat I suspect a library issue is that I (foolishly) used
both dnf install roundcubemail and the original tar file expansion plus
compose.
That shouldn't cause the error you're describing. Remove the manually
installed version, and use "rpm -V" to make sure the rpm version is
intact.
_______________________________________________
users mailing list -- users(a)lists.fedoraproject.org
To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
As I posted yesterday, I have reversed the original installtions and started again from
scratch.
As suggested by Rick, I have checked the .ini file list on phpinfo and find that the
relevant PostgreSQL ini's are missing.
Both are in /etc/php.d with exactly the same ownership and permissions as all the others.
I just checked the php-fpd log and found a message regarding the timezone not being set .
Fixing that seems to have fixed database access as well.
Weird!
--
Stephen Davies