mobile website script is maxing out memory on server
Posted: Mon Oct 19, 2015 6:21 am
i have followed the step and installed https://code.google.com/p/phpmobilizer/ to temporarily convert site to mobile until i get round to making mobile sites. but as soon as i have done this i am getting 500 internal errors on the whole server space, looking at the website stats memory usage is maxing out. checking the error logs im getting
is the file that is uploaded.
for now i have had to disable the mobile sites. i have spoken to technical support at the server and they said its the .htaccess that is causing the problems[Mon Oct 19 12:13:03.159648 2015] [:error] [pid 18918] (12)Cannot allocate memory: [client xx.xxx.xxx.xxx:55962] couldn't create child process: /opt/suphp/sbin/suphp for /home/dignfr/public_html/website/index.php
Code: Select all
DirectoryIndex phpmobilizer.php
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ phpmobilizer.php?url=$1 [qsa]