pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: problems with ap-php on pkgsrc-2024Q3



On Mon, 2024-12-02 at 00:25 +0900, Takahiro Kambe wrote:
> In message <
> ecc0234b24706cf978f0194667b3b164df299cce.camel%anduin.org.uk@localhost>
>         on Fri, 29 Nov 2024 22:57:07 +0000,
>         Dave Tyson <dtyson%anduin.org.uk@localhost> wrote:
> > I am trying to get ap-php built with php5.6 and apache2.4 and it
> keeps
> > failing with a tedious configure error. It looks like configure.in
> must
> > generate a duff configure file. Sadly I know little about the
> workings
> > of configure but a bit of poking around it seems the error is
> somewhere
> > near PTHREAD CHECK in configure.in  I have no idea how the duff
> code is
> > generated. This is on NetBSD 10_STABLE/amd64
> It was my mistake that incomplete migration to use autoconf for
> lang/php*.
> 
> I have already fixed version of lang/php56 and I'll commit them in a
> week.
> 
> -- 
> Takahiro Kambe <taca%back-street.net@localhost>

That would be really helpful and much appreciated!

I did try to get ap-php working with php-7.4 and apache 2.4 and it
compiled OK, but fails at runtime:

httpd: Syntax error on line 175 of /usr/pkg/etc/httpd/httpd.conf: Can't
locate API module structure `php_module' in file
/usr/pkg/lib/httpd/mod_php7.so: Undefined symbol "php_module"

I note there is now discussion on pkgsrc-users about removing php-56
and php-74. Hopefully these will stick around till I can update a
website running a very old version (2.5) Joomla

Thanks,
Dave 


Home | Main Index | Thread Index | Old Index