PHP Allowed Memory Size Exchausted Fatal Error PHP يسمح الذاكرة حجم Exchausted خطأ قاتل
A functional PHP script returns the following error either on the web page or in Apache error log file when it exchausted and used up the default memory requirement of 8 MB memory allocation: ألف الوظيفية PHP السيناريو عودة الخطأ التالية إما على صفحة ويب أو في ملف الدخول اباتشي خطأ عندما تستخدم exchausted وحتى الذاكرة الافتراضية شرط 8 ميغابايت من الذاكرة تخصيص :
PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate … bytes) in … PHP خطأ فادح : مسموح الذاكرة حجم 8388608 بايت استنفد (حاول تخصيص بايت...) في...
The error normally occurs when PHP tries to process a big database records or when importing or exporting. هذا الخطأ يحدث عادة عندما يحاول PHP عملية كبيرة لقاعدة بيانات السجلات أو عند استيراد او تصدير. To solve the error, there are two resolutions. لحل الخطأ ، هناك قرارين. One is to change and increase the memory limit of the particular PHP script by adding or including an additional line at the top of the script: واحد هو لتغيير وزيادة الذاكرة لحد من PHP وخاصة بإضافة البرنامج النصي أو خط إضافي بما في الجزء العلوي من البرنامج النصي :
ini_set(”memory_limit”,”16M”); ini_set ( "memory_limit" ، و "16m") ؛
You can assign the memory limit to any amount you like by changing the 16M to other number, such as 12M or 24M. يمكنك تخصيص ذاكرة للحد من أي مبلغ تريد من خلال تغيير عدد 16m لالأخرى ، مثل 12m أو 24M. 16M will set the memory limit to 16 megabytes. 16m ستضع حدا لذاكرة 16 ميغابايت. If this doesn’t work and the PHP error still appearing, increase the memory limit until the PHP scripts running perfectly or the limit of your system hardware. وإذا كان هذا لا يعمل وPHP خطأ لا تزال تظهر ، والحد من زيادة الذاكرة حتى PHP تشغيل البرامج النصية تماما أو الحد من أجهزة النظام الخاص بك.
To change the memory allocation limit permanently for all PHP scripts running on the server, modify the PHP.INI configuration file of the server (location depending on your OS and installation method). لتغيير الحد من تخصيص الذاكرة بشكل دائم لجميع مخطوطات تشغيل PHP على الخادم ، تعديل PHP.INI ملفات من الخادم (تبعا للموقع الخاص بك طريقة تركيب نظام التشغيل و). Search for memory_limit after opening the file in an editor. البحث عن memory_limit بعد فتح الملف في المحرر. If the memory_limit doesn’t exist, add the following line. وإذا كان memory_limit لا وجود لها ، إضافة السطر التالي. If it’s there, modify the value of the memory_limit: اذا كان هناك تعديل قيمة من memory_limit :
memory_limit = 12M memory_limit = 12m
The 12M sets the limit to 12 megabytes (12582912 bytes). وقد 12m يحدد الحد الأقصى إلى 12 ميغابايت (12582912 بايت). Change to the value you desirable. لتغيير قيمة لكم من المرغوب فيه.
An alternative way is to modify your PHP scripts that generate the error for more efficiency and better data handling. هي طريقة بديلة لتعديل النصوص الخاصة بك PHP التي تولد هذا الخطأ لأكثر كفاءة وأفضل التعامل مع البيانات.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. هام : هذه هي آلة الصفحة المترجمة التي تقدم "كما هي" دون ضمان. Machine translation may be difficult to understand. الترجمة الآلية قد يكون من الصعب فهم. Please refer to يرجى الرجوع إلى original English article المادة الانكليزية الأصلية whenever possible. كلما كان ذلك ممكنا.
Share and contribute or get technical support and help at وحصة المساهمة أو الحصول على الدعم التقني والمساعدة في My Digital Life Forums بلادي الرقمي الحياة المنتديات .
Related Articles المواد ذات الصلة
- Joomla Direct Access to This Location Is Not Allowed Error Joomla الوصول مباشرة الى هذا الموقع غير مسموح به خطأ
- PHP Parse Error: syntax error, unexpected $end PHP خطأ تحليل : خطأ ، ونهاية غير متوقعة دولار
- Change or Increase vBulletin Maximum Number of Total Allowed Private Messages (PM) تغيير أو زيادة الحد الأقصى لعدد مرات إدارية من مجموع مسموح الرسائل الخاصة (بعد الظهر)
- Fix Vista Unable or Fail to Remember or Save Folder Types/Views Setting Error by Increasing BagMRU Cache Memory Size فيكس فيستا غير قادرة أو لا تذكر أو انقاذ مجلد انواع / آراء تحديد الخطأ عن طريق زيادة حجم ذاكرة التخزين المؤقت BagMRU
- cPanel WHM Failed to Receive Status Information From Apache Error cPanel WHM فشلت في الحصول على المعلومات من مركز اباتشي خطأ
- WordPress MySQL SQL Query Error in WPDB Class ووردبرس] ماي. س. ك مزود استفسار خطأ في الطبقة WPDB
- Email Bounces Back with “unrouteable mail domain” Error البريد الإلكتروني يتوازن مع "unrouteable البريد المجال" خطأ
- gmmktime Error in WordPress and MagpieRSS gmmktime خطأ في ووردبرس] MagpieRSS
- Sandisk Announces 16GB microSDHC And Memory Stick Micro (M2) Mobile Memory Cards سانديسك تعلن 16GB microSDHC والذاكرة عصا صغيرة (M2) المتنقلة بطاقات الذاكرة
- cPanel Perl Module PNGgraph Could Not Be Installed Error cPanel بيرل وحدة PNGgraph لا يمكن تركيبها خطأ

































