Don't support PHP8?


  • | 172 points

    PHP8 cannot change the extension.


  • administrators
    | 126836 points


  • | 50 points

    Same issue here.

    I'm using php8 nts with nginx, but its not working.
    All plugins seems unchecked/deactivated and nothing happens when I try to activate them.


  • | 3943 points

    @tembesil I had the same issue, it looks like Laragon isn't activating any of the extensions, even though it is adding things like the SSL certificates to the php.ini file. I found a workaround to was to copy the enabled extensions from a PHP7 php.ini file into the PHP8 file, then extensions can be selected / deselected, as required, using Laragon.

    This is the section to paste in. Open the php.ini file from the Laragon menu (PHP > php.ini)
    0_1606430542816_upload-d1d435e5-24f9-41c2-9658-b43c27ae848e

    Search for extension=bz2, highlight from that extension to extension=xsl, delete then paste this in:

    ;extension=bz2
    extension=curl
    ;extension=ffi
    ;extension=ftp
    extension=fileinfo
    extension=gd2
    ;extension=gettext
    ;extension=gmp
    extension=intl
    ;extension=imap
    ;extension=ldap
    extension=mbstring
    ;extension=exif      ; Must be after mbstring as it depends on it
    extension=mysqli
    ;extension=oci8_12c  ; Use with Oracle Database 12c Instant Client
    ;extension=odbc
    extension=openssl
    ;extension=pdo_firebird
    extension=pdo_mysql
    ;extension=pdo_oci
    ;extension=pdo_odbc
    ;extension=pdo_pgsql
    ;extension=pdo_sqlite
    ;extension=pgsql
    ;extension=shmop
    
    ; The MIBS data available in the PHP distribution must be installed.
    ; See http://www.php.net/manual/en/snmp.installation.php
    ;extension=snmp
    
    ;extension=soap
    ;extension=sockets
    ;extension=sodium
    ;extension=sqlite3
    ;extension=tidy
    ;extension=xmlrpc
    extension=xsl
    
    

    The extensions will be available, others can be selected (e.g. I've selected tidy):

    0_1606430658463_upload-b48b9dbd-a9a4-4e80-8221-7ed600e5a1d3


  • | 3943 points

    Update:

    Extension gd2 has been changed to gd, if you copy in the above snippet then remove the 2

    - extension=gd2
    + extension=gd
    

  • | 50 points

    @Pen-y-Fan thank you so much. now its working.


  • | 8 points

    working perfectly now, thank you


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.