[BlueOnyx:24127] Re: PHP7 extensions

Tobias Gablunsky t.gablunsky at cbxnet.de
Fri Jul 24 09:26:14 -05 2020


Hi Robert,

Your problem seems to be that /tmp is mounted non-executable. This is the default in BO and it is good that it is. But you can remount it executable

    mount -o remount,noexec /tmp (logged in via shell as root)

and install your needed packets.


To stay safe be sure to remount /tmp non-executable again afterwards:

    mount -o remount,noexec /tmp

Regards,
Tobias

-----Original Message-----
From: Blueonyx <blueonyx-bounces at mail.blueonyx.it> On Behalf Of Robert Fitzpatrick
Sent: Thursday, July 23, 2020 1:55 PM
To: BlueOnyx General Mailing List <blueonyx at mail.blueonyx.it>; Michael Stauber <mstauber at blueonyx.it>
Subject: [BlueOnyx:24122] Re: PHP7 extensions

Michael Stauber wrote on 7/22/2020 3:22 PM:
> 
> Support for "APCu" is not built in, as that is a PECL package. If you 
> really need that, you can install it this way:
> 
> /home/solarspeed/php-7.4/bin/pecl install APCu
> 
> echo "extension=/home/solarspeed/php-7.4/lib/php/20190902/apcu.so" > 
> /home/solarspeed/php-7.4/etc/php.d/apcu.ini
> 
> That installs APCu via PECL for this version of PHP and then the next 
> command creates /home/solarspeed/php-7.4/etc/php.d/apcu.ini with the 
> required line in it to load the extension.
> 

Thanks for the guidance Michael. osTicket also recommends the Gdlib extension too for all features. Is there any way to install that extension?

ACPu is also not required, only recommended and not sure I need in addition to opcache. But when I try to install ACPu, it fails with this
error:

[root at www5 elastic]# /home/solarspeed/php-7.4/bin/pecl install APCu downloading apcu-5.1.18.tgz ...
Starting to download apcu-5.1.18.tgz (94,668 bytes)
.....................done: 94,668 bytes
39 source files, building
running: phpize
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
shtool at '/tmp/pear/temp/apcu/build/shtool' does not exist or is not executable.
Make sure that the file exists and is executable and then rerun this script.

ERROR: `phpize' failed

--
Robert

_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx





More information about the Blueonyx mailing list