Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] Nextcloud needs php module sysvsem

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
ROGA
Apprentice
Apprentice
User avatar
Posts: 163
Joined: Sat Feb 17, 2018 1:59 pm
Location: Zurich, Switzerland
Contact:
Contact ROGA
Website

[SOLVED] Nextcloud needs php module sysvsem

  • Quote

Post by ROGA » Sat Dec 09, 2023 8:48 am

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
Last edited by ROGA on Sat Dec 09, 2023 10:32 am, edited 1 time in total.
regards,

Roland
Top
Perfect Gentleman
Veteran
Veteran
User avatar
Posts: 1302
Joined: Sun May 18, 2014 10:16 am
Contact:
Contact Perfect Gentleman
Website

  • Quote

Post by Perfect Gentleman » Sat Dec 09, 2023 9:17 am

Code: Select all

EXTRA_ECONF="--enable-sysvsem"

Code: Select all

 ~ $ 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
Top
ROGA
Apprentice
Apprentice
User avatar
Posts: 163
Joined: Sat Feb 17, 2018 1:59 pm
Location: Zurich, Switzerland
Contact:
Contact ROGA
Website

  • Quote

Post by ROGA » Sat Dec 09, 2023 10:04 am

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

Code: Select all

EXTRA_ECONF="--enable-sysvsem"
do I write it to php.ini?

Thx for support.
regards,

Roland
Top
Perfect Gentleman
Veteran
Veteran
User avatar
Posts: 1302
Joined: Sun May 18, 2014 10:16 am
Contact:
Contact Perfect Gentleman
Website

  • Quote

Post by Perfect Gentleman » Sat Dec 09, 2023 10:08 am

Code: Select all

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

Code: Select all

 ~ $ cat /etc/portage/package.env/dev-lang/php 
dev-lang/php dev-lang/php
Top
ROGA
Apprentice
Apprentice
User avatar
Posts: 163
Joined: Sat Feb 17, 2018 1:59 pm
Location: Zurich, Switzerland
Contact:
Contact ROGA
Website

  • Quote

Post by ROGA » Sat Dec 09, 2023 10:32 am

@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
Top
grknight
Retired Dev
Retired Dev
Posts: 2567
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Sat Dec 09, 2023 1:31 pm

Just enable the sysvipc USE and it adds this option. No need for an environment file.
Top
Stevetmq
n00b
n00b
Posts: 11
Joined: Sat Nov 25, 2023 9:13 am

  • Quote

Post by Stevetmq » Tue Dec 26, 2023 1:56 pm

Perfect Gentleman wrote:

Code: Select all

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

Code: Select all

 ~ $ 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?
Top
grknight
Retired Dev
Retired Dev
Posts: 2567
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Tue Dec 26, 2023 2:25 pm

Stevetmq wrote:
Perfect Gentleman wrote:

Code: Select all

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

Code: Select all

 ~ $ 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
Top
Stevetmq
n00b
n00b
Posts: 11
Joined: Sat Nov 25, 2023 9:13 am

  • Quote

Post by Stevetmq » Sat Aug 10, 2024 11:02 am

grknight wrote:
Stevetmq wrote:
Perfect Gentleman wrote:

Code: Select all

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

Code: Select all

 ~ $ 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"
?
Top
Banana
Administrator
Administrator
User avatar
Posts: 2400
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Sat Aug 10, 2024 11:38 am

Stevetmq wrote:
grknight wrote:
Stevetmq wrote: 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
Top
Post Reply

10 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic