Commit Graph

8 Commits

Author SHA1 Message Date
Marcin Juszkiewicz
8424c379fb php: add apache configuration for php-fpm
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-04 10:44:20 +01:00
Eric BENARD
94a59521dc php: enable php-fpm
- php-fpm is an alternative PHP FastCGI implementation which seems to
be now prefered to php-fcgi
- this patch enable the build of php-fpm and packages it in its own
package
- it's tested with hiawatha on an armv5te target

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-04 10:43:10 +01:00
Eric BENARD
c1a900b011 php: enable gettext and sqlite
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-04 10:43:09 +01:00
Eric BENARD
f8a7fc5574 php: upgrade to 5.3.19
Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-04 10:43:08 +01:00
Martin Jansa
fc9fad42f0 php: drop LD_LIBRARY_PATH settings
* it breaks do_fetch in some settings

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-20 10:02:09 +02:00
Martin Jansa
515935fb50 php: add build-defs.h to SSTATE_SCAN_FILES it defines path to sysroot where pear.conf is later created
* without this fails in do_install (shr-core-branches is workspace where
  we got SSTATE_MIRROR):
  | [PEAR] PEAR           - installed: 1.9.2
  | Wrote PEAR system config file at:
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/php-5.3.6-r0.0/image//var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/etc/pear.conf
  | You may want to add: /usr/lib/php to your php.ini include_path
  | Installing header files:
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/php-5.3.6-r0.0/image/usr/include/php/
  | sed: can't read
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/php-5.3.6-r0.0/image//etc/pear.conf:
  No such file or directory
  | ERROR: Function failed: do_install (see
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/php-5.3.6-r0.0/temp/log.do_install.3783
  for further information)
  NOTE: package php-5.3.6-r0.0: task do_install: Failed
* it also has couple of unpackaged dirs in ${D} (all used in STAGING_DIR_NATIVE)
  WARNING: QA Issue: php: Files/directories were installed but not shipped
  /var
  /var/lib
  /var/lib/jenkins
  /var/lib/jenkins/jobs
  /var/lib/jenkins/jobs/shr-core
  /var/lib/jenkins/jobs/shr-core/workspace
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc
  /var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/sysroots

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-07 12:21:24 +02:00
Martin Jansa
8f1f90934d php: inherit pythonnative
* fixes:
| AUTOV is 1.12
| Traceback (most recent call last):
|   File "/OE/shr-core/openembedded-core/scripts/cp-noerror", line 8, in <module>
|     import shutil
|   File "/usr/lib/python2.7/shutil.py", line 12, in <module>
|     import collections
|   File "/usr/lib/python2.7/collections.py", line 9, in <module>
|     from operator import itemgetter as _itemgetter
| ImportError: /usr/lib/python2.7/lib-dynload/operator.so: undefined symbol: _PyUnicodeUCS4_AsDefaultEncodedString
| ERROR: Function failed: do_configure (see /OE/shr-core/tmp-eglibc/work/x86_64-linux/php-native-5.3.6-r1.0/temp/log.do_configure.14841 for further information)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-07 12:21:24 +02:00
Koen Kooi
120753e743 php 5.3.6: import from OE classic
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-03 15:02:20 +01:00