Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6618

Ubuntu CLI, new path for PHP and php.ini

$
0
0

Currently my Ubuntu PHP CLI is using: /opt/lampp/bin/php and /opt/lampp/etc/php.ini.

I plan to remove LAMP and continue to use /etc/php/7.2/apache2/ .

Should I change(and how to change) PHP CLI to using: /usr/bin/php7.2 and /etc/php/7.2/cli/php.ini ?

ribe@ideapad:~$ php --iniXdebug requires Zend Engine API version 320151012.The Zend Engine API version 320170718 which is installed, is newer.Contact Derick Rethans at https://xdebug.org/docs/faq#api for a later version of Xdebug.Configuration File (php.ini) Path: /opt/lampp/etcLoaded Configuration File:         /opt/lampp/etc/php.iniScan for additional .ini files in: (none)Additional .ini files parsed:      (none)ribe@ideapad:~$ which php/usr/local/bin/php     (this is symlink to lamp php:       ribe@ideapad:/usr/local/bin$ readlink -e php                   /opt/lampp/bin/php-7.2.6     )

Viewing all articles
Browse latest Browse all 6618

Trending Articles