LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   php5 memory exceeded error for no reason... (https://www.linuxquestions.org/questions/linux-server-73/php5-memory-exceeded-error-for-no-reason-902015/)

griffinwebnet 09-08-2011 03:42 PM

php5 memory exceeded error for no reason...
 
Hi All,

I have been running ubuntu server 10.10, with ajaxplorer and ispconfig3 for about a year and a half with no problems. ssuddenly, ajaxplorer will not allow uploads bigger than 2 mb even though my .htaccess said higher, so i changed in php.ini and now i get this error when i go to ispconfig:

Code:

Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 261900 bytes) in Unknown on line 0
You can see for yourself at http://webnetvn.com:8801

I Have changed the values back to default using a backup of php.ini that i made in case of problems, but now ajaxplorer has even more issues, and i still cant load up my ispconfig control panel. I have searched up and down google, and while others have had this problem, none of their fixes worked for me. i will include both versions of php.ini, and my .htaccess from ajaxplorer's directory (Not sure if you need that but ill include anyways, the more info i can give the easier for all of you to find a resolution :D )

Thanks In Advance,

JL Griffin

****//Too many charactors so ill post different files in replies//****

griffinwebnet 09-08-2011 03:47 PM

downloads because php.ini has too may charactors for this forum:

phpp.ini that i reverted to
http://cgentertainment.com/files/php.1.ini

php.ini that i edited
http://cgentertainment.com/files/php.2.ini


.htaccess
Code:


#<IfModule mod_rewrite.c>
# You must set the correct values here if you want
# to enable webDAV sharing. The values assume that your
# ajaXplorer installation is at http://yourdomain/ajaxplorer
# and that you want the webDAV shares to be accessible via
# http://yourdomain/ajaxplorer/shares/repository_id/
#RewriteEngine on
#RewriteBase /ajaxplorer
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^shares ./dav.php [L]

#Following lines seem to be necessary if PHP is working
#with apache as CGI or FCGI. Just remove the #
#See http://doc.tiki.org/WebDAV#Note_about_Apache_with_PHP_as_fcgi_or_cgi

#RewriteCond %{HTTP:Authorization} ^(.*)
#RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
#</IfModule>

php_value upload_max_filesize 300M

php_value post_max_size 300M

-JL


All times are GMT -5. The time now is 08:07 AM.