December 19th, 2007 09:58 ديسمبر 19th ، 2007 09:58
I have same problem with yours. لدي نفس المشكلة مع لك. Can this problem solved by editing any wordpress file? هذه المشكلة يمكن حلها عن طريق التحرير ووردبرس] أي ملف؟ or…. أو....
without configuring php.ini? من دون التشكيل php.ini؟
thanks before بفضل قبل
January 27th, 2008 17:35 كانون الثاني / يناير 27th ، 2008 17:35
I follow your instruction by modifying php.ini and it works. الأول اتباع التعليمات الخاصة بك عن طريق تعديل php.ini وأنه يعمل. Thanks for sharing this information. شكرا لتقاسم هذه المعلومات.
January 31st, 2008 11:20 كانون الثاني / يناير 31st ، 2008 11:20
Exactly what I was looking for to solve my problems! بالضبط ما كنت تبحث عن حل لمشاكل بلدي! Thanks for the simple and clear instruction! شكرا للتعليمات واضحة وبسيطة!
February 16th, 2008 19:50 فبراير 16th ، 2008 19:50
thanks شكرا
March 6th, 2008 10:32 مارس 6th ، 2008 10:32
After trying many solutions in order to get Wordpress to co-operate with Microsoft live writer. بعد محاولة العديد من الحلول من أجل الحصول على وورد إلى التعاون مع مايكروسوفت ويعيش الكاتب. I finally came here and after editing “/wp-admin/includes/image.php”, the problem was solved. أنا أخيرا جاء الى هنا وبعد التحرير "/ wp-admin/includes/image.php" ، تم حل هذه المشكلة.
I just needed to add… أنا فقط بحاجة إلى إضافة...
ini_set(”memory_limit”,”12M”); ini_set ( "memory_limit" ، و "12m") ؛
… right under the <?php tag ... الحق تحت <؟ php علامة
May 1st, 2008 13:34 مايو 1st ، 2008 13:34
where is PHP.INI location??? أين هو موقع PHP.INI؟؟؟
May 22nd, 2008 11:15 مايو 22nd ، 2008 11:15
I have ever got the same problem, but this ini_set(”memory_limit”,”12M”); line could not solved my problems. لقد حصلت من أي وقت مضى نفس المشكلة ، ولكن هذا ini_set ( "memory_limit" ، و "12m") ؛ الخط لا يمكن أن تحل مشاكل بلدي. I just removed all waste plugin. أنا فقط إزالة جميع النفايات البرنامج المساعد. And walah, It worked. وwalah ، وهو يعمل.
November 8th, 2008 08:41 تشرين الثاني / نوفمبر 8th ، 2008 08:41
THANKS VERY MUCH…. شكرا جزيلا....