Possible PHP 7.1 bug or crash on Centos 7??
Re: Possible PHP 7.1 bug or crash on Centos 7??
HowTo switch to the newer PHP versions permanent?
Re: Possible PHP 7.1 bug or crash on Centos 7??
Have you read the links in my previous answer ?
BTW, SCL are not designed to replace system default version, but to exist beside it.
For CLI, various ways exist
- source the "enable" script in your profile script
- create a link from /opt/rh/rh-php71/root/usr/bin/php to /usr/bin/php
- etc
For other SAPI (web) just have to use the right mod_php version or fpm version (service) as explained in previous links (PHP Configuration tips).
Else, if you really want a Single version, and don't care of using only CentOS repository, perhaps SCL are not the best way for you.
Ex: using my repo: Configuration wizard
BTW, SCL are not designed to replace system default version, but to exist beside it.
For CLI, various ways exist
- source the "enable" script in your profile script
- create a link from /opt/rh/rh-php71/root/usr/bin/php to /usr/bin/php
- etc
For other SAPI (web) just have to use the right mod_php version or fpm version (service) as explained in previous links (PHP Configuration tips).
Else, if you really want a Single version, and don't care of using only CentOS repository, perhaps SCL are not the best way for you.
Ex: using my repo: Configuration wizard
Re: Possible PHP 7.1 bug or crash on Centos 7??
How can I go back to my original/current setup after I've
done or using your repo: 'Configuration wizard' ... ?!
Operating system: CentOS 7
Wanted PHP version: 7.1.12
Type of installation: Single version
done or using your repo: 'Configuration wizard' ... ?!
Operating system: CentOS 7
Wanted PHP version: 7.1.12
Type of installation: Single version
Re: Possible PHP 7.1 bug or crash on Centos 7??
Please don't use private message, I will never reply to them
> * I can not login to my 'Squirrlemail' ?!
Of course, Squirrlemail seems to be a dead project, last news, from 2013, was about php 5.4 compatibility....
So probably not compatible with modern PHP version
> How can I go back to my original/current setup after I've
yum history undo ...
P..S: so, Sofware Collections are exactly designed for such use case.
- one PHP version for legacy application (so 5.4 for Squirrlemail)
- one PHP version for other application (e.g. 7.x)
As described, in previously poste link (PHP Configuration Tips)
> * I can not login to my 'Squirrlemail' ?!
Of course, Squirrlemail seems to be a dead project, last news, from 2013, was about php 5.4 compatibility....
So probably not compatible with modern PHP version
> How can I go back to my original/current setup after I've
yum history undo ...
P..S: so, Sofware Collections are exactly designed for such use case.
- one PHP version for legacy application (so 5.4 for Squirrlemail)
- one PHP version for other application (e.g. 7.x)
As described, in previously poste link (PHP Configuration Tips)
Re: Possible PHP 7.1 bug or crash on Centos 7??
yea, I see ... and thanks for that!
do you by chance have any recomedation of a 'webmail' client?
do you by chance have any recomedation of a 'webmail' client?
Re: Possible PHP 7.1 bug or crash on Centos 7??
> do you by chance have any recomedation of a 'webmail' client?
roundcubemail
roundcubemail
-
- Posts: 140
- Joined: 2015/06/02 13:04:03
Re: Possible PHP 7.1 bug or crash on Centos 7??
If I may share my workflow. I'm maintaining a few webservers where we are running laravel applications and OFC we need PHP as well. I'm using the REMI repository and it's 7.1 variant. Here is my command to initialize for installing PHP 7.1 on a webserver:
yum install php php-soap php-fpm php-devel php-mysql php-pear composer libnotify libpng12.x86_64 libpng12-devel.x86_64 pngquant unzip ImageMagick ImageMagick-devel
Also, we had once an old webserver that had to be upgraded from PHP 5.6 to 7.1. What I've done is basically the same, just uninstalled the old PHP packages first, then enabled remi repository, and then installed the required packages.
Please note, that we use PHP-FPM instead of standard php and we create different pools for every webapplication.
I hope it helps somebody.
yum install php php-soap php-fpm php-devel php-mysql php-pear composer libnotify libpng12.x86_64 libpng12-devel.x86_64 pngquant unzip ImageMagick ImageMagick-devel
Also, we had once an old webserver that had to be upgraded from PHP 5.6 to 7.1. What I've done is basically the same, just uninstalled the old PHP packages first, then enabled remi repository, and then installed the required packages.
Please note, that we use PHP-FPM instead of standard php and we create different pools for every webapplication.
I hope it helps somebody.