We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon 2 dll for php 5.6 on windows

Could anybody build Phalcon 2 dll for php 5.6 x86 on windows?



2.1k
edited Jan '15

https://github.com/phalcon/zephir/blob/master/WINDOWS.md

Follow the instructions provided.

If you are using vc11 and below After you run zephir build.

edit the following files ext/phalcon/db/result/pdo.zep.c move

pdo_stmt_t *stmt; long n;

below

int ZEPHIR_LAST_CALL_STATUS; zval number_param = NULL, connection, pdo = NULL, sqlStatement, bindParams, statement = NULL, _0 = NULL, _1; long number;

ext/phalcon/kernel.zep.c

move these 3 lines

char arKey = Z_STRVAL_P(key), strKey; unsigned int nKeyLength = strlen(key); register ulong hash = 5381;

to below

zval key_param = NULL; zval key = NULL;

cd ext and run nmake.



6.2k

yes, could anybody build phalcon 2 dll for php 5.6 x86 windows?