Skip to content

Commit

Permalink
Update Default PHP Extensions (#7637)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anyexyz authored Jan 4, 2025
1 parent ca0d24b commit a13047c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/init/migration/migrations/v_1_9.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ var AddTablePHPExtensions = &gormigrate.Migration{
if err := tx.AutoMigrate(&model.PHPExtensions{}); err != nil {
return err
}
if err := tx.Create(&model.PHPExtensions{Name: "Default", Extensions: "bcmath,gd,gettext,intl,pcntl,shmop,soap,sockets,sysvsem,xmlrpc,zip"}).Error; err != nil {
if err := tx.Create(&model.PHPExtensions{Name: "Default", Extensions: "bcmath,ftp,gd,gettext,intl,mysqli,pcntl,pdo_mysql,shmop,soap,sockets,sysvsem,xmlrpc,zip"}).Error; err != nil {
return err
}
if err := tx.Create(&model.PHPExtensions{Name: "WordPress", Extensions: "exif,igbinary,imagick,intl,zip,apcu,memcached,opcache,redis,bc,image,shmop,mysqli,pdo_mysql,gd"}).Error; err != nil {
Expand Down

0 comments on commit a13047c

Please sign in to comment.