Just for reference, Zend Server 9.x and PHP 7.x does not require IBMi 7.3.
We are running it on 7.1.
It appears that Zend has included pdo_dblib, you just need to enable it in the server setup.
From the Zend Server "PHP" "Extensions" page.
pdo_dblib
FreeTDS PHP-MSSQL-Sybase DB Access
PDO_DBLIB is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to Microsoft SQL Server and Sybase databases through the FreeTDS libary.
Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Kim Mitchell
Sent: Tuesday, May 9, 2017 1:36 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] PHP 7 & connecting to MS SQLServer
We will be upgrading the OS on our IBMi to 7.3 in the near future. This will allow us to update Zend Server to 9.1, and start using PHP 7.1. YES!
For several applications, we connect to a Microsoft SQL Server from the IBMi, using mssql functions with freetds to provide access.
Since mssql functions have been removed from PHP 7, what are our options for connecting to Microsoft SQL Server? We must be able to bind parameters. Are any of you using PHP 7 on the IBMi and connecting to SQL Server?
Thank you for your time. I've posted this on the Zend Server for IBM i forum, but haven't received a response. Frustrating!
Kim Mitchell
CONFIDENTIALITY NOTICE: This transmission is intended only for the use of the individual(s) named as recipients. It may contain information that is privileged, confidential and/or protected from disclosure under applicable law. If you are not the intended recipient of this transmission, please notify the sender immediately by telephone. Do not deliver, distribute or copy this transmission, disclose its contents, or take any action in reliance on the information it contains
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.