February 7
|
Hosting with support for connecting to Microsoft SQL Server |
Added sqlsrv and pdo modules for PHP 7.0-7.4_sqlsrv, with which you can connect to remote Microsoft SQL servers. The function will be very useful for sites that interact with the 1C: Enterprise database. The module is disabled by default, you can enable it in the site settings in the "PHP modules" section.
If the module is needed when executing the script via cron, then in the cron settings specify the php.ini of the site where MS SQL is enabled, or specify the -d 'extension = sqlsrv.so' parameter in the command line when calling the PHP interpreter:
/usr/local/php74/bin/php -d 'extension=sqlsrv.so' /home/login/script.php
Only registered users can leave comments