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>

I noticed pkgsrc-current has been updated so CVS'ed to get the latest
version. php56 and ap24-php56 compile and install OK. However when I
add the line:

LoadModule php_module lib/httpd/mod_php5.so

to the httpd.conf and restart apache it fails with:

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_php5.so: Undefined symbol "php_module"

This all works with php83 so I guess something is still not right
unless there are other steps needed with earlier versions of php.

Dave


Home | Main Index | Thread Index | Old Index