<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>فواصل &#187; Internal</title>
	<atom:link href="http://portal.fwasl.com/tag/internal/feed/" rel="self" type="application/rss+xml" />
	<link>http://portal.fwasl.com</link>
	<description></description>
	<lastBuildDate>Wed, 16 Oct 2019 18:49:35 +0000</lastBuildDate>
	<language>ar</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.40</generator>
	<item>
		<title>حلول اخطاء ومشاكل Internal Server Error 500</title>
		<link>http://portal.fwasl.com/%d8%ad%d9%84%d9%88%d9%84-%d8%a7%d8%ae%d8%b7%d8%a7%d8%a1-%d9%88%d9%85%d8%b4%d8%a7%d9%83%d9%84-internal-server-error-500/</link>
		<comments>http://portal.fwasl.com/%d8%ad%d9%84%d9%88%d9%84-%d8%a7%d8%ae%d8%b7%d8%a7%d8%a1-%d9%88%d9%85%d8%b4%d8%a7%d9%83%d9%84-internal-server-error-500/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 15:25:05 +0000</pubDate>
		<dc:creator><![CDATA[برستيجً فنآنً]]></dc:creator>
				<category><![CDATA[اخطاء و حلول]]></category>
		<category><![CDATA[500]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Internal]]></category>
		<category><![CDATA[internalservererror500]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Product]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[web2]]></category>
		<category><![CDATA[اخطاء]]></category>
		<category><![CDATA[استضافه]]></category>
		<category><![CDATA[ايجي]]></category>
		<category><![CDATA[بحث]]></category>
		<category><![CDATA[برامج]]></category>
		<category><![CDATA[برمجه]]></category>
		<category><![CDATA[بروفايدر]]></category>
		<category><![CDATA[تجاره]]></category>
		<category><![CDATA[تجاره اكترونيه]]></category>
		<category><![CDATA[تصاميم مجانيه]]></category>
		<category><![CDATA[تصميم]]></category>
		<category><![CDATA[تمبلت]]></category>
		<category><![CDATA[تمبلتات]]></category>
		<category><![CDATA[حلول]]></category>
		<category><![CDATA[حلول اخطاء ومشاكل Internal Server Error 500]]></category>
		<category><![CDATA[دعم فني]]></category>
		<category><![CDATA[فواصل]]></category>
		<category><![CDATA[محركات البحث]]></category>
		<category><![CDATA[معهد]]></category>
		<category><![CDATA[نطاقات]]></category>
		<category><![CDATA[هاك]]></category>
		<category><![CDATA[هاكات]]></category>
		<category><![CDATA[ومشاكل]]></category>

		<guid isPermaLink="false">http://www.portal.fwasl.com/?p=11686</guid>
		<description><![CDATA[كثيرا من أصحاب السيرفرات ما يعاني من المشكله المزمنه Internal Server Error 500 هذه المشكله كثيرا ما تواجه اصحاب المواقع والسيرفرات وبالاخص السيرفرات القائمه علي الموديل suphp او التي تعمل في بيئه cgi هذا الخطأ قد يكون ناتج عن مشكلة ما داخل السيرفر او ناتجه من عن مشكله ما داخل احد اليوزرات الموجوده بالسيرفر بكل ...]]></description>
				<content:encoded><![CDATA[<p style="text-align: center"><a href="http://www.portal.fwasl.com/wp-content/uploads/bsmlla.png"><img class="alignnone size-full wp-image-11593" src="http://www.portal.fwasl.com/wp-content/uploads/bsmlla.png" alt="" width="400" height="42" /></a></p>
<p style="text-align: center"><strong>كثيرا من أصحاب السيرفرات ما يعاني من المشكله المزمنه </strong><br />
<strong> Internal Server Error 500 </strong><br />
<strong> هذه المشكله كثيرا ما تواجه اصحاب المواقع والسيرفرات وبالاخص </strong><br />
<strong> السيرفرات القائمه علي الموديل suphp او التي تعمل في بيئه cgi</strong><br />
<strong> هذا الخطأ قد يكون ناتج عن مشكلة ما داخل السيرفر او ناتجه من </strong><br />
<strong> عن مشكله ما داخل احد اليوزرات الموجوده بالسيرفر </strong><br />
<strong> بكل تأكيد يمكن حل المشكله بمجرد الرجوع الي ملف اللوج الخاص بالـ Apache </strong><br />
<strong> نقوم بتنفيذ الامر التالي لرؤيه الايرور لوج الخاص بالاباتشي والموجوده به سبب المشكله</strong></p>
<blockquote>
<p style="text-align: center"><code><code>tail -f /usr/local/apache/logs/error_log  </code></code></p>
</blockquote>
<p style="text-align: center">بعض الاسباب التي من الممكن ان تظهر لك والتي تسبب المشكله</p>
<p>1- <span style="color: blue">أخطاء التصريحات</span></p>
<blockquote>
<p style="text-align: center"><code><code>SoftException in Application.cpp:357: UID of script "/home/user/public_html/file.php" is smaller than min_uid  </code></code></p>
<p style="text-align: center"><code><code>SoftException in Application.cpp:422: Mismatch between target UID (511) and UID (510) of file "/home/user/public_html/file.php"  </code></code></p>
<p style="text-align: center"><code><code>SoftException in Application.cpp:264: File "/home/user/public_html/file.php" is writeable by others  </code></code></p>
</blockquote>
<p style="text-align: center"><strong>جميع هذه الاخطاء تأتي او تنتج عن مشكله في التصريحات او الصلاحيات الخاصه بالملفات </strong><br />
<strong> الموجود داخل الموقع او اليوزر وتنتج عن اما ان يكون الملف ممتلك لمستخدم اخر او له صلاحيات</strong><br />
<strong> لا تتيح للمستخدم بتشغيله وغير مسموح له بتنفيذه كما هو موجود بملف اعداد suphp.conf</strong><br />
<strong> حل هذه المشكله كالتالي </strong><br />
<strong> نقوم بتنفيذ الاوامر التاليه</strong><br />
<strong> مع مراعاة تغيير USER بـ اليوزر الخاص بالموقع الموجود به المشكله</strong></p>
<blockquote>
<p style="text-align: center"><code><code>find /home/USER/public_html/* -type d -exec chmod 755 {} \;</code></code></p>
<p>find /home/USER/public_html/* -type f -exec chmod 644 {} \;</p></blockquote>
<p style="text-align: center"><strong>في حال لم يتم اصلاح المشكله بالاوامر السابقه يمكنك تنفيذ الاوامر التاليه في الشل</strong></p>
<blockquote>
<p style="text-align: center"><code><code>cd /root<br />
wget http://egprovider.com/Bash/fixpermissions.sh<br />
./fixpermissions.sh USER<br />
</code></code></p>
</blockquote>
<p style="text-align: center"><strong>مع مراعاة تغيير USER بـ اليوزر الخاص بالموقع الموجود به المشكله</strong></p>
<p><strong> 2- <span style="color: blue">أخطاء ملف .htaccess</span></strong></p>
<p style="text-align: center"><strong>أذا كان السيرفر يعمل في بيئه CGI/suPHP فأنه لن يسمح بتفعيل او عدم تفعيل القيم والمتغيرات </strong><br />
<strong> الخاصه بأعدادات php في ملف .htaccess </strong><br />
<strong> لذا ستحتاج الي htscanner لكي تسمح للأباتشي بتحليل تلك المتغيرات وتغيرها مع ما يتوافق</strong><br />
<strong> مع اعدادات php.ini داخل مسار المستخدم نفسه </strong><br />
<strong> او انك تقوم بألغاء تلك المتغيرات نهائيا وحذفها من ملف .htaccess</strong></p>
<p><strong> بعض اخطاء ملف .htaccess</strong></p>
<blockquote>
<p style="text-align: center"><code> <code> /home/user/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration</code></code></p>
</blockquote>
<p style="text-align: center"><code><code><strong> 3- <span style="color: blue">أخطاء الصلاحيات </span></strong></code></code></p>
<p><strong> أفتراضيا ملفات php و المجلدات الرئيسيه لليوزر لا يمكن ان تملك المجموعه او مستخدم اخر </strong><br />
<strong> تصريح الكتابه ولا يمكن ان تكون مملوكه ليوزر اخر علي نفس النظام غير اليوزر الذي يملك </strong><br />
<strong> المجلد الرئيسي الموجود به الملفات او المجلدات</strong><br />
<strong> بالاضافه الي ان suphp لا يسمح بتشغيل الملفات المطلوبه من خلال المتصفح من المواقع التي ليست داخل المجلد الرئيسي لليوزر</strong><br />
<strong> لذا لابد من التاكد من ان الاسكربتات او الملفات غير مملوكه لجروب او ليوزر اخر غير الاساسي</strong><br />
<strong> ويمكنك ان تعرف الخطأ من متابعه اللوج الخاص بـ suphp</strong></p>
<blockquote>
<p style="text-align: center"><code><code>/usr/local/apache/logs/suexec_log  </code></code></p>
</blockquote>
<p style="text-align: center"><strong>لذا ننصح بتعديل تلك الاعدادات داخل ملف suphp.conf</strong></p>
<blockquote>
<p style="text-align: center"><code><code>pico /home/cpeasyapache/src/suphp.conf</code></code></p>
</blockquote>
<p style="text-align: center"><strong>ثم تقوم بتعديل تلك القيم بالشكل التالي</strong></p>
<blockquote>
<p style="text-align: center"><code><code>; Security options<br />
allow_file_group_writeable=true<br />
allow_file_others_writeable=false<br />
allow_directory_group_writeable=true<br />
allow_directory_others_writeable=false</code></code></p>
</blockquote>
<p style="text-align: center"><strong>اتمني ان اكون قد وفقت في الشرح</strong><br />
<strong> وتمنياتي بالتوفيق للجميع</strong></p>
<p style="text-align: center"><img class="alignnone size-full wp-image-11594" src="http://www.portal.fwasl.com/wp-content/uploads/el7md.png" alt="" width="400" height="42" /></p>
]]></content:encoded>
			<wfw:commentRss>http://portal.fwasl.com/%d8%ad%d9%84%d9%88%d9%84-%d8%a7%d8%ae%d8%b7%d8%a7%d8%a1-%d9%88%d9%85%d8%b4%d8%a7%d9%83%d9%84-internal-server-error-500/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
