Webspace with no php.ini: memory_limit issue ???

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
seppeltronics
Posts: 4
Joined: 04 Nov 2018, 22:21

Webspace with no php.ini: memory_limit issue ???

Post by seppeltronics »

Hello,

I just set up Mantis on my webserver/webspace, but I have the Failure:

„ memory_limit php.ini directive is at least equal to the post_max_size directive
The current value of the memory_limit directive is -1 bytes. This value needs to be at least equal to the post_max_size directive value of 67108864 bytes. „

The problem is, the managed webserver/webspace has no php.ini. I actually have never workes with PHP, so I do not know how to resolve that issue. I have put a php.ini file into the folder where Mantis is installed, but it did not help.

What can I do about it?

Thank you very much,

Best Regards,

Seppel

P.S. I've got two other warnings, but I would say they may not cause a problem?

register_argc_argv php.ini directive is disabled
This directive should be disabled to increase performance (it only affects PHP in CLI mode).

display_errors php.ini directive is disabled
For security reasons this directive should be disabled on all production and Internet facing servers.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Webspace with no php.ini: memory_limit issue ???

Post by atrol »

seppeltronics wrote: 04 Nov 2018, 22:38
„ memory_limit php.ini directive is at least equal to the post_max_size directive
The current value of the memory_limit directive is -1 bytes. This value needs to be at least equal to the post_max_size directive value of 67108864 bytes. „
Known issue, https://www.mantisbt.org/bugs/view.php?id=21284
I will provide a fix for that.
Please use Search before posting and read the Manual
seppeltronics
Posts: 4
Joined: 04 Nov 2018, 22:21

Re: Webspace with no php.ini: memory_limit issue ???

Post by seppeltronics »

Hello,

I renamed the file from 'php.ini' to .user.ini and the failure was resolved. However I'm not sure if it really solved or just suppressed the failure.

Thank you very much.

Best Regards, Seppel
Post Reply