Bad response from server: (500 [error,getplugins]) <-- Solved

peshua19

Member
May 25, 2018
897
0
16
Hi

I have a problem with the above error message - it has been working earlier and i didn't make any changes that should prevent it from working. At least to my knowledge.

Ubuntu 9.10
Apache 2.2.12
rTorrent 0.8.6
rutorrent 3.1

I am single user with root access - but knowledge of Linux is limited sad.gif
Found this error in /var/log/apache2/error.log
PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 35 bytes) in /var/www/rutorrent/php/xmlrpc.php on line 182, referer: https://xx.xxx.xx/rutorrent/

Could the error be caused by having too many torrents - have been loading a RSS-feed and was away for a week. rTorrent in itself works.
If so - how do i increase the amount of memomy that PHP uses? I tried editing the /etc/php5/cgi/php.ini changing the line to:

memory_limit = 32M

But this didn't help on the error message

Can anyone help? Please smiley.gif

Edit: I found out that apache has a special php.ini - no wonder the edit that i did in other one didn't have any effect wink.gif
After editing the right php.ini everything works as before smiley.gif Tnx for listening...
 

Attachments

peshua19

Member
May 25, 2018
897
0
16
Yesss - i am really happy about that. 3000 torrents with the CLI is not good smiley.gif
And no we didn't talk via IRC. Must have been another one (with similar problems?)
 

Attachments

saroos1

Member
May 25, 2018
718
0
16
I checked my php.ini and mine was like this.
memory_limit = 128M

Where is the special apache php.ini?
 

simur612

Member
May 25, 2018
879
0
16
Quote
I checked my php.ini and mine was like this.
memory_limit = 128M

Where is the special apache php.ini?​


Most of the time it's /etc/php.ini
 

lisas4567

Member
May 25, 2018
773
0
16
In my case "the special one" was /etc/php5/apache2/php.ini
The "normal" ones are /etc/php5/cgi/php.ini and /etc/php5/cli/php.ini

But i guess it has to with distro, installation etc.
 

simur612

Member
May 25, 2018
879
0
16
debian puts it in different places depending on the package. This is done so you can have a different php.ini for:

php5-cli
libapache2-mod-php5
php5-cgi