I can';t compile with recent php5 package on freebsd:
===
cc -c -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -O2 -
fno-strict-aliasing -pipe -g -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" -DPIC -fPIC "-
I/usr/local/lib/perl5/5.12.2/mach/CORE" PHP.c
PHP.c: In function 'hv_store_zval':
PHP.c:54: error: 'zval' has no member named 'refcount'
PHP.c:65: error: 'zval' has no member named 'refcount'
PHP.c:66: error: 'zval' has no member named 'refcount'
PHP.c: In function 'hv_destroy_zval':
PHP.c:103: error: 'zval' has no member named 'refcount'
PHP.c: In function 'p5PHP_sv2zval':
PHP.c:292: error: 'zval' has no member named 'refcount'
PHP.c: In function 'p5PHP_zval2sv':
PHP.c:330: error: 'zval' has no member named 'refcount'
PHP.c:350: error: 'zval' has no member named 'refcount'
*** Error code 1
Stop in /usr/ports/lang/p5-PHP/work/PHP-0.11.
shell returned 1
===
as you see, the port itself is almost ready up to work state and thus to upload, but PHP.pm itself
isn't yet ;-)
versions are: perl-5.12.2 php-5.3.3 gcc-4.2.1
another problem with a port is that php_embed.h isn't included in a php5 freebsd package. I will
hit them as I'll get the module toi work.
googling about the error results in a sorts of a black C magic and upgrading to php-5.3
On Fri Sep 03 03:58:01 2010, STEFANOS wrote:
Show quoted text> Are there any experiences with the module with newest stable perl (5.10,
> 5.12) and php (5.3.3) ?
>
> But i have trouble with debian linux 5 and php-config for easy automatic
> install. I think the deb package from the debian maintainers is not
> good. Is only the chance with sourcecode php (with compiling) for this
> modul or exist other ways possible under linux and/or win32 ? or is
> static version possible without many work? - thanks!