note 128118 added to migration80.other-changes
| From: | barry dot nelson at amobiledevice dot com | Date: | Mon, 16 Jan 2023 00:18:51 +0000 |
| Subject: | note 128118 added to migration80.other-changes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220073@lists.php.net to get a copy of this message | ||
If loading the PHP8 apache module on SuSe Linux, the configuration scripts incorrectly try to load
it with automatically generated load statement of:
LoadModule php8_module /usr/lib64/apache2/mod_php8.so
This does not work, the patch below fixes the conf file generator...
--- /usr/share/apache2/get_module_list 2023-01-14 22:41:49.586825349 -0500
+++ /usr/share/apache2/get_module_list 2023-01-14 22:42:02.171600410 -0500
@@ -91,4 +91,8 @@
esac
+ if [ "$module_id" = "php8_module" ]; then
+ module_id="php_module"
+ fi
+
if [[ -f $module_path ]]; then
printf "LoadModule %-30s %s\n" $module_id $module_path >&3
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.158.213 (proxied: 23.115.249.137)
----
Manual Page -- https://php.net/manual/en/migration80.other-changes.php
Edit -- https://main.php.net/note/edit/128118
Del: integrated -- https://main.php.net/note/delete/128118/integrated
Del: useless -- https://main.php.net/note/delete/128118/useless
Del: bad code -- https://main.php.net/note/delete/128118/bad+code
Del: spam -- https://main.php.net/note/delete/128118/spam
Del: non-english -- https://main.php.net/note/delete/128118/non-english
Del: in docs -- https://main.php.net/note/delete/128118/in+docs
Del: other reasons-- https://main.php.net/note/delete/128118
Reject -- https://main.php.net/note/reject/128118
Search -- https://main.php.net/manage/user-notes.php