Re: Cannot get PHP to talk to PostgreSQL (Resolved)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27 June 2017 9:03:24 AM GMT+07:00, Gordon Messmer <gordon.messmer@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
>To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx

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
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux