Skip to main content


Friendica Support reshared this.

in reply to anubis2814

@anubis2814 Let's address the warnings one by one:

PHP Warning: Module X is already loaded


This means that in your whole PHP configuration, you're asking PHP to load the same extension twice with the extension=... statement. I assume that it is because you uncommented several of these lines in the base php.ini file while the php-* packages you installed created their own PHP configuration file in the conf.d/ folder with the associated extension=... statement.

So let's comment back out the following lines in the main php.ini files:

;extension=curl
;extension=gd
;extension=mbstring


GNU Multiple Precision PHP module: Error: GNU Multiple Precision PHP module required but not installed.



It looks like you need one more package install:
sudo apt-get install php-gmp

Friendica Support reshared this.

in reply to Hypolite Petovan

@Hypolite Petovan
Ok fixed that

Executable: /home/anubis2814/mywebsite/bin/console.php
Arguments: array (
0 => 'autoinstall',
)
Options: array (
'v' => 1,
)
Command: autoinstall
Initializing setup...
Complete!

Checking environment...
NOTICE: Not checking .htaccess/URL-Rewrite during CLI installation.

[Error] --------
GNU Multiple Precision PHP module: Error: GNU Multiple Precision PHP module required but not installed.

[Backtrace]:
#0 /home/anubis2814/mywebsite/vendor/asika/simple-console/src/Console.php(108): Friendica\Console\AutomaticInstallation->doExecute()
#1 /home/anubis2814/mywebsite/src/Core/Console.php(163): Asika\SimpleConsole\Console->execute()
#2 /home/anubis2814/mywebsite/vendor/asika/simple-console/src/Console.php(108): Friendica\Core\Console->doExecute()
#3 /home/anubis2814/mywebsite/bin/console.php(41): Asika\SimpleConsole\Console->execute()
#4 {main}
Is this error an issue?

Friendica Support reshared this.

in reply to anubis2814

@anubis2814 Yes, not sure why Composer didn’t pick up the missing GMP extension. You still have to install it.

Friendica Support reshared this.

in reply to Hypolite Petovan

@Hypolite Petovan Tried to install it twice using your method. I also restarted apache. It says its already there.

Friendica Support reshared this.

in reply to Hypolite Petovan

@Hypolite Petovan

GMP still appears to be missing

[PHP Modules]
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib

[Zend Modules]
Zend OPcache

Friendica Support reshared this.