Skip to content

Commit

Permalink
Update ss-install-php-config.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jessuppi authored Mar 5, 2025
1 parent 32014e7 commit 9d139e4
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions bash/ss-install-php-config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@

## H. Configure Opcache.ini Boilerplate
## I. Install PHP Config Files

## X. Install OPcache Config Files

## J. Install Adminer.php
## K. Reset Permissions (PHP Config)
## L. Restart Modules (PHP-FPM)
Expand Down Expand Up @@ -261,10 +264,6 @@ if [[ "${SYSTEM_UBUNTU_VERSION}" == "24.04" ]]; then
ss_cp "${TMP_PHP_INI}" "${PATH_PHP_INI_FPM_83}"
ss_cp "${TMP_PHP_INI}" "${PATH_PHP_INI_CLI_83}"
ss_mv "${TMP_WWW_CONF}" "${PATH_WWW_CONF_83}"

## php 8.3 only ##
ss_mv "${TMP_OPCACHE_INI}" /etc/php/8.3/mods-available/opcache.ini

fi

## ubuntu 22.04 (php 8.1) ##
Expand All @@ -291,6 +290,15 @@ if [[ "${SYSTEM_UBUNTU_VERSION}" == "18.04" ]]; then
ss_mv "${TMP_WWW_CONF}" "${PATH_WWW_CONF_72}"
fi

####################################################################################################
#### X. SS-Install-PHP-Config: Install OPcache Config Files ########################################
####################################################################################################

## ubuntu 24.04 (php 8.3) ##
if [[ "${SYSTEM_UBUNTU_VERSION}" == "24.04" ]]; then
ss_mv "${TMP_OPCACHE_INI}" /etc/php/8.3/mods-available/opcache.ini
fi

####################################################################################################
#### J. SS-Install-PHP-Config: Install Adminer.php #################################################
####################################################################################################
Expand Down Expand Up @@ -360,6 +368,6 @@ chmod 0700 /var/www/crons/custom/*cron* ## 0700 means only root/sudo can execute
#### SlickStack: External References Used To Improve This Script (Thanks, Interwebz) ###############
####################################################################################################

## Ref:
## Ref: ChatGPT

## SS_EOF

0 comments on commit 9d139e4

Please sign in to comment.