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
Hi,
In message <4d53c6f16cd6cd4571d5b7763f82e09edea7ed3f.camel%anduin.org.uk@localhost>
on Sun, 01 Dec 2024 20:51:27 +0000,
Dave Tyson <dtyson%anduin.org.uk@localhost> wrote:
> 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"
You should use below line for ap24-php56 package.
LoadModule php5_module lib/httpd/mod_php5.so
And you should use below line for ap24-php74 package.
LoadModule php7_module lib/httpd/mod_php7.so
PHP 8.0 and later drop major version from module name (php_module).
--
Takahiro Kambe <taca%back-street.net@localhost>
Home |
Main Index |
Thread Index |
Old Index