Control Web Panel

WebPanel => PHP Selector => Topic started by: vaclav.kasal on February 19, 2019, 02:48:45 PM

Title: Compile PHP with option --with-password-argon2
Post by: vaclav.kasal on February 19, 2019, 02:48:45 PM
Hello,

I don't see option "*argon*" in Options List. (PHP 7.2.1 and 7.2.15)
I tried to add option to the file /usr/local/cwp/.conf/php_conf/php72.conf but it was overwritten by CWP after clicking on Start Compiler.

Is it possible to compile PHP with --with-password-argon2 and keep CWP clean without any dirty hacks?
Or am I able to choose predefined options only?

Thanks in advice.
Title: Re: Compile PHP with option --with-password-argon2
Post by: vaclav.kasal on March 12, 2019, 11:44:42 PM
Finally I've added option to the CWP by myself.
CWP updates broken things several times so I decided to disabled it.
With disabled updates I'm not afraid of change anything. So I simply added argon to the file /usr/local/cwpsrv/htdocs/resources/conf/php_selector

Added this:
Code: [Select]
[argon2]
default=0
option="--with-password-argon"
info-file=argon.txt
+ installed these packages: argon2 libargon2-devel libargon2

After that, I'm able to check argon in php selector configuration.