PDA

View Full Version : PHP "memory_limit"


elenh
07-04-2009, 07:11 PM
Hey ,
I try to install the openx to my server but in the installation i get this message:
Detected problem:

* The PHP "memory_limit" value is set to less than the required minimum of 128MB, but because the built in PHP function "ini_set" has been disabled, the memory limit cannot be automatically increased.


What can i do to solve the problem?i dont know where is the ini_set and how do i enable it..
My server is dedicated and i using plesk panel..

Any ideas?

snakes1100
07-04-2009, 07:32 PM
You should be posting at the openx forum, not here.

Check my signature link #3, post #2 in that thread.

elenh
07-04-2009, 07:48 PM
Hello.
I have follow the link Adjust PhP Variables for Memory Allocated Errors ..
the php.ini file looks like dont working and the .htaccess file makes internall server error..
Any else way?
Should i restart the server?
Thanks allot.

snakes1100
07-05-2009, 01:59 AM
Im sorry, your server is not setup to allow the use of either, as your server is a dedicated server, you can simply edit the master php.ini file and then restart apache.

1. ssh into server as root, if direct root access is disabled or blocked thru ssh, log in as the admin user, then "su root"
2. nano /etc/php.ini (with plesk it may use another, check your php info in the admincp, sometimes it can be /usr/local/lib/php.ini. If not do "php -i | more" from the command line, you'll see a line such as this "Loaded Configuration File => /etc/php5/cli/php.ini").
3. change this value "memory_limit = 64M" to this "memory_limit = 128M" and restart your web server.

Marco van Herwaarden
07-06-2009, 09:00 AM
As already mentioned, if you have problems with another product then vB, please post on the support site of that product.