|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78681 Can't locate API module structure `php8_module' in file /BUILD/php-8.0.0/libs/l
Submitted: 2019-10-17 21:08 UTC Modified: 2019-10-18 09:16 UTC
From: bugreports at gmail dot com Assigned: nikic (profile)
Status: Closed Package: Apache2 related
PHP Version: master-Git-2019-10-17 (Git) OS: Linux
Private report: No CVE-ID: None
 [2019-10-17 21:08 UTC] bugreports at gmail dot com
can you please rename the module properly so that templatd environments parsing the major vesion out of the cli binary are working as expected

i prepared all the build and pgo profiling stuff long ago php major agnostic

Can't locate API module structure `php8_module' in file /BUILD/php-8.0.0/libs/ /BUILD/php-8.0.0/libs/ undefined symbol: php8_module


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-17 21:20 UTC] bugreports at gmail dot com
how do you load the apapche module at all wehn even "php7_module" is not known

httpd: Syntax error on line 9 of /PHP-PGO/httpd.conf: Can't locate API module structure `php7_module' in file /BUILD/php-8.0.0/libs/ /BUILD/php-8.0.0/libs/ undefined symbol: php7_module
 [2019-10-17 21:40 UTC]
-Assigned To: +Assigned To: nikic
 [2019-10-17 21:40 UTC]
If you want your process to be major-agnostic then you should love that it's called "php_module".

What I don't know is whether that's a permanent change or only intended until PHP $major.0 is branched.
 [2019-10-17 22:35 UTC] bugreports at gmail dot com
well, 'php_module' would be cool but only in combination with instead, i hate stuff like below from the bottom of my heart since many years :-)

<IfModule mod_php5.c>
 php_flag engine off

<IfModule mod_php7.c>
 php_flag engine off

<IfModule mod_php8.c>
 php_flag engine off
 [2019-10-18 09:16 UTC]
Do I understand correctly that the bug report here is that we should generate "" rather than "", and nothing more? Or is there some additional issue?
 [2019-10-18 09:51 UTC] bugreports at gmail dot com
PHP5: php5_module,
PHP7: php7_module,
PHP8: php_module,

don't you see the inconsistency?

either stay at "php8_module" and "" as all the years before or one and for all stop the number nosense which makes configuartion and upgrade/downgrade harder then it could be

what you are currently doing is breaking templates on buildsystems which are designed to build and autotest/profile whatever with no real gain while a test for "" would be easy to implement
 [2019-10-29 15:06 UTC]
Automatic comment on behalf of
Log: Fix bug #78681 by renaming to
 [2019-10-29 15:06 UTC]
-Status: Assigned +Status: Closed
 [2020-07-29 18:33 UTC] lzsiga at freemail dot c3 dot hu
Hi, I have the same problem: if the previous versions were able to include the major version number into the filename (, also into the DT_SONAME header, why cannot version 8 do the same? Why does it generate instead of
 [2020-07-29 18:39 UTC] lzsiga at freemail dot c3 dot hu
Note: I could even bring up the idea of using standard major and minor version numbers like `` and `` being symlinks to ``.
 [2020-07-29 18:54 UTC] bugreportsxyz at gmail dot com
because thanks god you don't need dozens of IfModule in the future to cover all major versions for the same thing
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Dec 05 12:01:22 2020 UTC