Is there some magic in building php for arm?

From: Date: Wed, 15 Nov 2006 00:42:37 +0000
Subject: Is there some magic in building php for arm?
Groups: php.install 
Request: Send a blank email to php-install+get-17739@lists.php.net to get a copy of this message
I hope someone can shed some light on this. I have an embedded system that uses an arm processor architecture. I've been trying to build php4 with shared 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 php 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???? Debian shows both php4 and xcache, so I am guessing that it is possible.... Google is mute.... Or at least I have not found anyone with this error. --Yan

« previous php.install (#17739) next »