[FFp PKG Req] PHP 7.1.4

Marvell Kirkwood based
Post Reply
User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

[FFp PKG Req] PHP 7.1.4

Post by MrDini » Wed Apr 26, 2017 4:08 pm

Hi,

I have a webserver motor, but it Can only run on the latest PHP 7.* versions. I have tried to compile the latest version, but it was too complicated for me... :oops:

Can anybody compile it for me?

Many thanks!
Thanks nas-central the lot of help! :)

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: [FFp PKG Req] PHP 7.1.4

Post by barmalej2 » Thu Apr 27, 2017 3:48 pm

Ok. I will try, but no fast promises. I am busy man these days.

User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: [FFp PKG Req] PHP 7.1.4

Post by MrDini » Thu Apr 27, 2017 6:16 pm

barmalej2 wrote:Ok. I will try, but no fast promises. I am busy man these days.
Thanks a lot! It would be really appreciated!

But Do that just in case, if You have some free time, and You want to. The family, the work and the rest are much important! :)
Thanks nas-central the lot of help! :)

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: [FFp PKG Req] PHP 7.1.4

Post by barmalej2 » Fri Apr 28, 2017 7:31 pm

Done, but can't upload to nas-central right now. ftp server is not working. Will check it tomorrow, if Mijzelf will fix it.

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: [FFp PKG Req] PHP 7.1.4

Post by barmalej2 » Sat Apr 29, 2017 3:37 pm

I will be on trip since tomorrow, so uploaded temporary to https://1fichier.com.
libmcrypt-2.5.8-arm-1.txz
https://1fichier.com/?a6l55no785
php-7.1.4-arm-1.txz
https://1fichier.com/?drcktzdhv2

User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: [FFp PKG Req] PHP 7.1.4

Post by MrDini » Sat Apr 29, 2017 7:47 pm

Have a good time there! ;)

Thanks for the quick compile, it was a lifesaver! But unfortunately the pthreads extension is also needed for the program, So I give up that, and use my RPi for that hosting. Because I don't want to make You a lot of extra work.

Thanks a lot for the package!
Thanks nas-central the lot of help! :)

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: [FFp PKG Req] PHP 7.1.4

Post by barmalej2 » Tue May 02, 2017 6:24 am

It is not big deal. If you wish to have POSIX multi-threading, you will need the pthreads extension. To install the pthreads (http://pecl.php.net/package/pthreads) extension using pecl you are required to use a compiled version of PHP with the thread safety support flag --enable-maintainer-zts. The only way to do this, would be to rebuild php package with this flag.
On the other hand you should not use --enable-maintainer-zts, if you want to perform performance benchmarks for your code, as it cause significant and asymmetrical slowdowns. Besides quote from http://php.net/manual/en/intro.pthreads.php:
Warning:The pthreads extension cannot be used in a web server environment. Threading in PHP should therefore remain to CLI-based applications only.

User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: [FFp PKG Req] PHP 7.1.4

Post by MrDini » Tue May 02, 2017 3:46 pm

barmalej2 wrote:Besides quote from http://php.net/manual/en/intro.pthreads.php:
Warning:The pthreads extension cannot be used in a web server environment. Threading in PHP should therefore remain to CLI-based applications only.
To be honest, I want to try a CLI server program, with a lot of users where the multithreading is important, So the slowdown is not a big problem. :)
Thanks nas-central the lot of help! :)

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: [FFp PKG Req] PHP 7.1.4

Post by barmalej2 » Wed May 03, 2017 5:15 am

I uploaded second PHP build with the thread safety support flag --enable-maintainer-zts applied to (direct link):
https://s02.solidfilesusercontent.com/Z ... -arm-2.txz
Shortened url:
http://bit.ly/2oWeCFP
You can test it now.

User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: [FFp PKG Req] PHP 7.1.4

Post by MrDini » Wed May 03, 2017 2:42 pm

Thanks!

