Hi,

for those guys running RedHat/CentOS 7 and want to upgrade to php7:

yum install centos-release-scl
yum install httpd24 httpd24-mod_ssl rh-php70 rh-php70-php rh-php70-php-ldap
ln -s /etc/httpd/conf.d/lam.apache.conf /opt/rh/httpd24/root/etc/httpd/conf.d/
systemctl stop httpd.service
systemctl disable httpd
# edit /opt/rh/httpd24/root/etc/httpd/conf.d/ssl.conf
systemctl enable httpd24-httpd.service
systemctl start httpd24-httpd.service

Server Root is now: /opt/rh/httpd24/root/var/www/html

Check installation with:
 echo '<?php phpinfo(); ?>' >/opt/rh/httpd24/root/var/www/html/phpinfo.php

load http://localhost/phpinfo.php, eg with firefox or with this:
 rpm -q elinks || yum -y install elinks
 elinks -dump http://localhost/phpinfo.php | head -15

--
Mit freundlichen Grüßen

##------------ IT Physik / Georg August Universitaet Goettingen ----------
## Tel:      +49 551 399363                          FAX: +49 551 39189363
## Post:     Dr. Jürgen Holm -- Friedrich Hund Platz 1 -- 37077 Goettingen
## URL:      http://www.theorie.physik.uni-goettingen.de/jh.html
##
## Rechtschreibfehler sind Absicht und dienen der allgemeinen Belustigung.
##-------------- Verschtehen Sie, Isch habe garrr kein Wooerd! -----------
On Wed, 23 Aug 2017, Roland Gruber wrote:

Hi Jürgen,

sorry, will fix this in 6.1 (September).

However, I strongly recommend to upgrade PHP to a higher version (7.x is
preferred). This is also possible for RHEL 7:

https://access.redhat.com/solutions/2146821

LAM 6.1 will be the last one supporting PHP 5.4 + 5.5 as this is no
longer a supported release by PHP itself.

http://php.net/supported-versions.php


Best regards

Roland


On 23.08.2017 13:17, Jürgen Holm wrote:
Hi


I hit this:
 Fatal error: Call to undefined function LAM\PDF\boolval() in 
/usr/share/ldap-account-manager/lib/pdfstruct.inc on line 655

I'm on current/latest RedHat/CentOS. As I see boolval() is avail at php >=5.5,
but I'm on 5.4.
I don't want to install any version of PHP other then RedHat/CentOS because of
security updates providing from RedHat for the whole lifetime of RHEL7.
So, can your please code a replacement for this function?





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to