Re: kubuntu 24.04 apache2 won't boot with package 'php' (translates to php 8.3.6-0maysync1) installed :(

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




A2enmod php8.1 

Go to /etc/apache2/mods-enabled 


On May 26, 2024, at 1:00 AM, Rene Veerman <rene.veerman.netherlands@xxxxxxxxx> 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 en gerelateerde websites.

With kind regards,
  Owner + CEO, CTO & CFO for https://nicer.app and related websites.

see also https://facebook.com/rene.veerman.90


On Sat, May 25, 2024 at 6:46 PM Rene Veerman <rene.veerman.netherlands@xxxxxxxxx> 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 into server: /usr/lib/apache2/modules/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
░░  
░░ 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
░░  
░░ 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
░░  
░░ 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 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 https://nicer.app en gerelateerde websites.

With kind regards,
  Owner + CEO, CTO & CFO for https://nicer.app and related websites.

see also https://facebook.com/rene.veerman.90


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux