Is there some magic in building php for arm?



I hope someone can shed some light on this. I am working with an arm9 platform.

I've been trying to build php4 with extensions enabled, but I am failing
miserably. I was able to build ming as a part of php by linking to
libming, but now I am trying to build xcache
<http://trac.lighttpd.net/xcache/>, and failing.

I can build php4 and xcache, but the problem comes in when I try to run
ph with xcache:

root:~> php -v
PHP 4.4.2 (cgi-fcgi) (built: Nov 14 2006 14:29:34)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

no xcache in sight.

If I set up /etc/php.ini to use zend_extension = xcache.so and try to
explicitly force it to read /etc/php.ini, then it fails with

root:~> php -v -c /etc
Extensions are not supported on this platform.
PHP 4.4.2 (cgi-fcgi) (built: Nov 14 2006 14:36:32)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

and if I try to use regular extensions extension = xcache.so then I get

PHP Warning: Unknown(): Cannot dynamically load xcache.so - dynamic
modules are not supported in Unknown on line 0
PHP 4.4.2 (cgi-fcgi) (built: Nov 14 2006 14:36:32)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

so.... It seems that my build is broken. First of all, it doesn't seem
to use /etc/php.ini by default, and second, it can't load dynamic
modules. Has anyone gotten dynamic modules to work in PHP built for
arm? What am I doing wrong????

Google is mute.... Or at least I have not found anyone with this error.

--Yan



-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php

!DSPAM:455a4c4c178591687312893!
.