Hello all,
I'm trying to get the sam and sam_xms extensions for PHP installed on
a Debian 64bit machine. The LAMP environment on the server is Zend
Server 5.6 running PHP 5.3.9.
The first issue I had was the error reported by other people (http://
groups.google.com/group/phpsam/browse_thread/thread/da90637ad6a3987b)
when trying to install php_sam using "pecl install sam".
I was able to build sam manually using the manual linux installation
steps described here:
http://project-sam.awardspace.com/docs/ref.sam.html
.
Before "phpize" I changed the config.m4 file to look for the path /opt/
IBM/XMS/lib64 instead of /opt/IBM/XMS/lib which was what i needed to
do to get it compiled on my 64bit machine (as described in the link
above).
Now I was able to compile sam.so and sam_xms.so. I moved those files
to /usr/local/zend/lib/php_extensions (where Zend Server needs his PHP
extensions).
When I try to enable the php extension in the Zend Server admin,
apache fails. In the errorlog:
[Tue Mar 20 16:27:51 2012] [notice] child pid 30228 exit signal
Segmentation fault (11)
[Tue Mar 20 16:27:52 2012] [notice] child pid 30231 exit signal
Segmentation fault (11)
[Tue Mar 20 16:27:53 2012] [notice] child pid 30233 exit signal
Segmentation fault (11)
[Tue Mar 20 16:27:54 2012] [notice] child pid 30232 exit signal
Segmentation fault (11)
[Tue Mar 20 16:27:58 2012] [notice] child pid 30234 exit signal
Segmentation fault (11)
[Tue Mar 20 16:27:58 2012] [notice] child pid 30235 exit signal
Segmentation fault (11)
[Tue Mar 20 16:27:58 2012] [notice] child pid 30237 exit signal
Segmentation fault (11)
[Tue Mar 20 16:27:58 2012] [notice] child pid 30236 exit signal
Segmentation fault (11)
I had to disable the sam extension before I could re-start apache.
I also tried disabling the Zend Optimizer+ component included with
Zend Server and then enabling the sam.so extension again. That didn't
work, segfaults again.
Does anyone have any other ideas?
thanks for your time :)
Dieter