Flávio Lúcio Na... · Nov 17, 2019

Call a Procedure with PHP

Hello everyone,


I am searching, but i cannot find a way to call a Procedure in Caché with PHP. Using .NET we have the Intersystems.Data.CacheClient.CacheCommand and we make a call in a Procedure. How i can do the same in PHP?



1 0 5 189
Log in or sign up to continue


I faced a similar issue some years back.

As PHP is so close to web servers I decided to use a WebsService to call the ClassMethod aka Procedure.
It was easy on both ends and I could avoid the ODBC module (at that time only 32bit)

Hi Robert,

Do you know some article who teach how to create the Web Service to make a call? The Caché PHP module, didn't work for me, because works only locally.


sorry. this was done by a PHP developer back in 2008/2009.

the <Caché side was default from the wizard.

I have no idea about the details anymore.

Great stuff!

just a few years to late for me but good for future projects