migrate CentOS end-of-life

Issues related to applications and software problems
User avatar
remirepo
Posts: 447
Joined: 2014/09/21 09:07:12
Location: France
Contact:

Re: migrate CentOS end-of-life

Post by remirepo » 2023/03/14 08:00:05

> i did many customs for php and i update always to last up to date php.

Curious to know what customs ?

BTW using my repo you always have latest, and usually, RPM are ready when announced by the PHP project.
Remi's Repository - Forum - Blog

oscaroxy
Posts: 33
Joined: 2014/02/05 20:18:54

Re: migrate CentOS end-of-life

Post by oscaroxy » 2023/03/14 10:35:52

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib64/pkgconfig/

./configure \
-with-config-file-path=/etc \
-with-libdir=lib64 \
-prefix=/usr/local \
-with-layout=PHP \
-with-pear \
-with-apxs2 \
-enable-calendar \
-enable-bcmath \
-with-gmp \
-enable-exif \
-with-mhash \
-with-bz2 \
-with-zip \
-enable-ftp \
-enable-mbstring \
-with-iconv \
-enable-intl \
-with-icu-dir=/usr \
-with-gettext \
-with-pspell \
-enable-sockets \
-with-openssl=/usr/local \
-with-openssl-dir=/usr/local \
-with-curl \
-with-jpeg \
-with-freetype \
-enable-gd \
-with-zlib=/home/webuser/src/libzip-1.7.3/build/ \
-with-xpm-dir=/usr \
-with-libxml \
-with-mysqli=mysqlnd \
-with-pdo-mysql=mysqlnd \
-enable-soap \
-with-xmlrpc \
-with-xsl \
-with-tidy=/usr \
-with-readline \
-enable-pcntl \
-enable-sysvshm \
-enable-sysvmsg \
-enable-shmop \
-with-pdo-odbc=unixODBC,/usr \
-with-sybase=/usr/local/freetds \
-with-pgsql \
-with-password-argon2 \
-with-ldap \

where argon2, it need min openssl 2.1.1

User avatar
remirepo
Posts: 447
Joined: 2014/09/21 09:07:12
Location: France
Contact:

Re: migrate CentOS end-of-life

Post by remirepo » 2023/03/14 11:10:45

I don't see anything special in your config which requires a manual build instead of existing RPM packages

Excepted the argon2 usage
Which is a bad idea
sodium offer the same algo, twice faster (so RPMs doesn't use argon2 but only sodium)

Also using a manual build of openssl seems crazy, and will mostly raise issues/segfault, especially if any other extension uses a library build against system openssl (ex: curl). Having 2 diff versions of OpenSSL in the same process is a very very bad idea.

Always fun to see people doing crazy things for bad reasons.

Good luck.
Remi's Repository - Forum - Blog

oscaroxy
Posts: 33
Joined: 2014/02/05 20:18:54

Re: migrate CentOS end-of-life

Post by oscaroxy » 2023/03/14 11:52:04

The world is beautiful because it is varied
thanks for your valuation


https://www.boldare.com/blog/how-to-imp ... th-argon2/

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: migrate CentOS end-of-life

Post by TrevorH » 2023/03/14 13:19:20

I think you missed the bit in Remi's post that said " sodium offer the same algo, twice faster (so RPMs doesn't use argon2 but only sodium)". So you would like to continue to use a slower solution than one that can do the same job more quickly.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

oscaroxy
Posts: 33
Joined: 2014/02/05 20:18:54

Re: migrate CentOS end-of-life

Post by oscaroxy » 2023/03/14 13:40:51

i'll study sodium and if it was like you tell, I would get it
thanks

Post Reply