The download link has been changed, but with some source code digging (cause I Couldn't click on the dl button because of the tons of ad popup), I have found the actual link. :mrgreen:

However i think my Zend is old, or isn't good:

Code: Select all

 cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/tmp/pear/temp/pthreads -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root0cKSoL/pthreads-3.1.6/include -I/tmp/pear/temp/pear-build-root0cKSoL/pthreads-3.1.6/main -I/tmp/pear/temp/pthreads -I/ffp/include/php -I/ffp/include/php/main -I/ffp/include/php/TSRM -I/ffp/include/php/Zend -I/ffp/include/php/ext -I/ffp/include/php/ext/date/lib -I/tmp/pear/temp/pear-build-root0cKSoL/pthreads-3.1.6/. -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pthreads/php_pthreads.c  -fPIC -DPIC -o .libs/php_pthreads.o
In file included from /ffp/include/php/Zend/zend_modules.h:26:0,
                 from /ffp/include/php/Zend/zend_API.h:27,
                 from /ffp/include/php/main/php.h:39,
                 from /tmp/pear/temp/pthreads/src/pthreads.h:37,
                 from /tmp/pear/temp/pthreads/php_pthreads.c:22:
/tmp/pear/temp/pthreads/classes/threaded.h: In function 'zim_Threaded_extend':
/ffp/include/php/Zend/zend_compile.h:516:39: error: 'zend_execute_data' has no member named 'called_scope'
 #define EX(element)    ((execute_data)->element)
                                       ^
/tmp/pear/temp/pthreads/classes/threaded.h:322:29: note: in expansion of macro 'EX'
     zend_do_inheritance(ce, EX(called_scope));
                             ^
In file included from /ffp/include/php/Zend/zend.h:31:0,
                 from /ffp/include/php/main/php.h:35,
                 from /tmp/pear/temp/pthreads/src/pthreads.h:37,
                 from /tmp/pear/temp/pthreads/php_pthreads.c:22:
/ffp/include/php/Zend/zend_compile.h:516:39: error: 'zend_execute_data' has no member named 'called_scope'
 #define EX(element)    ((execute_data)->element)
                                       ^
/ffp/include/php/Zend/zend_types.h:612:5: note: in definition of macro 'ZVAL_BOOL'
    (b) ? IS_TRUE : IS_FALSE; \
     ^
/ffp/include/php/Zend/zend_API.h:640:31: note: in expansion of macro 'RETVAL_BOOL'
 #define RETURN_BOOL(b)      { RETVAL_BOOL(b); return; }
                               ^
/tmp/pear/temp/pthreads/classes/threaded.h:327:5: note: in expansion of macro 'RETURN_BOOL'
     RETURN_BOOL(instanceof_function(ce, EX(called_scope)));
     ^
/tmp/pear/temp/pthreads/classes/threaded.h:327:41: note: in expansion of macro 'EX'
     RETURN_BOOL(instanceof_function(ce, EX(called_scope)));
                                         ^
In file included from /tmp/pear/temp/pthreads/php_pthreads.h:43:0,
                 from /tmp/pear/temp/pthreads/php_pthreads.c:26:
/tmp/pear/temp/pthreads/classes/worker.h: In function 'zim_Worker_collect':
/tmp/pear/temp/pthreads/classes/worker.h:53:10: error: 'zend_fcall_info' has no member named 'function_table'
  call.fci.function_table = &(w)->ce->function_table; \
          ^
/tmp/pear/temp/pthreads/classes/worker.h:227:3: note: in expansion of macro 'PTHREADS_WORKER_COLLECTOR_INIT'
   PTHREADS_WORKER_COLLECTOR_INIT(call, Z_OBJ_P(getThis()));
   ^
/tmp/pear/temp/pthreads/classes/worker.h:55:57: error: 'zend_fcall_info' has no member named 'function_table'
  call.fcc.function_handler = zend_hash_find_ptr(call.fci.function_table, Z_STR(call.fci.function_name)); \
                                                         ^
/tmp/pear/temp/pthreads/classes/worker.h:227:3: note: in expansion of macro 'PTHREADS_WORKER_COLLECTOR_INIT'
   PTHREADS_WORKER_COLLECTOR_INIT(call, Z_OBJ_P(getThis()));
   ^
In file included from /ffp/include/php/Zend/zend_portability.h:52:0,                 from /ffp/include/php/Zend/zend_types.h:27,
                 from /ffp/include/php/Zend/zend.h:31,
                 from /ffp/include/php/main/php.h:35,
                 from /tmp/pear/temp/pthreads/src/pthreads.h:37,
                 from /tmp/pear/temp/pthreads/php_pthreads.c:22:
/tmp/pear/temp/pthreads/classes/pool.h: In function 'zim_Pool_submit':
/ffp/include/php/Zend/../TSRM/TSRM.h:171:69: error: 'zend_executor_globals' has no member named 'scope'
 #define TSRMG_STATIC(id, type, element) (TSRMG_BULK_STATIC(id, type)->element)
 ^
/ffp/include/php/Zend/zend.h:57:20: note: in expansion of macro 'TSRMG_STATIC'
 #define ZEND_TSRMG TSRMG_STATIC
                    ^
/ffp/include/php/Zend/zend_globals_macros.h:44:16: note: in expansion of macro 'ZEND_TSRMG'
 # define EG(v) ZEND_TSRMG(executor_globals_id, zend_executor_globals *, v)
                ^
/tmp/pear/temp/pthreads/classes/pool.h:189:30: note: in expansion of macro 'EG'
    zend_class_entry *scope = EG(scope);
                              ^
/ffp/include/php/Zend/../TSRM/TSRM.h:171:69: error: 'zend_executor_globals' has no member named 'scope'
 #define TSRMG_STATIC(id, type, element) (TSRMG_BULK_STATIC(id, type)->element)
 ^
/ffp/include/php/Zend/zend.h:57:20: note: in expansion of macro 'TSRMG_STATIC'
 #define ZEND_TSRMG TSRMG_STATIC
                    ^
/ffp/include/php/Zend/zend_globals_macros.h:44:16: note: in expansion of macro 'ZEND_TSRMG'
 # define EG(v) ZEND_TSRMG(executor_globals_id, zend_executor_globals *, v)
                ^
/tmp/pear/temp/pthreads/classes/pool.h:195:4: note: in expansion of macro 'EG'
    EG(scope) = ce;
    ^
/ffp/include/php/Zend/../TSRM/TSRM.h:171:69: error: 'zend_executor_globals' has no member named 'scope'
 #define TSRMG_STATIC(id, type, element) (TSRMG_BULK_STATIC(id, type)->element)
 ^
/ffp/include/php/Zend/zend.h:57:20: note: in expansion of macro 'TSRMG_STATIC'
 #define ZEND_TSRMG TSRMG_STATIC
                    ^
/ffp/include/php/Zend/zend_globals_macros.h:44:16: note: in expansion of macro 'ZEND_TSRMG'
 # define EG(v) ZEND_TSRMG(executor_globals_id, zend_executor_globals *, v)
                ^
/tmp/pear/temp/pthreads/classes/pool.h:197:4: note: in expansion of macro 'EG'
    EG(scope) = scope;
    ^
In file included from /tmp/pear/temp/pthreads/php_pthreads.c:442:0:
/tmp/pear/temp/pthreads/classes/pool.h:204:8: error: 'zend_fcall_info' has no member named 'function_table'
     fci.function_table = EG(function_table);
        ^
In file included from /ffp/include/php/Zend/zend_portability.h:52:0,                 from /ffp/include/php/Zend/zend_types.h:27,
                 from /ffp/include/php/Zend/zend.h:31,
                 from /ffp/include/php/main/php.h:35,
                 from /tmp/pear/temp/pthreads/src/pthreads.h:37,
                 from /tmp/pear/temp/pthreads/php_pthreads.c:22:
/ffp/include/php/Zend/../TSRM/TSRM.h:171:69: error: 'zend_executor_globals' has no member named 'scope'
 #define TSRMG_STATIC(id, type, element) (TSRMG_BULK_STATIC(id, type)->element)
 ^
/ffp/include/php/Zend/zend.h:57:20: note: in expansion of macro 'TSRMG_STATIC'
 #define ZEND_TSRMG TSRMG_STATIC
                    ^
/ffp/include/php/Zend/zend_globals_macros.h:44:16: note: in expansion of macro 'ZEND_TSRMG'
 # define EG(v) ZEND_TSRMG(executor_globals_id, zend_executor_globals *, v)
                ^
/tmp/pear/temp/pthreads/classes/pool.h:211:25: note: in expansion of macro 'EG'
     fcc.calling_scope = EG(scope);
                         ^
In file included from /tmp/pear/temp/pthreads/php_pthreads.h:43:0,
                 from /tmp/pear/temp/pthreads/php_pthreads.c:26:
/tmp/pear/temp/pthreads/classes/pool.h: In function 'zim_Pool_collect':
/tmp/pear/temp/pthreads/classes/worker.h:53:10: error: 'zend_fcall_info' has no member named 'function_table'
  call.fci.function_table = &(w)->ce->function_table; \
          ^
/tmp/pear/temp/pthreads/classes/pool.h:293:4: note: in expansion of macro 'PTHREADS_WORKER_COLLECTOR_INIT'
    PTHREADS_WORKER_COLLECTOR_INIT(call, Z_OBJ_P(worker));
    ^
/tmp/pear/temp/pthreads/classes/worker.h:55:57: error: 'zend_fcall_info' has no member named 'function_table'
  call.fcc.function_handler = zend_hash_find_ptr(call.fci.function_table, Z_STR(call.fci.function_name)); \
                                                         ^
/tmp/pear/temp/pthreads/classes/pool.h:293:4: note: in expansion of macro 'PTHREADS_WORKER_COLLECTOR_INIT'
    PTHREADS_WORKER_COLLECTOR_INIT(call, Z_OBJ_P(worker));
    ^
Makefile:196: recipe for target 'php_pthreads.lo' failed
make: *** [php_pthreads.lo] Error 1
ERROR: `make' failed
Thanks nas-central the lot of help! :)

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: [FFp PKG Req] PHP 7.1.4

Post by barmalej2 » Wed May 03, 2017 5:57 pm

It is known bug of php pthreads. There is no stable pthreads release, which is compatible with latest php release:
https://github.com/krakjoe/pthreads/issues/689
Use pthreads git master branch to install.

Code: Select all

git clone https://github.com/krakjoe/pthreads
cd pthreads
phpize
./configure --with-php-config=/ffp/bin/php-config
make
make install

User avatar
MrDini
Posts: 651
Joined: Mon Dec 21, 2015 7:21 pm
Contact:

Re: [FFp PKG Req] PHP 7.1.4

Post by MrDini » Wed May 03, 2017 6:42 pm

It looks like, I forgot the most important rule: use the Google first, and don't be write only! I Can't imagine what Can I do without Your support Sir! ;)

BTW after some additional module load (in the php.ini), it didn't give me some module missing error, and started.

But after the log file creation, it shows a segfault. :(

Here is the backtrace:

Code: Select all

Starting program: /usr/local/zy-pkgs/ffproot/ffp/bin/php ./server.phar
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/ffp/lib/libthread_db.so.1".
[New Thread 0x411ff420 (LWP 6974)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x411ff420 (LWP 6974)]
0x0027e69c in zend_lookup_class_ex ()
(gdb) bt
#0  0x0027e69c in zend_lookup_class_ex ()
#1  0x4076d3a4 in pthreads_prepared_entry (thread=0x0, thread@entry=0x408ea480, candidate=0x852488)
    at /i-data/bf835951/build/pthreads/src/prepare.c:394
#2  0x4076d54c in pthreads_copy_entry (candidate=0x40805c58, thread=0x0)
    at /i-data/bf835951/build/pthreads/src/prepare.c:81
#3  pthreads_prepared_entry (thread=0x0, thread@entry=0x408ea480, candidate=0x40805c58)
    at /i-data/bf835951/build/pthreads/src/prepare.c:404
---Type <return> to continue, or q <return> to quit---
#4  0x4076c4d8 in pthreads_globals_object_connect (address=address@entry=1083090048, ce=ce@entry=0x0,
    object=object@entry=0x47b2b840) at /i-data/bf835951/build/pthreads/src/globals.c:133
#5  0x407708dc in pthreads_store_convert (storage=storage@entry=0x2252380, pzval=pzval@entry=0x47b2b840)
    at /i-data/bf835951/build/pthreads/src/store.c:726
#6  0x407706c0 in pthreads_store_separate (pzval=<optimized out>, separated=0x47b2b840,
    complex=complex@entry=0 '\000') at /i-data/bf835951/build/pthreads/src/store.c:380
#7  0x4076e568 in pthreads_copy_entry (candidate=0x40a01148, thread=0x0)
---Type <return> to continue, or q <return> to quit---
    at /i-data/bf835951/build/pthreads/src/prepare.c:287
#8  pthreads_prepared_entry (thread=0x0, thread@entry=0x408ea480, candidate=0x40a01148)
    at /i-data/bf835951/build/pthreads/src/prepare.c:404
#9  0x4076c4d8 in pthreads_globals_object_connect (address=address@entry=1083090048, ce=ce@entry=0x0,
    object=object@entry=0x47b2b820) at /i-data/bf835951/build/pthreads/src/globals.c:133
#10 0x407708dc in pthreads_store_convert (storage=storage@entry=0x2251fe8, pzval=pzval@entry=0x47b2b820)
    at /i-data/bf835951/build/pthreads/src/store.c:726
---Type <return> to continue, or q <return> to quit---
#11 0x407706c0 in pthreads_store_separate (pzval=<optimized out>, separated=0x47b2b820,
    complex=complex@entry=0 '\000') at /i-data/bf835951/build/pthreads/src/store.c:380
#12 0x4076e568 in pthreads_copy_entry (candidate=0x40a01270, thread=0x0)
    at /i-data/bf835951/build/pthreads/src/prepare.c:287
#13 pthreads_prepared_entry (thread=0x0, thread@entry=0x408ea480, candidate=0x40a01270)
    at /i-data/bf835951/build/pthreads/src/prepare.c:404
#14 0x4076c4d8 in pthreads_globals_object_connect (address=address@entry=1083090048, ce=ce@entry=0x0,
---Type <return> to continue, or q <return> to quit---
And theese lines repeating if I press the enter a lot more times...

Will ask the server developer, and the pthreads developer too, because it looks like a pthreads bug for me. And I will also look for another phar file to test it.
Thanks nas-central the lot of help! :)

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: [FFp PKG Req] PHP 7.1.4

Post by barmalej2 » Wed May 03, 2017 8:38 pm

Just run make test for php pthreads and all tests passes:
PHP : /ffp/bin/php
PHP_SAPI : cli
PHP_VERSION : 7.1.4
ZEND_VERSION: 3.1.0
PHP_OS : Linux - Linux NSA310 2.6.31.8 #2 Fri Aug 2 11:21:44 CST 2013 armv5tel
INI actual : /root/pthreads/tmp-php.ini
More .INIs :
---------------------------------------------------------------------
PHP : /e-data/aedfebd6-3d56-4344-8f80-b1ca60355017/ffproot/ffp/bin/phpdbg
PHP_SAPI : phpdbg
PHP_VERSION : 7.1.4
ZEND_VERSION: 3.1.0
PHP_OS : Linux - Linux NSA310 2.6.31.8 #2 Fri Aug 2 11:21:44 CST 2013 armv5tel
INI actual : /root/pthreads/tmp-php.ini
More .INIs :
---------------------------------------------------------------------
CWD : /root/pthreads
Extra dirs :
VALGRIND : Not used
=====================================================================
TIME START 2017-05-03 20:29:41
=====================================================================
PASS Test anonymous classes (bound inherited class) [tests/anon-bound-inherited.phpt]
PASS Test anonymous classes (unbound inherited class) [tests/anon-unbound-inherited.phpt]
PASS Test pthreads connections [tests/binding.phpt]
PASS Testing extended object functionality, magic methods bug #34 [tests/callstatic-etc.phpt]
PASS Check chunking [tests/chunk.phpt]
PASS Test class defaults [tests/class-defaults.phpt]
PASS Testing class statics properties (gh bug #570) [tests/class-static-properties.phpt]
PASS Testing closure members [tests/closures-as-members.phpt]
PASS Test NULLing ressources in arrays [tests/complex-statics-set-null.phpt]
PASS Test complex statics bug #32 [tests/complex-statics.phpt]
PASS Test pthreads constant array copy [tests/constant-array.phpt]
PASS Test constant AST copy bug #495 [tests/constant-ast-copy.phpt]
PASS Test constants (bug 19) [tests/constants.phpt]
PASS Testing sane handling of resources and objects bug #39 [tests/corrupted-resources.phpt]
PASS Testing member count [tests/counting-members.phpt]
PASS Test managing refcount in userland (super advanced voodoo shit, leave it alone) [tests/crazy-refcounting-stuff.phpt]
PASS Test doc comments are copied properly [tests/doc-comments.phpt]
PASS Test exception handler (nested caught) bug #498 [tests/exception-handler-caught-nested.phpt]
PASS Test exception handler (caught and uncaught) bug #493 [tests/exception-handler-caught-uncaught.phpt]
PASS Test exception handler inheritance (non threaded objects) [tests/exception-handler-fail.phpt]
PASS Test exception handler inheritance (options) [tests/exception-handler-options.phpt]
PASS Test exception handler inheritance (ok) [tests/exception-handler.phpt]
PASS Test Explicit Cast [tests/explicit-cast-arrays.phpt]
PASS Testing foreign private member access, magic methods bug #32 [tests/foreign-private-members.phpt]
PASS Test function table inheritance [tests/functions.phpt]
PASS Test global constants [tests/global-constants.phpt]
PASS Test objects that have gone away [tests/gone.phpt]
PASS Test graceful fatalities [tests/graceful-fatalities.phpt]
PASS Check graceful serialization of Threaded objects as members of non Threaded objects [tests/hacking-serials.phpt]
PASS Test immutability [tests/immutable-threaded-members.phpt]
PASS Test include/require functions as expected [tests/included-files.phpt]
PASS Test inherit none closures [tests/inherit-non-closures.phpt]
PASS Test INI inheritance (bug 20) [tests/ini.phpt]
PASS Test interface functionality [tests/interface.phpt]
PASS Testing interfaces inheritance (#124) [tests/interfaces.phpt]
PASS Test isset and empty are compliant with standard objects (fix bug #347) [tests/isset-empty-compat.phpt]
PASS Testing isset unset [tests/isset-unset.phpt]
PASS Testing iterator functions [tests/iterator-funcs.phpt]
PASS Test disallowing iteration by reference [tests/iterator-no-refs.phpt]
PASS Test legacy constructor (issue #336) [tests/legacy-ctor.phpt]
PASS Test lexical vars [tests/lexical-vars.phpt]
PASS Test magic __get and __set [tests/magic-methods-get-set.phpt]
PASS Test magic __isset and __unset [tests/magic-methods-isset-unset.phpt]
PASS Test merge non-threaded [tests/merge-non-threaded.phpt]
PASS Testing merging members [tests/merging-members.phpt]
PASS Testing merging members (long keys) [tests/merging-range.phpt]
PASS Test no cloning [tests/no-cloning.phpt]
PASS Test members (typeof object) with no other references [tests/norefs.phpt]
PASS Test reading object properties without debug info [tests/normal-reads.phpt]
PASS Testing normalizing members [tests/normalize-members.phpt]
PASS Null member crash [tests/null-member-crash.phpt]
PASS Test object cast [tests/object-cast.phpt]
PASS Test object comparison [tests/object-comparison.phpt]
PASS Test access to user defined methods in the object context [tests/oomethods.phpt]
PASS Test pool defaults [tests/pools-default.phpt]
PASS Test pooling [tests/pools.phpt]
PASS Test RECV overload [tests/recv-overload.phpt]
PASS Test sane handling of resources from foreign contexts [tests/resource-keeping.phpt]
PASS Test return types [tests/return-types.phpt]
PASS Test run time cache bug #494 [tests/run-time-cache-corruption.phpt]
PASS Test runtime extension [tests/runtime-inheritance.phpt]
PASS Test selective inheritance [tests/selective-inheritance.phpt]
PASS Test shift and pop [tests/shift-pop.phpt]
PASS Test shutdown handlers #204 [tests/shutdown-handler.phpt]
PASS Test stateful fatalities [tests/stateful-fatalities.phpt]
PASS Testing gh bug #585 (Static class member nulled after class extends) [tests/static-inheritance-unexpected-null.phpt]
PASS Test static:: regression [tests/static-resolution.phpt]
PASS Test static scope vars gh issue #501 [tests/static-scope-vars.phpt]
PASS Test access to static methods from within user threads [tests/staticmethods.phpt]
PASS Test statics aren't getting fucked with when starting new threads (many bugs) [tests/statics-thorn-in-other-side.phpt]
PASS Test statics (bug 19) [tests/statics.phpt]
PASS Test synchronized blocks [tests/synchronization.phpt]
PASS Testing thorn in my side hasn't returned [tests/thorn-in-side.phpt]
PASS Test basic threading [tests/thread.phpt]
PASS Test extending abstract [tests/threaded-extend-abstract.phpt]
PASS Test pthreads connections [tests/trait-alias-bug.phpt]
PASS Test trait aliases [tests/trait-aliases.phpt]
PASS Test traits scope (gh issue #484) [tests/traits-scope.phpt]
PASS Test fix for #665 [tests/unprepared-entry-static-segfault.phpt]
PASS Test unset defaults [moot: default values are ignored] [tests/unset-defaults.phpt]
PASS Test VERIFY_RETURN_TYPE overload [tests/verify-overload.phpt]
PASS Test Volatile Arrays [tests/volatile-arrays.phpt]
PASS Test Volatile objects [tests/volatile-objects.phpt]
PASS Test wait/notify [tests/wait.phpt]
PASS Test waiting timeouts [tests/waiting-timeouts.phpt]
PASS Test pthreads workers default collector [tests/workers-default-collector.phpt]
PASS Test pthreads workers rules (collect) [tests/workers-no-collect.phpt]
PASS Test pthreads workers rules (join) [tests/workers-no-join.phpt]
PASS Test pthreads Worker::shutdown [tests/workers-no-shutdown-before-start.phpt]
PASS Test pthreads workers rules (stack) [tests/workers-no-stack.phpt]
PASS Test pthreads workers rules (start) [tests/workers-no-start.phpt]
PASS Test pthreads workers rules (unstack) [tests/workers-no-unstack.phpt]
PASS Test pthreads Worker::unstack [tests/workers-ok-unstack.phpt]
=====================================================================
TIME END 2017-05-03 20:29:57

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 22
---------------------------------------------------------------------

Number of tests : 93 93
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 93 (100.0%) (100.0%)
---------------------------------------------------------------------
Time taken : 16 seconds
=====================================================================
More likely problem is your server.phar related, but this is just a guess as I am total noob with php.

ravenlost
Posts: 4
Joined: Wed Mar 29, 2017 11:12 am

Re: [FFp PKG Req] PHP 7.1.4

Post by ravenlost » Wed May 02, 2018 11:09 am

Hey folks,

First, thanks for the package barmalej2.

I'm running Lighttpd and your PHP 7.1.4 on my DLink DNS325 server. Everything seems to work fine, BUT with the exception that I cannot load the gd.so extension in my php.ini, even though it is present in the libs extension folder

extension=gd.so

Looking at my logs, all I get is
[02-May-2018 10:35:28 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/modules/gd.so' - File not found in Unknown on line 0
I really don't know how to troubleshoot this... Any help would be so much appreciated! Thanks in advance!
Pat

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: [FFp PKG Req] PHP 7.1.4

Post by barmalej2 » Thu May 03, 2018 5:53 am

What tells you command:

Code: Select all

ldd /ffp/lib/php/modules/gd.so 

Post Reply