• April

    1

    2016
  • 866
  • 0

Calling C/C++/Go/Perl/Python from PHP

Today Enduro/X-PHP module is released which in client mode can efficiently call C/C++, Go, Perl and Python functionality. PHP via extension module (endurox-php) can call the XATMI services written in previously listed languages. The communications are done via Linux kernel queues, which ensures very high message throughput.

The project includes sample application

Which does the service call named “UNIXINFO”, and by returning the buffer output in two places:
1. /tmp/php_ndrx.out file
2. Prints the converted Unfied Buffer Format (UBF) to PHP Array.
The output of the program is following:

In particular the PHP script called service “UNIXINFO” which is provided by Enduro/X test server written in c, that could be found here atmisv1.

LEAVE A COMMENT

You comment will be published within 24 hours.

Cancel reply
This site uses cookies to enhance your experience. By continuing to the site you accept their use. More info in our cookies policy.     ACCEPT

Phone:
+371 28379007

Kalnciema 116 str., Riga, Latvia

About Us

Company is founded in 2011 with passion in Web project and E-commerce. In addition company have interest in real time systems. Which in fusion gives company ability to deliver to customers wide range of solutions.

Our Services
  • Web Design
  • Web CMS Implementation
  • E-commerce Development
  • SEO Implementation & Monitoring
  • Graphic Design
  • User Training
  • SLA & Maintenance
Products
  • Enduro/X Middlware platform
© Copyright 2015 ATR Baltic, SIA