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!
.



Relevant Pages

  • Re: Problem with PHP cli core dumping
    ... Copyright 1997-2007 The PHP Group ... Zend Engine v2.2.0, ... I suggest you comment out all installed extensions from ... No, no jail. ...
    (freebsd-questions)
  • Re: Is there a difference between Zend Extension and PHP Extensions
    ... Zend Engine extensions are extensions that are implemented right into ... executes your PHP scripts. ... evaluation, object orientation, mathematical expressions evaluation, ...
    (comp.lang.php)
  • RE: STG Security Advisory: [SSA-20041215-17] Vulnerability of uploading files with multiple exten
    ... "multiple extensions" behaviour in the past. ... There are a huge number of 3rd party PHP scripts out there ... upload a file without a registered MIME type are somewhat reduced. ... extensions behaviour for handlers as there seemed no legitimate ...
    (Bugtraq)
  • Re: FreeBSD 7.0 AMD64 and apache 2.2.8 exited on signal 11
    ... Zend Engine v2.2.0, Copyright 1998-2007 Zend Technologies ... with eAccelerator v0.9.5.2, Copyright 2004-2006 eAccelerator, by ... PS This php misfeature is so common that even though I've never run PHP ...
    (freebsd-questions)
  • Loading DLLs from different path
    ... PHP is a popular server-side scripting language for web servers. ... It popularity is mainly due that it has many 3rd party extensions. ... The issue is that our DLL is dependent on RPC application server API DLLs in a different folder. ... The problem is that we never recommended putting dlls on the PATH nor do we recommend for our customers to have copies of DLLS over all the place. ...
    (microsoft.public.win32.programmer.kernel)