Re: php verion issue in new installation
Daniel Stonek <[email protected]> Mon, 14 Oct 2019 08:54:00 -0300
| Newsgroups | gmane.comp.horde.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Ralf, Just yesterday I uninstalled Horde and then instead of "pear" I used it from php7.2 install, so "/opt/rh/rh-php72/root/usr/bin/pear" And now it is working perfectly. I posted here a question about PAM support https://serverfault.com/questions/987746/pam-for-php-7-2-and-horde Thank you Daniel On 14/10/19 03:29, Ralf Lang wrote: > Hi Daniel, > > Am 12.10.19 um 01:51 schrieb Daniel Stonek: >> Hello, >> >> I've just installed Horde following instructions >> >> https://www.horde.org/apps/webmail/docs/INSTALL#id4 >> >> This is a VPS with Centos 7 Apache 2.4 that has installed by default >> php5.6 >> I also installed php7.2 >> >> From Virtualmin I created a sub-domain to host Horde >> Process was okay but test.php using php7.2 outputs >> >> Could not find Horde's framework libraries in the following path(s): >> /path-to-www/lib:.:/opt/rh/rh-php72/root/usr/share/pear:/opt/rh/rh-php72/root/usr/share/php. >> Please read horde/docs/INSTALL for information on how to install these >> libraries. >> >> Switching to php5.6 login page loads correctly and login is successful >> >> I understand that it is a mixing php versions issue, I'm asking how to >> fix it for php7.2 >> >> php -i | grep include_path -> >> include_path => .:/usr/share/pear:/usr/share/php => >> .:/usr/share/pear:/usr/share/php >> >> Thank you >> > a) Fix the search path to also point at the php5.x pear path > b) reinstall horde libraries to the php72 pear path (also re-run the > part about the horde_dir and horde roles > > > > -- Horde mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]