Edit /etc/php/php.ini
file with any text editor.
sudo nano /etc/php/php.ini
Uncomment this lines:
;extension=phar.so
;extension=openssl.so
Add this string to end of open_basedir
declaration
:/usr/local/bin
Restart service
sudo systemctl restart httpd