Johannes Weberhofer, Weberhofer GmbH wrote:
Try to set
"memory_limit = 48M"

"MB" is not recognized; K, M and G can be used.

Johannes


Tommi Järvilehto schrieb:
Using CentOS 4.4 and latest qtp

When I installed roundcube from qtp-menu there was problem that apache did
not start anymore.
error in http_error log:
PHP:  Error parsing /etc/php.ini on line 246
Allowed memory size of 48 bytes exhausted (tried to allocate 43 bytes)

The problem line was:
"memory_limit = 48MB)" or maybe 48M)
notice the additional )

This is quite fresh and plain centos and qmail toaster install.
Hope it was only with my setup so just to let you know.

--

Don't know how yours got like that; here's how I change the memory_limit:
perl -pi -e 's/memory_limit\ =\ .*M/memory_limit\ =\ 48M/' /etc/php.ini

As you can see, I'm writing 48M, not 48MB. Was yours modified prior to this?


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to