Closed ardacebi closed 6 years ago
My server only gives me 512 MB, how can I get it working?
Edit your php.ini (the one used by your webserver) and change the memory_limit
value to 1G
.
@luceos That's what I've done, but even after doing that: I was getting the same error. Saying its 128M. I don't understand why... I cleared caches, nothing.
I'll try again. Wait.
@TurboProgramming did you try restarting the webserver service or the server itself ?
@clarkwinkelmann I'm trying a few solutions now. I'll say it when I'm done.
Currently I'm trying to fix this error:
root@server [/var/www/vhosts/blocklystudio.xyz/community.blocklystudio.xyz]# composer require flagrow/bazaar
Using version ^0.2.4 for flagrow/bazaar
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
/usr/bin/composer: line 8: 31727 Killed "$COMPOSER_BIN" "$@"
root@server [/var/www/vhosts/blocklystudio.xyz/community.blocklystudio.xyz]# reboot
Broadcast message from root@server.blocklystudio.xyz
(/dev/pts/0) at 10:59 ...
The system is going down for reboot NOW!
root@server [/var/www/vhosts/blocklystudio.xyz/community.blocklystudio.xyz]# Connection to 147.135.231.220 closed by remote host.
Connection to 147.135.231.220 closed.
reboot? Wait what.. Just increase the php memory limit, there's plenty of google results out there to help you get that done for your OS?
That was not the problem. I was reinstalling the extension. Then I saw that error (line 8: 31727 killed...)
Reboot solved that. Now I'm trying enabling the extension with the php memory limit on 1G.
The question is my server only has 512 MB ram, how can it run 1G?
OK, it now works.
@luceos @clarkwinkelmann Thank you.
OK, it now works.
@luceos @clarkwinkelmann Thank you.
What did you do to make it work?
Steps to reproduce
Expected behaviour
Bazaar Should load.
Actual behaviour
Getting this error:
Configuration
Operating system: CentOS 6.9
Version of Bazaar: 0.2.4 Version of Flarum: Beta 7 Other extensions: None
This is the debug output:
This is the output of
php flarum info
: