![]() $cfg = 'n34uLaA3lvexVi6RaSG3T1BTna123m78' /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ * This is needed for cookie based authentication to encrypt password in Open the file and update the following code snippet. Step 2: Time to update the “nf” config file located at “/Apache24/htdocs/phpmyadmin” and save this with a new name “” on the same location. Step 1: Open the command prompt as Administrator. Now follow the given instruction to install the Apache2.4 in windows 10. Then extract the downloaded zip folder as per your desired location. You can download the Apache server from the official site. Setup Apache, PHP & MySql on Windows 10 Setup Apache Setup Apache, PHP & MySql on Windows 10.Loaded: loaded (/lib/systemd/system/apache2. Lrwxrwxrwx 1 root root 29 Jun 3 12:36 php8.1.load ->. Lrwxrwxrwx 1 root root 29 Jun 3 12:36 php8.1.conf ->. mods-available/php8.1.conf php8.1.confĪfter the resolution: $ cd /etc/apache2/mods-enabled Implement the resolution: $ sudo rm php8.0.conf php8.0.load Lrwxrwxrwx 1 root root 29 May 29 20:27 php8.0.load ->. Lrwxrwxrwx 1 root root 29 May 29 20:27 php8.0.conf ->. Add new symbolic links in mods-enabled to the php 8.1 references in the mods-available directory.īefore the resolution: $ cd /etc/apache2/mods-enabled.Remove the old php 8.0 references in mods-enabled directory.I had the same issue and resolved as above using the following steps: What should I do to avoid this manually hacking? LoadModule php_module /usr/lib/apache2/modules/libphp8.0.soĬhanging it to libphp8.1.so leads to apache2 service restarts correctly. Here the content of the offending mods: $ cat /etc/apache2/mods-enabled/php8.0.load The available librarie is: $ ls -l /usr/lib/apache2/modules/libphp* Ii php8.1-zip 8.1.2-1ubuntu2 amd64 Zip module for PHP Ii php8.1-xml 8.1.2-1ubuntu2 amd64 DOM, SimpleXML, XML, and XSL module for PHP Ii php8.1-readline 8.1.2-1ubuntu2 amd64 readline module for PHP Ii php8.1-opcache 8.1.2-1ubuntu2 amd64 Zend OpCache module for PHP Ii php8.1-mysql 8.1.2-1ubuntu2 amd64 MySQL module for PHP Ii php8.1-mbstring 8.1.2-1ubuntu2 amd64 MBSTRING module for PHP Ii php8.1-gd 8.1.2-1ubuntu2 amd64 GD module for PHP Ii php8.1-curl 8.1.2-1ubuntu2 amd64 CURL module for PHP Ii php8.1-common 8.1.2-1ubuntu2 amd64 documentation, examples and common module for PHP Ii php8.1-cli 8.1.2-1ubuntu2 amd64 command-line interpreter for the PHP scripting language Ii php8.1-bz2 8.1.2-1ubuntu2 amd64 bzip2 module for PHP Rc php8.0-zip 8.0.8-1ubuntu0.3 amd64 Zip module for PHP Rc php8.0-xml 8.0.8-1ubuntu0.3 amd64 DOM, SimpleXML, XML, and XSL module for PHP Rc php8.0-readline 8.0.8-1ubuntu0.3 amd64 readline module for PHP Rc php8.0-opcache 8.0.8-1ubuntu0.3 amd64 Zend OpCache module for PHP Rc php8.0-mysql 8.0.8-1ubuntu0.3 amd64 MySQL module for PHP Rc php8.0-mbstring 8.0.8-1ubuntu0.3 amd64 MBSTRING module for PHP Rc php8.0-intl 8.0.8-1ubuntu0.3 amd64 Internationalisation module for PHP Rc php8.0-gd 8.0.8-1ubuntu0.3 amd64 GD module for PHP Rc php8.0-curl 8.0.8-1ubuntu0.3 amd64 CURL module for PHP Rc php8.0-common 8.0.8-1ubuntu0.3 amd64 documentation, examples and common module for PHP Rc php8.0-cli 8.0.8-1ubuntu0.3 amd64 command-line interpreter for the PHP scripting language Rc php8.0-bz2 8.0.8-1ubuntu0.3 amd64 bzip2 module for PHP Ii php-symfony-polyfill-php81 1.24.0-1ubuntu2 all Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions Ii php-symfony-polyfill-php80 1.24.0-1ubuntu2 all Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions Ii libapache2-mod-php8.1 8.1.2-1ubuntu2 amd64 server-side, HTML-embedded scripting language (Apache 2 module) Ii libapache2-mod-php8.0 8.1.2-1ubuntu2 amd64 Transitional package ![]() Here the PHP package installed: $ dpkg -l | grep php8 After upgrading from 21.10 to 22.04, Apache server does not start anymore:Īpache2: Syntax error on line 146 of /etc/apache2/nf: Syntax error on line 3 of /etc/apache2/mods-enabled/php8.0.load: Cannot load /usr/lib/apache2/modules/libphp8.0.so into server: /usr/lib/apache2/modules/libphp8.0.so: cannot open shared object file ![]()
0 Comments
Leave a Reply. |