I want to use phpass-0.3 in Codeigniter, but I get the following error due to open_basedir
:
A PHP Error was encountered
Severity
cd /nginx/chroot/
touch random
touch urandom
mount --bind /dev/random /nginx/chroot/dev/random
mount --bind /dev/urandom /nginx/chroot/dev/urandom
and my phpmailer has now working in nginx chroot centos 7
php nginx RAND_BYTES stream_socket_enable_crypto php nginx stream_socket_enable_crypto Uncaught Exception: Cannot open source device php nginx RAND_BYTES stream_socket_enable_crypto stream_socket_enable_crypto(): SSL