Author Topic: Compile PHP with option --with-password-argon2  (Read 384 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Compile PHP with option --with-password-argon2
« 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.

Offline
*
Re: Compile PHP with option --with-password-argon2
« Reply #1 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.