Re: kubuntu 24.04 apache2 won't boot with package 'php' (translates to php 8.3.6-0maysync1) installed :(
| From: | Benjamin | Date: | Sat, 25 May 2024 23:56:44 +0000 |
| Subject: | Re: kubuntu 24.04 apache2 won't boot with package 'php' (translates to php 8.3.6-0maysync1) installed :( | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-328421@lists.php.net to get a copy of this message | ||
A2enmod php8.1
Go to /etc/apache2/mods-enabled
> On May 26, 2024, at 1:00 AM, Rene Veerman <rene.veerman.netherlands@gmail.com> wrote:
>
> additionally, i can share :
>
> root@parakeet:~# dpkg -l | grep php
> ii libapache2-mod-php8.3 8.3.6-0maysync1
> amd64 server-side, HTML-embedded scripting language (Apache 2 module)
> ii php 2:8.3+93ubuntu2
> all server-side, HTML-embedded scripting language (default)
> ii php-common 2:93ubuntu2
> all Common files for PHP packages
> ii php8.3 8.3.6-0maysync1
> all server-side, HTML-embedded scripting language (metapackage)
> ii php8.3-cli 8.3.6-0maysync1
> amd64 command-line interpreter for the PHP scripting language
> ii php8.3-common 8.3.6-0maysync1
> amd64 documentation, examples and common module for PHP
> ii php8.3-opcache 8.3.6-0maysync1
> amd64 Zend OpCache module for PHP
> ii php8.3-readline 8.3.6-0maysync1
> amd64 readline module for PHP
> root@parakeet:~# apt install php8.3
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> php8.3 is already the newest version (8.3.6-0maysync1).
> php8.3 set to manually installed.
> 0 upgraded, 0 newly installed, 0 to remove and 64 not upgraded.
>
>
> Met vriendelijke groet,
> Rene AJM Veerman
> Eigenaar + <> Algemeen, Technisch & Financieel directeur van
> https://nicer.app
> <https://nicer.app/> en gerelateerde websites.
>
> With kind regards,
> Owner + CEO, CTO & CFO for https://nicer.app
> <https://nicer.app/> and related websites.
>
> see also https://facebook.com/rene.veerman.90
> <https://facebook.com/rene.veerman.90>
>
> On Sat, May 25, 2024 at 6:46 PM Rene Veerman <rene.veerman.netherlands@gmail.com <èúPì
> ×!k‹բ†‚mailto:rene.veerman.netherlands@gmail.com>> wrote:
> FYI, and also to request some help :
>
> root@parakeet:~# journalctl -xeu apache2.service
> [.....]
> mei 25 16:34:37 parakeet apachectl[15371]: apache2: Syntax error on line 148 of
> /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php8.1.load: Cannot
> load /usr/lib/apache2/modules/libphp8.1.so
> <http://libphp8.1.so/> into server:
> /usr/lib/apache2/modules/libphp8.1.so <http://libphp8.1.so/>:
> cannot open shared object file: No such file or directory
> mei 25 16:34:37 parakeet systemd[1]: apache2.service: Control process exited, code=exited,
> status=1/FAILURE
> â–‘â–‘ Subject: Unit process exited
> â–‘â–‘ Defined-By: systemd
> â–‘â–‘ Support: http://www.ubuntu.com/support
> <http://www.ubuntu.com/support>
> â–‘â–‘
> â–‘â–‘ An ExecStart= process belonging to unit apache2.service has exited.
> â–‘â–‘
> â–‘â–‘ The process' exit code is 'exited' and its exit status is 1.
> mei 25 16:34:37 parakeet systemd[1]: apache2.service: Failed with result 'exit-code'.
>
> â–‘â–‘ Subject: Unit failed
> â–‘â–‘ Defined-By: systemd
> â–‘â–‘ Support: http://www.ubuntu.com/support
> <http://www.ubuntu.com/support>
> â–‘â–‘
> â–‘â–‘ The unit apache2.service has entered the 'failed' state with result
> 'exit-code'.
> mei 25 16:34:37 parakeet systemd[1]: Failed to start apache2.service - The Apache HTTP Server.
> â–‘â–‘ Subject: A start job for unit apache2.service has failed
> â–‘â–‘ Defined-By: systemd
> â–‘â–‘ Support: http://www.ubuntu.com/support
> <http://www.ubuntu.com/support>
> â–‘â–‘
> â–‘â–‘ A start job for unit apache2.service has finished with a failure.
> â–‘â–‘
> â–‘â–‘ The job identifier is 4523 and the job result is failed.
> root@parakeet:~#
> root@parakeet:~#
> root@parakeet:~# apt-get install --reinstall php
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 64 not upgraded.
> Need to get 4.076 B of archives.
> After this operation, 0 B of additional disk space will be used.
> Get:1 http://nl.archive.ubuntu.com/ubuntu
> <http://nl.archive.ubuntu.com/ubuntu> noble/main amd64 php all
> 2:8.3+93ubuntu2 [4.076 B]
> Fetched 4.076 B in 0s (35,6 kB/s)
> (Reading database ... 194029 files and directories currently installed.)
> Preparing to unpack .../php_2%3a8.3+93ubuntu2_all.deb ...
> Unpacking php (2:8.3+93ubuntu2) over (2:8.3+93ubuntu2) ...
> Setting up php (2:8.3+93ubuntu2) ...
>
>
>
> Met vriendelijke groet,
> Rene AJM Veerman
> Eigenaar + <> Algemeen, Technisch & Financieel directeur van Gwrâ9
> Þ´Iû½ŽHhttps://nicer.app <https://nicer.app/>
> en gerelateerde websites.
>
> With kind regards,
> Owner + CEO, CTO & CFO for https://nicer.app
> <https://nicer.app/> and related websites.
>
> see also https://facebook.com/rene.veerman.90
> <https://facebook.com/rene.veerman.90>