Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Nextcloud needs php module sysvsem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ROGA
Apprentice
Apprentice


Joined: 17 Feb 2018
Posts: 159
Location: Zurich, Switzerland

PostPosted: Sat Dec 09, 2023 8:48 am    Post subject: [SOLVED] Nextcloud needs php module sysvsem Reply with quote

Hi,

after updating my nextcloud-server, for better performance NC will need the php module sysvsem. How do I enable this module?

Thanks for support
_________________
regards,

Roland


Last edited by ROGA on Sat Dec 09, 2023 10:32 am; edited 1 time in total
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1255

PostPosted: Sat Dec 09, 2023 9:17 am    Post subject: Reply with quote

Code:
EXTRA_ECONF="--enable-sysvsem"

Code:
 ~ $ php -i | grep sysvsem
Configure Command =>  './configure'  '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--datarootdir=/usr/share' '--disable-static' '--docdir=/usr/share/doc/php-8.3.0-r1' '--htmldir=/usr/share/doc/php-8.3.0-r1/html' '--prefix=/usr/lib64/php8.3' '--mandir=/usr/lib64/php8.3/man' '--infodir=/usr/lib64/php8.3/info' '--libdir=/usr/lib64/php8.3/lib' '--with-libdir=lib64' '--localstatedir=/var' '--without-pear' '--with-external-libcrypt' '--enable-zts' '--without-fpm-apparmor' '--without-password-argon2' '--without-avif' '--disable-bcmath' '--with-bz2=/usr' '--disable-calendar' '--without-capstone' '--enable-ctype' '--with-curl' '--enable-dom' '--without-enchant' '--disable-exif' '--without-ffi' '--enable-fileinfo' '--enable-filter' '--disable-ftp' '--with-gettext=/usr' '--with-gmp=/usr' '--without-mhash' '--with-iconv' '--enable-intl' '--disable-ipv6' '--without-kerberos' '--with-libxml' '--enable-mbstring' '--with-openssl' '--disable-pcntl' '--enable-phar' '--enable-pdo' '--enable-opcache' '--without-pgsql' '--enable-posix' '--without-fpm-selinux' '--without-pspell' '--enable-simplexml' '--disable-shmop' '--without-snmp' '--disable-soap' '--enable-sockets' '--without-sodium' '--without-sqlite3' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '--without-tidy' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--without-xsl' '--with-zip' '--with-zlib=/usr' '--disable-debug' '--without-valgrind' '--enable-dba' '--without-cdb' '--without-db4' '--enable-flatfile' '--without-gdbm' '--disable-inifile' '--without-qdbm' '--without-tcadb' '--without-lmdb' '--with-freetype' '--disable-gd-jis-conv' '--with-jpeg' '--without-xpm' '--without-webp' '--enable-gd' '--without-mysqli' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--without-unixODBC' '--without-iodbc' '--without-pdo-odbc' '--without-oci8' '--without-pdo-dblib' '--with-pdo-mysql=mysqlnd' '--without-pdo-pgsql' '--without-pdo-sqlite' '--without-pdo-firebird' '--without-pdo-oci' '--with-readline=/usr' '--without-libedit' '--without-mm' '--with-pic' '--with-external-pcre' '--with-pcre-jit' '--cache-file=/tmp/portage/dev-lang/php-8.3.0-r1/temp/config.cache' '--with-config-file-path=/etc/php/cli-php8.3' '--with-config-file-scan-dir=/etc/php/cli-php8.3/ext-active' '--disable-embed' '--enable-cli' '--disable-cgi' '--disable-fpm' '--without-apxs2' '--disable-phpdbg' '--disable-gcc-global-regs' '--enable-sysvsem' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CPPFLAGS='
sysvsem
sysvsem support => enabled
Back to top
View user's profile Send private message
ROGA
Apprentice
Apprentice


Joined: 17 Feb 2018
Posts: 159
Location: Zurich, Switzerland

PostPosted: Sat Dec 09, 2023 10:04 am    Post subject: Reply with quote

@Perfect Gentelman: Could you please explain me, how I have to do exactly with

Code:
EXTRA_ECONF="--enable-sysvsem"


do I write it to php.ini?

Thx for support.
_________________
regards,

Roland
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1255

PostPosted: Sat Dec 09, 2023 10:08 am    Post subject: Reply with quote

