Search found 413 matches

by remirepo
2020/12/27 05:47:34
Forum: CentOS 7 - General Support
Topic: Installing multiple php version on centos 7
Replies: 7
Views: 170

Re: Installing multiple php version on centos 7

Running multiple PHP versions is described on
https://developers.redhat.com/blog/2017 ... tion-tips/

Of course Zend Loader have to be installed in the version which use it.
by remirepo
2020/12/09 14:32:21
Forum: CentOS 8 - General Support
Topic: Issues with PHP extension packages
Replies: 6
Views: 171

Re: Issues with PHP extension packages

The bad value for extension_dir comes from somewhere, and obviously not from the packages.


Check with

Code: Select all

rpm --verify --all php\*
by remirepo
2020/12/08 09:26:59
Forum: CentOS 8 - General Support
Topic: Issues with PHP extension packages
Replies: 6
Views: 171

Re: Issues with PHP extension packages

> extension_dir => /etc/php.d => /etc/php.d

Don't know where this value comes from, but you have to revert to default value (unset)

Please use provided php.ini


P.S. grep extension_dir /etc/php.ini /etc/php.d/*.ini
by remirepo
2020/12/07 16:07:00
Forum: CentOS 8 - General Support
Topic: Issues with PHP extension packages
Replies: 6
Views: 171

Re: Issues with PHP extension packages

Please post "rpm -qa php\*" output and give an exact example of what is wrong (rpm name, file name, content...) There is no path in the provided ini file, as PHP knows in what directory the extension are stored. If you have to add a path - you have an old php.ini with a bad extension_dir in it (shou...
by remirepo
2020/11/27 14:30:29
Forum: CentOS 8 - General Support
Topic: Open SSH & PHP versions
Replies: 6
Views: 141

Re: Open SSH & PHP versions

This CVE is about phar...

https://access.redhat.com/security/cve/CVE-2020-7068

phar is code
So if you give external users control other phar files... so have a much bigger issue than this one.
Probably the reason why this CVE was classified as "low" (and 'won't fix")
by remirepo
2020/11/20 08:53:45
Forum: CentOS 8 - General Support
Topic: [Solved] Php + Apache on centos8 / centos7
Replies: 3
Views: 201

Re: Php + Apache on centos8 / centos7

Use the ubi8-php* images ;)

On C8 PHP scripts are executed by FPM by default (so 2 services running)

So you need

1 container for php-fpm
1 container for httpd

An alternative way (used by official ubi8 images) is to switch back to prefork MPM and mod_php, but is not IMHO the right thing to do.
by remirepo
2020/11/19 15:00:08
Forum: CentOS 7 - General Support
Topic: libMagick-c++
Replies: 8
Views: 130

Re: libMagick-c++

> a symbolic link from libMagic++.so.5 to libMagick++-6.Q16.so.8.

This will never work.
Soname is about the ABI version, so if soname change.... obviously ABI is different (thus you will encounter segfault)
by remirepo
2020/11/19 14:19:04
Forum: CentOS 7 - General Support
Topic: libMagick-c++
Replies: 8
Views: 130

Re: libMagick-c++

libMagic++.so.5 was the old version available in 6 and until 7.7.
Since 7.8, new version is available.
by remirepo
2020/11/19 07:51:21
Forum: CentOS 8 - General Support
Topic: Issue With Apache Not Running htaccess files at all
Replies: 6
Views: 395

Re: Issue With Apache Not Running htaccess files at all

Don't switch to mod_php, this is a bad way to run PHP, keep FPM.

And instead of .htaccess, use .user.ini files.
by remirepo
2020/11/10 11:32:27
Forum: CentOS 7 - General Support
Topic: Advice on upgrading to PHP 7.4
Replies: 3
Views: 143

Re: Advice on upgrading to PHP 7.4

PHP 7.4 is now part of RHEL 8.3, so soon in CentOS 8.3

I don't think 7.4 will be available as SCL for 7 (a lot of outdated or missing libraries)

Go to advanced search