Products

Price/Order

Support

Partners

Testimonials

Test Results

About us

Contact
 PHP5 not working in RTC_WebServer demo (SDK 2.8.5 and 3.0.3)
Bottom
 
Total posts: 3
 Author PHP5 not working in RTC_WebServer demo (SDK 2.8.5 and 3.0.3)
Tomasz Fialkowski

21.11.2008 14:41:21
Registered user
Hi!

When I run RTC_WebServer demo with "PHP is installed and ready" checkbox I'm getting error when trying to open php file via webbrowser:

"ERROR! PHP engine not initialized."

Paths to PHP directory are correct (PHP 5.2.6)

Maybe this will be helpful:
When I close listening demo application with PHP5 support I get error: "Runtime Error 216 at 00403882". Closing listening demo application without PHP5 terminates application correctly.

This appears on SDK 2.8.5 and SDK 3.0.3 on Delphi 6.

Regards
Danijel Tkalcec [RTC]

21.11.2008 17:23:00
Registered user
One other RTC user has just checked and it looks like the RTC WebServer works with PHP 5.0.2, but does not work with PHP 5.2.6.

With PHP 5.2.6, his RTC WebServer spits out this error message ...
-----
Error starting PHP Library: Access violation at address 7C9110F3 in module 'ntdll.dll'. Write of address 0000000C
-----

My guess is that PHP developers have changed something in their interface to external applications which made PHP 5.2.6 incompatible with the PHP data provider available in the RTC SDK. This means that, in case you want to host your PHP applications in a RTC WebServer, you can either use PHP 5.0.2 (I guess it will also work with some other PHP 5.0.x version, but not 5.1.x or 5.2.x) without making changes to the PHP data provider, or ... find out what PHP developers have changed and update the PHP data provider to make it work with the new PHP version.

Regards,
Danijel
Kevin Powick

22.11.2008 22:08:15
Registered user
"My guess is that PHP developers have changed something in their interface "

Again.

This is one of the reasons PHP sucks.  Too many times the devs make application-breaking changes.  I have no idea how PHP got to be so popular.

--
Kevin Powick