note 128910 added to install.unix.apache2

From: Date: Thu, 21 Sep 2023 23:42:28 +0000
Subject: note 128910 added to install.unix.apache2
Groups: php.notes 
Request: Send a blank email to php-notes+get-220869@lists.php.net to get a copy of this message
When compiling for an Ubuntu 22.04 + Apache2 HTTPD (the one that comes from the default repo), you can face the following error when starting apache2.service: "Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP." So, I came back to PHP source and configured it like this: $ make clean $ ./configure [...all your build needs] --enable-zts $ make $ sudo make install Then it worked. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 189.110.105.249) ---- Manual Page -- https://php.net/manual/en/install.unix.apache2.php Edit -- https://main.php.net/note/edit/128910 Del: integrated -- https://main.php.net/note/delete/128910/integrated Del: useless -- https://main.php.net/note/delete/128910/useless Del: bad code -- https://main.php.net/note/delete/128910/bad+code Del: spam -- https://main.php.net/note/delete/128910/spam Del: non-english -- https://main.php.net/note/delete/128910/non-english Del: in docs -- https://main.php.net/note/delete/128910/in+docs Del: other reasons-- https://main.php.net/note/delete/128910 Reject -- https://main.php.net/note/reject/128910 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220869) next »