Hello,
We are running PHP 5.3.3 on WinXP Service Pack 3. We use ODBC (IBM iSeries Access ODBC driver) via PHP to connect to an IBM System i (model i5-570).
The problem is that when the execution of PHP code is interrupted for any reason (i.e. power failure, network error, or the user closing the PHP window), the ODBC connection continues to run on the iSeries.
We use ODBC_CONNECT to make the connection between PHP and the System i, so the connection should not persist, but it does. This is a problem because when the user starts again, another connection is made even as the previous one continues to process on the System i. This eats up resources in a hurry.
We don't have this issue with any other software that connects to the System i, so the belief is that the issue lies on the PHP side.
Does anyone know of a way to resolve this? It's really delaying a project because a failure to get around this issue means that we'll have to find an alternative to PHP and weeks of PHP development time would then be wasted.
Thanks,
KV194
We are running PHP 5.3.3 on WinXP Service Pack 3. We use ODBC (IBM iSeries Access ODBC driver) via PHP to connect to an IBM System i (model i5-570).
The problem is that when the execution of PHP code is interrupted for any reason (i.e. power failure, network error, or the user closing the PHP window), the ODBC connection continues to run on the iSeries.
We use ODBC_CONNECT to make the connection between PHP and the System i, so the connection should not persist, but it does. This is a problem because when the user starts again, another connection is made even as the previous one continues to process on the System i. This eats up resources in a hurry.
We don't have this issue with any other software that connects to the System i, so the belief is that the issue lies on the PHP side.
Does anyone know of a way to resolve this? It's really delaying a project because a failure to get around this issue means that we'll have to find an alternative to PHP and weeks of PHP development time would then be wasted.
Thanks,
KV194