You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compatible with default PHP installed in the image
Approximate size
No response
Brief description of tool
Ubuntu 22.04 image has Apache 2.4.52 installed and PHP 8.1.2 installed. However, Apache is unable to execute PHP scripts because libapache2-mod-php module is not installed. When I attempt to install this, lots of other packages are installed including PHP. This doesn't make sense since PHP is already installed. This installation takes about 2 minutes.
The following additional packages will be installed:
libapache2-mod-php8.2 php8.1-bcmath php8.1-bz2 php8.1-cgi php8.1-cli
php8.1-common php8.1-curl php8.1-dba php8.1-dev php8.1-enchant php8.1-fpm
php8.1-gd php8.1-gmp php8.1-imap php8.1-interbase php8.1-intl php8.1-ldap
php8.1-mbstring php8.1-mysql php8.1-odbc php8.1-opcache php8.1-pgsql
php8.1-phpdbg php8.1-pspell php8.1-readline php8.1-snmp php8.1-soap
php8.1-sqlite3 php8.1-sybase php8.1-tidy php8.1-xml php8.1-zip php8.2
php8.2-cli php8.2-common php8.2-opcache php8.2-readline
Suggested packages:
dh-php
Recommended packages:
pkg-php-tools
The following NEW packages will be installed:
libapache2-mod-php8.1 libapache2-mod-php8.2 php php8.2 php8.2-cli
php8.2-common php8.2-opcache php8.2-readline
The following packages will be upgraded:
php8.1-bcmath php8.1-bz2 php8.1-cgi php8.1-cli php8.1-common php8.1-curl
php8.1-dba php8.1-dev php8.1-enchant php8.1-fpm php8.1-gd php8.1-gmp
php8.1-imap php8.1-interbase php8.1-intl php8.1-ldap php8.1-mbstring
php8.1-mysql php8.1-odbc php8.1-opcache php8.1-pgsql php8.1-phpdbg
php8.1-pspell php8.1-readline php8.1-snmp php8.1-soap php8.1-sqlite3
php8.1-sybase php8.1-tidy php8.1-xml php8.1-zip
31 upgraded, 8 newly installed, 0 to remove and 50 not upgraded.
Need to get 17.0 MB of archives.
After this operation, 26.3 MB of additional disk space will be used.
hello, @arvindpdmn! we have removed third party repo for PHP on Ubuntu 22.04, and recommend using setup-php action for any customers who want to use any other (non-installed) versions of PHP or want to get latest PHP faster.
@ddobranic Thanks. I also found that using sudo add-apt-repository ppa:ondrej/apache2 is better than sudo add-apt-repository ppa:ondrej/php if I just want to install the php apache module.
Tool name
libapache2-mod-php
Tool license
Apache
Add or update?
Desired version
Compatible with default PHP installed in the image
Approximate size
No response
Brief description of tool
Ubuntu 22.04 image has Apache 2.4.52 installed and PHP 8.1.2 installed. However, Apache is unable to execute PHP scripts because
libapache2-mod-php
module is not installed. When I attempt to install this, lots of other packages are installed including PHP. This doesn't make sense since PHP is already installed. This installation takes about 2 minutes.The following commands were used:
This leads to:
URL for tool's homepage
https://packages.ubuntu.com/hu/jammy/ppc64el/libapache2-mod-php8.1
Provide a basic test case to validate the tool's functionality.
No response
Platforms where you need the tool
Runner images where you need the tool
Can this tool be installed during the build?
No response
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: