Question

I get a server fault.

  • Posted August 5, 2013

If I try to add a script on my droplet on ubuntu 12.04 and 12.10.It says the server is not properly configured.Any help is welcome. phpinfo opens.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Thanks for answering Kamal. <br>I deleted that buggy script.Even tried it on another host, didn’t run either :)

You shouldn’t set it to 256M - that’s the limit of each process not the all the processes. Setting it to 48M is enough for almost all of the heavy applications. ~20M is enough for Wordpress. <br> <br><pre>[Mon Aug 05 19:43:19 2013] [error] [client 84.28.182.56] PHP Notice: Undefined offset: 154120 in /var/www/store/passionsoap.php on line 315 </pre> <br> <br>I believe it’s trying to access $spotlights[154120] which is obviously not correct. You probably have a broken loop in your script.

Did bump it up.Did’n’t change a thing.Guess it is just a script thing.I got no problems with wordpress. <br>Thanks :)

<b>“I got 128 M in php.ini”</b> <br> <br>Try bumping it up to 256 M

this is on line 315: <br>$spotlights[$i] = $this->_hash_product($spotlights[$i]); <br> <br>I got 128 M in php.ini <br> <br>I don’t think I get the store to work,awell thank you for your effort :)

Have you checked <b>“line 315”</b> of <b>/var/www/store/passionsoap.php</b>? There might be something wrong w/your script. <br> <br>RE: <b>“PHP Fatal error: Allowed memory size of 134217728 bytes exhausted…”</b>, you need to bump up the memory limit in your <b>php.ini</b> file.

lots of [Mon Aug 05 19:43:19 2013] [error] [client 84.28.182.56] PHP Notice: Undefined offset: 154117 in /var/www/store/passionsoap.php on line 315 <br>[Mon Aug 05 19:43:19 2013] [error] [client 84.28.182.56] PHP Notice: Undefined offset: 154118 in /var/www/store/passionsoap.php on line 315 <br>[Mon Aug 05 19:43:19 2013] [error] [client 84.28.182.56] PHP Notice: Undefined offset: 154119 in /var/www/store/passionsoap.php on line 315 <br>[Mon Aug 05 19:43:19 2013] [error] [client 84.28.182.56] PHP Notice: Undefined offset: 154120 in /var/www/store/passionsoap.php on line 315 <br>[Mon Aug 05 19:43:19 2013] [error] [client 84.28.182.56] PHP Notice: Undefined offset: 154121 in /var/www/store/passionsoap.php on line 315 <br>[Mon Aug 05 19:43:19 2013] [error] [client 84.28.182.56] PHP Notice: Undefined offset: 154122 in /var/www/store/passionsoap.php on line 315 <br>[Mon Aug 05 19:43:19 2013] [error] [client 84.28.182.56] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 36 bytes) in /var/www/store/passionsoap.php on line 684 <br>

What does your error log say?