Zendsvr can't find curl after update

General discussion on Zend Server for IBM System i
Post Reply
Posts: 8
Joined: Tue Jun 29, 2010 5:18 pm

Zendsvr can't find curl after update

Post by phelgren » Sat Sep 03, 2016 4:28 pm

I am getting an interesting message in my Apache logs after I updated my Zend server installation:

exec(): 0509-036 Cannot load program /usr/local/ZendSvr6/bin/php-cgi.bin because of the following errors:
0509-150 Dependent module libcurl.a(libcurl.so.4) could not be loaded.
0509-022 Cannot load module libcurl.a(libcurl.so.4).
0509-026 System error: A file or directory in the path name does not exist.

I have no idea why and I didn't see anything in the documentation about an "after you apply this PTF" step. I installed the Zend Server 8.5.5 cumulative PTF upgrade for Zend Server 6.x/7.x/8.x (PHP 5.6) which was PTF Z6ZS0030. When I try to access the Wordpress instance or anything that requires PHP, I see the message in the logs....the attempt eventually times out.

Not sure why it is looking for curl or why it wasn't installed (if it was supposed to be). a 'find' turned up a "libcurl.a" in /usr/local/zendsvr6/lib-8.0.1/ but I am not sure how that library should be included? Symlink?


Post Reply