# Installing PHP 8.4

**URL:** <https://forum.hestiacp.com/t/installing-php-8-4/16678>\
**Category:** Community Support\
**Created:** [November 19, 2024, 8:33am UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678 "2024-11-19T08:33:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![erdiritru](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/e/74df32/32.png) [@erdiritru](https://forum.hestiacp.com/u/erdiritru)\
**Post date:** [November 19, 2024, 8:33am UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/1 "2024-11-19T08:33:18Z")

</div>

Dear HestiaCP community,  
With the upcoming release of PHP 8.4 on November 21, 2024, I’m seeking guidance on two specific matters:  
**What is the most reliable method to install PHP 8.4 on HestiaCP via command line?**  
**How can I ensure that my custom configurations in the php.ini file are not overwritten during HestiaCP updates?**  
I would greatly appreciate detailed instructions or references to appropriate documentation for these processes.

---

<div class="post-metadata">

**Author:** ![yunli](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/yunli/32/9695_2.png) [@yunli](https://forum.hestiacp.com/u/yunli)\
**Post date:** [November 20, 2024, 9:31am UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/2 "2024-11-20T09:31:53Z")

</div>

At present, there should be no increase in the release version. It will be added in version 1.90. If you need to experience it first, you can use it [servbay](https://www.servbay.com/) experience

---

<div class="post-metadata">

**Author:** ![erdiritru](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/e/74df32/32.png) [@erdiritru](https://forum.hestiacp.com/u/erdiritru)\
**Post date:** [November 20, 2024, 9:57am UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/4 "2024-11-20T09:57:30Z")

</div>

My request was not about asking for implementation in Hestia, as I’m aware that we would have to wait at least 6 months for that. Instead, I was inquiring about installing it in a customized manner.

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [November 20, 2024, 12:14pm UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/5 "2024-11-20T12:14:46Z")

</div>

> [@erdiritru](#):
>
> **What is the most reliable method to install PHP 8.4 on HestiaCP via command line?**

Edit `/usr/local/hestia/install/upgrade/upgrade.conf` and add `"8.4"` to `multiphp_v`:

```auto
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2" "8.3" "8.4")

```

Edit `/usr/local/hestia/web/edit/server/index.php` and add `"php-8.4",` to `$v_php_versions`:

```auto
$v_php_versions = [
        "php-5.6",
        "php-7.0",
        "php-7.1",
        "php-7.2",
        "php-7.3",
        "php-7.4",
        "php-8.0",
        "php-8.1",
        "php-8.2",
        "php-8.3",
        "php-8.4",
];

```

Edit `/usr/local/hestia/bin/v-run-cli-cmd` and add `'php8.4'` to `basecmd`:

```auto
if [ "$basecmd" != 'ps' -a \
        "$basecmd" != 'ls' -a \
        "$basecmd" != 'tar' -a \
        "$basecmd" != 'zip' -a \
        "$basecmd" != 'unzip' -a \
        "$basecmd" != 'gzip' -a \
        "$basecmd" != 'gunzip' -a \
        "$basecmd" != 'mkdir' -a \
        "$basecmd" != 'find' -a \
        "$basecmd" != 'id' -a \
        "$basecmd" != 'grep' -a \
        "$basecmd" != 'egrep' -a \
        "$basecmd" != 'sed' -a \
        "$basecmd" != 'cat' -a \
        "$basecmd" != 'php5.6' -a \
        "$basecmd" != 'php7.0' -a \
        "$basecmd" != 'php7.1' -a \
        "$basecmd" != 'php7.2' -a \
        "$basecmd" != 'php7.3' -a \
        "$basecmd" != 'php7.4' -a \
        "$basecmd" != 'php8.0' -a \
        "$basecmd" != 'php8.1' -a \
        "$basecmd" != 'php8.2' -a \
        "$basecmd" != 'php8.3' -a \
        "$basecmd" != 'php8.4' -a \
        "$basecmd" != 'php' -a \
        "$basecmd" != "wp" -a \
        "$basecmd" != 'composer' ]; then
        check_result "$E_FORBIDEN" "Error: Cli command not enabled"
fi

```

**Edit** : I forgot to modify `/usr/local/hestia/bin/v-restart-service` to add `"php8.4-fpm"`:

```auto
        elif [-z "$restart" -o "$restart" = "no"] && [ \
                "$service" = "nginx" -o \
                "$service" = "apache2" -o \
                "$service" = "exim4" -o \
                "$service" = "dovecot" -o \
                "$service" = "bind9" -o \
                "$service" = "named" -o \
                "$service" = "vsftpd" -o \
                "$service" = "php5.6-fpm" -o \
                "$service" = "php7.0-fpm" -o \
                "$service" = "php7.1-fpm" -o \
                "$service" = "php7.2-fpm" -o \
                "$service" = "php7.3-fpm" -o \
                "$service" = "php7.4-fpm" -o \
                "$service" = "php8.0-fpm" -o \
                "$service" = "php8.1-fpm" -o \
                "$service" = "php8.2-fpm" -o \
                "$service" = "php8.3-fpm" -o \
                "$service" = "php8.4-fpm" -o \
                "$service" = "proftpd" -o \
                "$service" = "ssh" -o \
                "$service" = "fail2ban" ]; then
                systemctl reload-or-restart "$service" >> $log 2>&1
        else

```

As php 8.4 is now available on Sury’s repository, you can install it using Hestia’s Web UI or run this script from command line:

```t
v-add-web-php 8.4

```

**UPDATE** : ~~seems there is a problem loading imagick library so you should wait before installing php 8.4.~~

**UPDATE 2** : imagick module has been fixed so no more library errors.

> [@erdiritru](#):
>
> **How can I ensure that my custom configurations in the php.ini file are not overwritten during HestiaCP updates?**

Hestia usually doen’t modify `php.ini` files, only for security reasons. If something is overwritting the files is your OS (`dpkg`), always use `Keep current conf` when updating packages.

---

<div class="post-metadata">

**Author:** ![erdiritru](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/e/74df32/32.png) [@erdiritru](https://forum.hestiacp.com/u/erdiritru)\
**Post date:** [November 20, 2024, 12:26pm UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/6 "2024-11-20T12:26:54Z")

</div>

Great, thank you! Sahsanu, as always, you are a master of your craft

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [November 20, 2024, 12:26pm UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/7 "2024-11-20T12:26:59Z")

</div>

Please make wait until PHP8.4 has been released [deb.sury.org](http://deb.sury.org) ussally it takes a few days…

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [November 20, 2024, 12:40pm UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/8 "2024-11-20T12:40:23Z")

</div>

> <https://github.com/hestiacp/hestiacp/pull/4631>
>
> Please wait until PHP-8.4 has been released before merging. deb.sury.org also ne…ed to update first

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [November 21, 2024, 12:56am UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/10 "2024-11-21T00:56:01Z")

</div>

> [@anon56853809](#):
>
> 8.4? What happened to 1.9?

8.4 is the new PHP version that should be released today 21st November and 1.9 is the next major release for Hestia.

> [@anon56853809](#):
>
> Also I can’t choose php8.3 in the WordPress quick installation

Execute this command as root and you should be able to use php 8.3 on WordPress Quick Install.

```t
sed -i 's/"8.2"/"8.2", "8.3"/' /usr/local/hestia/web/src/app/WebApp/Installers/WordPress/WordPressSetup.php

```

---

<div class="post-metadata">

**Author:** ![aaronkempf](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/aaronkempf/32/384_2.png) [@aaronkempf](https://forum.hestiacp.com/u/aaronkempf)\
**Post date:** [November 21, 2024, 4:33am UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/12 "2024-11-21T04:33:59Z")

</div>

Yeah. I’d prefer stability over ‘rushing to get 8.4 out the door’.

My server got owned today. THANKS. I’m in a BULLSHIT mood.

---

<div class="post-metadata">

**Author:** ![aaronkempf](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/aaronkempf/32/384_2.png) [@aaronkempf](https://forum.hestiacp.com/u/aaronkempf)\
**Post date:** [November 21, 2024, 4:35am UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/13 "2024-11-21T04:35:24Z")

</div>

How do I _UNDO_ this?  
I tried adding 8.3 months ago.

It’s NOT showing up anymore. So I’d like to UNDO this script.  
And then I’ll wait for 1.9 to bring 8.3 AND 8.4

I think that EVERYTHING every single script we ever provide should have an UNDO script also. Sorry. I just have a lot to deal with tonight.

> [@sahsanu](#):
>
> Execute this command as root and you should be able to use php 8.3 on WordPress Quick Install.
> 
> `sed -i 's/"8.2"/"8.2", "8.3"/' /usr/local/hestia/web/src/app/WebApp/Installers/Wo`

---

<div class="post-metadata">

**Author:** ![aaronkempf](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/aaronkempf/32/384_2.png) [@aaronkempf](https://forum.hestiacp.com/u/aaronkempf)\
**Post date:** [November 21, 2024, 4:40am UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/14 "2024-11-21T04:40:20Z")

</div>

> [@sahsanu](#):
>
> Edit `/usr/local/hestia/install/upgrade/upgrade.conf` and add `"8.4"` to `multiphp_v`:
> 
> ```auto
> multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2" "8.3" "8.4")
> 
> ```
> 
> Edit `/usr/local/hestia/web/edit/server/index.php` and add `"php-8.4",` to `$v_php_versions`:

THANK YOU. i’ll review this soon.

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [November 21, 2024, 4:19pm UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/15 "2024-11-21T16:19:59Z")

</div>

For those early adopters, I tested it and it will fail when trying to use `v-add-web-php 8.4`

**UPDATE** : packages `php8.4-imap` and `php8.4-pspell` are now available on sury’s repository.

**UPDATE 2** : package `php8.4-imagick` is now available on sury’s repository, so there is no need to apply any workaround, v-add-web-php 8.4 will work as expected if you followed the previous steps to modify Hestia.

> **Summary**
>
> ```auto
> ❯ v-add-web-php 8.4
> Installing PHP-8.4, please wait...
> \
> ERROR: Installation failed, please run the following command manually for debugging:
> apt-get install php8.4-common php8.4-mbstring php8.4-bcmath php8.4-cli php8.4-curl
> php8.4-fpm php8.4-gd php8.4-intl php8.4-mysql
> php8.4-soap php8.4-xml php8.4-zip php8.4-bz2
> php8.4-pspell php8.4-imagick php8.4-imap php8.4-ldap
> cp: cannot create regular file '/etc/php/8.4/fpm/pool.d/': No such file or directory
> sed: can't read /etc/php/8.4/fpm/pool.d/dummy.conf: No such file or directory
> cp: cannot create regular file '/etc/php/8.4/fpm/': Not a directory
> sed: can't read /etc/php/8.4/fpm/php-fpm.conf: No such file or directory
> sed: can't read /etc/php/8.4/fpm/php.ini: No such file or directory
> sed: can't read /etc/php/8.4/fpm/php.ini: No such file or directory
> sed: can't read /etc/php/8.4/fpm/php.ini: No such file or directory
> sed: can't read /etc/php/8.4/fpm/php.ini: No such file or directory
> sed: can't read /etc/php/8.4/fpm/php.ini: No such file or directory
> sed: can't read /etc/php/8.4/fpm/php.ini: No such file or directory
> sed: can't read /etc/php/8.4/fpm/php.ini: No such file or directory
> sed: can't read /etc/php/8.4/fpm/php.ini: No such file or directory
> 
> ```
> 
> It fails because ~~three~~ one package is not available yet ( ~~`php8.4-pspell`~~ , ~~`php8.4-imap`~~ and `php8.4-imagick`).
> 
> To workaround this issue, edit file `/usr/local/hestia/bin/v-add-web-php` and add this:
> 
> ```auto
> if [[${version} == "8.4"]]; then
> mph=$(echo "$mph" | sed -e "s/php$version-imagick//")
> fi
> 
> ```
> 
> In context:
> 
> ```auto
> # Check if version is 8.0 or higher and drop php json.
> if [[${version:0:1} == "8"]]; then
> mph=$(echo "$mph" | sed -e "s/php$version-json//")
> fi
> 
> if ! echo "$DB_SYSTEM" | grep -w 'mysql' > /dev/null; then
> mph=$(echo "$mph" | sed -e "s/php$version-mysql//")
> fi
> 
> if ! echo "$DB_SYSTEM" | grep -w 'pgsql' > /dev/null; then
> mph=$(echo "$mph" | sed -e "s/php$version-pgsql//")
> fi
> 
> if [[${version} == "8.4"]]; then
> mph=$(echo "$mph" | sed -e "s/php$version-imagick//")
> fi
> 
> # Install php packages
> if [-f '/etc/redhat-release']; then
> dnf makecache -q
> dnf install -q -y $mph > /dev/null 2>&1 &
> else
> apt-get -qq update
> apt-get -y -qq -o Dpkg::Options::="--force-confold" install $mph > /dev/null 2>&1 &
> fi
> 
> ```
> 
> Also, edit file `/usr/local/hestia/bin/v-delete-web-php` and add this:
> 
> ```auto
> if [[${version} == "8.4"]]; then
> mph=$(echo "$mph" | sed -e "s/php$version-imagick//")
> fi
> 
> ```
> 
> In context:
> 
> ```auto
> # Check is version is 7.1 or below to add mcrypt
> if [[$(echo "$version 7.2" | awk '{print ($1 < $2)}') == 1]]; then
> mph="$mph php$version-mcrypt"
> fi
> 
> if [[${version} == "8.4"]]; then
> mph=$(echo "$mph" | sed -e "s/php$version-imagick//")
> fi
> 
> # Purge php packages
> if [-f '/etc/redhat-release']; then
> dnf remove -y $mph > /dev/null 2>&1 &
> else
> apt-get -y purge $mph > /dev/null 2>&1 &
> fi
> BACK_PID=$!
> 
> ```

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [November 21, 2024, 4:27pm UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/16 "2024-11-21T16:27:54Z")

</div>

Most likely the will come in the next few days… imagick for sure …

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [November 21, 2024, 4:29pm UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/17 "2024-11-21T16:29:15Z")

</div>

> <https://github.com/oerdnj/deb.sury.org/issues/2176>
>
> This is a tracking issue for PHP 8.4 status.
> 
> \* \[x\] PHP 8.4
> \* \[x\] Create a …new package for PHP 8.4.0alpha1
> \* \[x\] Update the package with PHP 8.4.0alpha2 (when available)
> \* \[x\] Upload to php-qa repositories
> \* \[x\] Upload to Debian experimental
> \* \[\] Initiate transition for Debian trixie (RC version)
> \* \[\] Upload PHP 8.4 version to Debian unstable (RC version)
> \* \[\] Upload final PHP 8.4 version to PHP repositories
> \* \[\] Upload final PHP 8.4 version to Debian unstable
> \* \[\] php-defaults
> \* \[x\] Set PHP 8.4 as single supported version in debian/experimental branch
> \* \[x\] Upload to php-qa repositories
> \* \[x\] Remove IMAP and pspell extensions from the modulelist
> \* \[x\] Upload to Debian experimental
> \* \[\] Add PHP 8.4 for packages.sury.org version (along with PHP 5.6 - PHP 8.3)
> \* \[\] Upload multiversion php-defaults to PHP repositories
> \* \[\] Unbundled IMAP extension
> \* \[x\] Create a new package for unbundled IMAP extension
> \* \[x\] Upload to php-qa repositories
> \* \[x\] Upload to Debian experimental (after PHP 8.4 passes NEW)
> \* \[\] Unbundled pspell extension
> \* \[x\] Create a new package for unbundled pspell extension
> \* \[x\] Upload to php-qa repositories
> \* \[x\] Upload to Debian experimental (after PHP 8.4 passes NEW)
> \* \[\] Current PECL extensions
> \* \[x\] Test all current PECL extensions against PHP 8.4
> \* \[\] Build status of PECL extensions
> \* \[x\] libvirt-php
> \* \[x\] php-amqp
> \* \[x\] php-apcu
> \* \[x\] php-ast
> \* \[\] php-decimal (missing libmpdec-dev on noble)
> \* \[x\] php-dio
> \* \[x\] php-ds
> \* \[x\] php-excimer
> \* \[x\] php-gearman
> \* \[x\] php-geoip
> \* \[x\] php-gmagick
> \* \[x\] php-gnupg
> \* \[x\] php-grpc
> \* \[x\] php-igbinary
> \* \[x\] php-imagick
> \* \[x\] php-imap
> \* \[x\] php-inotify
> \* \[\] php-lz4 (will need manual debian/control.in update)
> \* \[x\] php-mailparse
> \* \[x\] php-maxminddb
> \* \[x\] php-mcrypt
> \* \[x\] php-memcache
> \* \[\] php-memcached
> \* \[x\] php-mongodb
> \* \[x\] php-msgpack
> \* \[x\] php-oauth
> \* \[\] php-openswoole
> \* \[\] php-opentelemetry
> \* \[x\] php-pcov
> \* \[x\] php-pecl-http
> \* \[\] php-pinba (will need manual debian/control.in update)
> \* \[\] php-phalcon5
> \* \[x\] php-pq
> \* \[x\] php-protobuf
> \* \[x\] php-ps
> \* \[x\] php-pspell
> \* \[x\] php-psr
> \* \[x\] php-radius
> \* \[x\] php-raphf
> \* \[x\] php-rdkafka
> \* \[\] php-redis (fatal error: standard/php\_random.h: No such file or directory)
> \* \[x\] php-rrd
> \* \[x\] php-smbclient
> \* \[\] php-solr (syntax error near unexpected token \`-fprofile-arcs,' in configure)
> \* \[x\] php-ssh2
> \* \[x\] php-stomp
> \* \[\] php-swoole
> \* \[x\] php-uopz
> \* \[x\] php-uploadprogress
> \* \[x\] php-uuid
> \* \[x\] php-vips
> \* \[x\] php-xhprof
> \* \[x\] php-xmlrpc
> \* \[x\] php-yac
> \* \[x\] php-yaml
> \* \[x\] php-zmq
> \* \[x\] php-zstd
> \* \[x\] xdebug (3.4.0~alpha1 works)
> \* \[x\] Not supported
> \* \[x\] php-apcu-bc
> \* \[x\] php-geoip
> \* \[x\] php-lua
> \* \[x\] php-mongo
> \* \[x\] php-mysqlnd-ms
> \* \[x\] php-propro
> \* \[x\] php-radius
> \* \[x\] php-sodium
> \* \[x\] xcache
> \* \[\] Remove
> \* \[\] php-facedetect (remove completely?)
> \* \[\] tideways (obsoleted by upstream, remove completely)
> \* \[\] Upload to Debian experimental (after PHP 8.4 passes NEW)
> \* \[x\] libvirt-php
> \* \[x\] php-amqp
> \* \[x\] php-apcu
> \* \[x\] php-ast
> \* \[\] php-decimal (missing libmpdec-dev on noble)
> \* \[x\] php-ds
> \* \[x\] php-excimer (fatal error: ext/standard/php\_mt\_rand.h: No such file or directory)
> \* \[x\] php-gearman
> \* \[x\] php-gmagick
> \* \[x\] php-gnupg
> \* \[\] php-grpc
> \* \[\] php-igbinary
> \* \[x\] php-imagick
> \* \[x\] php-imap
> \* \[\] php-inotify
> \* \[x\] php-mailparse
> \* \[x\] php-maxminddb
> \* \[x\] php-mcrypt (fatal error: ext/standard/php\_rand.h: No such file or directory)
> \* \[x\] php-memcache
> \* \[\] php-memcached
> \* \[x\] php-mongodb
> \* \[x\] php-msgpack
> \* \[\] php-oauth (fatal error: ext/standard/php\_rand.h: No such file or directory)
> \* \[\] php-openswoole
> \* \[\] php-pcov (error: too many arguments to function ‘php\_pcre\_match\_impl’)
> \* \[x\] php-pecl-http (fatal error: ext/standard/php\_lcg.h)
> \* \[\] php-pinba (up to PHP 8.2 only)
> \* \[\] php-pq
> \* \[x\] php-pspell
> \* \[x\] php-psr (tests failing)
> \* \[x\] php-raphf
> \* \[\] php-rdkafka
> \* \[\] php-redis (fatal error: standard/php\_random.h: No such file or directory)
> \* \[x\] php-rrd
> \* \[\] php-smbclient
> \* \[\] php-solr (syntax error near unexpected token \`-fprofile-arcs,' in configure)
> \* \[x\] php-stomp
> \* \[\] php-swoole
> \* \[\] php-uopz
> \* \[x\] php-uploadprogress
> \* \[x\] php-uuid
> \* \[\] php-vips
> \* \[\] php-xhprof
> \* \[x\] php-xmlrpc
> \* \[x\] php-yac
> \* \[\] php-yaml
> \* \[\] php-zmq
> \* \[\] php-zstd
> \* \[x\] xdebug (usually need a new upstream version)
> 
> 
> 
> NOTE: As of now, I am not yet interested in bug reports until this tracking issue is finished.

It is on the supported list

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [November 24, 2024, 9:38am UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/18 "2024-11-24T09:38:05Z")

</div>

Packages `php8.4-imap` and `php8.4-pspell` are now available on Sury’s repository.

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [November 25, 2024, 1:01am UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/19 "2024-11-25T01:01:09Z")

</div>

Package `php8.4-imagick` is now available on Sury’s repository, so there is no need to apply any workaround, `v-add-web-php 8.4` will work as expected if you followed the previous steps to modify Hestia.

**UPDATE** : seems there is a problem loading imagick library so you should wait before installing php 8.4.

```auto
NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/lib/php/20240924/imagick.so (/usr/lib/php/20240924/imagick.so: undefined symbol: php_strtolower), /usr/lib/php/20240924/imagick.so.so (/usr/lib/php/20240924/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

```

**UPDATE 2** : imagick module has been fixed so no more library errors.

---

<div class="post-metadata">

**Author:** ![aaronkempf](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/aaronkempf/32/384_2.png) [@aaronkempf](https://forum.hestiacp.com/u/aaronkempf)\
**Post date:** [November 25, 2024, 7:46pm UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/20 "2024-11-25T19:46:26Z")

</div>

Has PHP 8.4 been demonstrated to be MUCH FASTER than 8.3?

I just don’t know why people go WILLY-NILLY to apply the latest and greatest ON A PRODUCTION MACHINE.

I mean, for DEV? Sure.  
I do have a new DEV/TEST hestia VPS. I love it. It’s running great.

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [November 25, 2024, 10:25pm UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/21 "2024-11-25T22:25:36Z")

</div>

8.4 has some new “useful” features

It won’t be 2 / 3 times faster has not a lot has been changed …

---

<div class="post-metadata">

**Author:** ![T4B](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/t4b/32/5285_2.png) [@T4B](https://forum.hestiacp.com/u/T4B)\
**Post date:** [December 6, 2024, 5:51am UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/22 "2024-12-06T05:51:52Z")

</div>

hey this steps safe to run on 1.8.12 hestia ? to have php 8.4

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [December 6, 2024, 8:03am UTC](https://forum.hestiacp.com/t/installing-php-8-4/16678/23 "2024-12-06T08:03:43Z")

</div>

Yes …

[Next page](https://forum.hestiacp.com/t/installing-php-8-4/16678.md?page=2)
