I'm using web server nginx, php 7.1 fpm and laravel in Centos 7. I want to install SQL Server following the official installation tutorial for Linux but I'm confused with this command:
echo extension=pdo_sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/pdo_sqlsrv.ini echo extension=sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/sqlsrv.ini
What does it even mean? I tried to understand it write extension=sqlsrv.so
then >>
to php --ini
(this means php.ini right?)
Then I tried to use this php --ini | grep "Scan for additional .ini files"
and produce "Scan for additional .ini files in: /etc/php.d" now I'm confused with the sed command.