Maybe, but even so shouldn't it be available as recipe that would build it as native (in i686-linux folder)? // I am newbie here.
I just got out of the bed, testing soon again.

Btw, URL for getting PHP should be different. Only latest version 5.2.14 and 5.3.3 are available using 'distributions' link, older versions are available from 'museum'.

--- a/recipes/php/php.inc
+++ b/recipes/php/php.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.php.net"
 SECTION = "console/network"
 LICENSE = "PHP"
 
-SRC_URI =     "http://us2.php.net/distributions/php-${PV}.tar.bz2;name=src \
+SRC_URI =     "http://museum.php.net/php5/php-${PV}.tar.bz2;name=src \
                file://acinclude-xml2-config.patch \
                file://php-m4-divert.patch"

> Date: Mon, 1 Nov 2010 22:20:08 -0700
> From: vwyodapink@gmail.com
> To: gumstix-users@lists.sourceforge.net
> Subject: Re: [Gumstix-users] PHP Fails to build
>
> 2010/11/1 David Abdurachmanov <cybaslt@hotmail.com>:
> > I confirm this. Before getting the latest version I was to compile PHP, with
> > the latest version not more. I cannot locate libcrypto recipe in recipes
> > folder.
> > SQlite 3.7.3, Apache 2.2.14 with OpenSSL 1.0.0a compiled (strage, before
> > updating it always failed), not I need PHP 5.2.13 and mod_php or
> > mod_fastscgi. But looks like the only solution provided is mod_php.
> >
> > | checking for pkg-config...
> > /home/david/overo-oe/tmp/sysroots/i686-linux/usr/bin/pkg-config
> > | checking for OpenSSL version... >= 0.9.6
> > | checking for CRYPTO_free in -lcrypto... no
> > | configure: error: libcrypto not found!
> > | ERROR: Function do_configure failed
> > NOTE: package php-5.2.13-r7: task do_configure: Failed
> > ERROR: TaskFailed event exception, aborting
> > ERROR: Build of
> > /home/david/overo-oe/org.openembedded.dev/recipes/php/php_5.2.13.bb
> > do_configure failed
> > ERROR: Task 11
> > (/home/david/overo-oe/org.openembedded.dev/recipes/php/php_5.2.13.bb,
> > do_configure) failed with 256
> > ERROR: '/home/david/overo-oe/org.openembedded.dev/recipes/php/php_5.2.13.bb'
> > failed
> > ERROR: '/home/david/overo-oe/org.openembedded.dev/recipes/php/php_5.2.13.bb'
> > failed
> >> Date: Mon, 1 Nov 2010 21:15:24 -0700
> >> From: vwyodapink@gmail.com
> >> To: gumstix-users@lists.sourceforge.net
> >> Subject: Re: [Gumstix-users] PHP Fails to build
> >>
> >> On Mon, Nov 1, 2010 at 6:41 PM, tsc2011 <tsc2011@mailinator.com> wrote:
> >> >
> >> > PHP is not building successfully with the current pull:
> >> >
> >> > | checking for OpenSSL version... >= 0.9.6
> >> > | checking for CRYPTO_free in -lcrypto... no
> >> > | configure: error: libcrypto not found!
> >> > NOTE: package php-5.2.13-r7: task do_configure: Failed
> >> > ERROR: TaskFailed event exception, aborting
> >> >
> >> > --
> >> > View this message in context:
> >> > http://old.nabble.com/PHP-Fails-to-build-tp30110142p30110142.html
> >> > Sent from the Gumstix mailing list archive at Nabble.com.
> >> >
> >> >
> >> >
> >> > ------------------------------------------------------------------------------
> >> > Nokia and AT&T present the 2010 Calling All Innovators-North America
> >> > contest
> >> > Create new apps & games for the Nokia N8 for consumers in  U.S. and
> >> > Canada
> >> > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> >> > marketing
> >> > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> >> > http://p.sf.net/sfu/nokia-dev2dev
> >> > _______________________________________________
> >> > gumstix-users mailing list
> >> > gumstix-users@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/gumstix-users
> >> >
> >>
> >> Well PHP is one of the ones actually playing nice with me right now
> >> and is building. Maybe try building libcrytpto then rebuild the php
> >> package.
> >>
> >>
> >> ------------------------------------------------------------------------------
> >> Nokia and AT&T present the 2010 Calling All Innovators-North America
> >> contest
> >> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
> >> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> >> marketing
> >> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> >> http://p.sf.net/sfu/nokia-dev2dev
> >> _______________________________________________
> >> gumstix-users mailing list
> >> gumstix-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gumstix-users
> >
> > ------------------------------------------------------------------------------
> > Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> > Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> > http://p.sf.net/sfu/nokia-dev2dev
> > _______________________________________________
> > gumstix-users mailing list
> > gumstix-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gumstix-users
> >
> >
>
> maybe its a library you need on your build machine? I am not really
> sure just throwing out things I would try :P
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users