<p>With openSUSE having switched to php8.5, there is a need to provide a copy of php8.4.20. The files for these have been duplicated to /opt/php84 so that needs copying to the server. Then since the default location of the php.ini file used is hard coded into the executables, switching to the matching php.ini needs a litle help, and environment variables can be set to override the default.</p>

<pre>
Environment=PHPRC=/etc/webstack/php84
Environment=PHP_INI_SCAN_DIR=/etc/webstack/php84/conf.d</pre>

<p>In order to run &#39;php84&#39; we can select the correct ini files. The base php.ini and the extensions ini files both need overriding.</p>

<pre>
PHP_INI_SCAN_DIR = /etc/webstack/php84/conf.d PHPRC=/etc/webstack/php84 /opt/php84/bin/php --ini</pre>

<p>Pull latest configuration from desktop - <span style="font-family:monospace"><span style="background-color:#ffffff; color:#000000">git pull</span></span><br />
link the new php84-fpm.service - <span style="font-family:monospace"><span style="background-color:#ffffff; color:#000000">sudo ln -s /etc/webstack/systemd/php84-fpm.service /etc/systemd/system/php84-fpm.service</span></span><br />
load new php84-fpm.service into systemd - <span style="font-family:monospace"><span style="background-color:#ffffff; color:#000000">sudo systemctl deamon-refresh</span></span><br />
lAnd if everything else is in place it can be started by - <span style="font-family:monospace"><span style="background-color:#ffffff; color:#000000">sudo systemctl start php84-fpm</span></span></p>
Page History
Date/CommentUserIPVersion
07 May 2026 (07:38 UTC)
—
Lester Caine192.168.1.2547
Current • Source
Lester Caine192.168.1.2546
View • Compare • Difference • Source
Lester Caine192.168.1.2545
View • Compare • Difference • Source
Lester Caine192.168.1.2544
View • Compare • Difference • Source
Lester Caine192.168.1.2543
View • Compare • Difference • Source
Lester Caine192.168.1.2542
View • Compare • Difference • Source
Lester Caine192.168.1.2541
View • Compare • Difference • Source