Code:
 ~ $ cat /etc/portage/env/dev-lang/php
EXTRA_ECONF="--enable-sysvsem"

Code:
 ~ $ cat /etc/portage/package.env/dev-lang/php
dev-lang/php dev-lang/php
Back to top
View user's profile Send private message
ROGA
Apprentice
Apprentice


Joined: 17 Feb 2018
Posts: 159
Location: Zurich, Switzerland

PostPosted: Sat Dec 09, 2023 10:32 am    Post subject: Reply with quote

@Perfect Gentelman: I never heard from this kind of configuration, it's the first time I do this so. But after re-compiling php, all worked fine.

Thank you for supporting me.
_________________
regards,

Roland
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1909

PostPosted: Sat Dec 09, 2023 1:31 pm    Post subject: Reply with quote

Just enable the sysvipc USE and it adds this option. No need for an environment file.
Back to top
View user's profile Send private message
Stevetmq
n00b
n00b


Joined: 25 Nov 2023
Posts: 11

PostPosted: Tue Dec 26, 2023 1:56 pm    Post subject: Reply with quote

Perfect Gentleman wrote:
Code:
 ~ $ cat /etc/portage/env/dev-lang/php
EXTRA_ECONF="--enable-sysvsem"

Code:
 ~ $ cat /etc/portage/package.env/dev-lang/php
dev-lang/php dev-lang/php


nether "/etc/portage/env/dev-lang/php" nor "/etc/portage/package.env/dev-lang/php"
exists on my system. Do I create one or both?
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1909

PostPosted: Tue Dec 26, 2023 2:25 pm    Post subject: Reply with quote

Stevetmq wrote:
Perfect Gentleman wrote:
Code:
 ~ $ cat /etc/portage/env/dev-lang/php
EXTRA_ECONF="--enable-sysvsem"

Code:
 ~ $ cat /etc/portage/package.env/dev-lang/php
dev-lang/php dev-lang/php


nether "/etc/portage/env/dev-lang/php" nor "/etc/portage/package.env/dev-lang/php"
exists on my system. Do I create one or both?

Neither. Just add dev-lang/php sysvipc to package.use
Back to top
View user's profile Send private message
Stevetmq
n00b
n00b


Joined: 25 Nov 2023
Posts: 11

PostPosted: Sat Aug 10, 2024 11:02 am    Post subject: Reply with quote

grknight wrote:
Stevetmq wrote:
Perfect Gentleman wrote:
Code:
 ~ $ cat /etc/portage/env/dev-lang/php
EXTRA_ECONF="--enable-sysvsem"

Code:
 ~ $ cat /etc/portage/package.env/dev-lang/php
dev-lang/php dev-lang/php


nether "/etc/portage/env/dev-lang/php" nor "/etc/portage/package.env/dev-lang/php"
exists on my system. Do I create one or both?

Neither. Just add dev-lang/php sysvipc to package.use


Thank you but the instructions are not clear. I guess I should make a file named "php sysvipc" but where and what should the file have in it?

There is a folder "/etc/portage/package.use/" Do I just put the empty file there "/etc/portage/package/package.use/php sysvipc"
?
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1720
Location: Germany

PostPosted: Sat Aug 10, 2024 11:38 am    Post subject: Reply with quote

Stevetmq wrote:
grknight wrote:
Stevetmq wrote:
Perfect Gentleman wrote:
Code:
 ~ $ cat /etc/portage/env/dev-lang/php
EXTRA_ECONF="--enable-sysvsem"

Code:
 ~ $ cat /etc/portage/package.env/dev-lang/php
dev-lang/php dev-lang/php


nether "/etc/portage/env/dev-lang/php" nor "/etc/portage/package.env/dev-lang/php"
exists on my system. Do I create one or both?

Neither. Just add dev-lang/php sysvipc to package.use


Thank you but the instructions are not clear. I guess I should make a file named "php sysvipc" but where and what should the file have in it?

There is a folder "/etc/portage/package.use/" Do I just put the empty file there "/etc/portage/package/package.use/php sysvipc"
?


No.
You create a single file properly named. Like php to show it is used for the php page.
In this file you put dev-lang/php sysvipc. Save and check with emerge -pv dev-lang/php if the new useflag is set.

More infor about package use: https://wiki.gentoo.org/wiki//etc/portage/package.use
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum