عرض مشاركة مفردة
 
  #1  
قديم 04-11-2006, 09:36 PM
uaephone uaephone غير متصل
عضو
 
تاريخ التسجيل: Oct 2006
مشاركة: 7
مستوى تقييم العضوية: 0
uaephone is on a distinguished road
Awt12 أصحاب الخبرة: disable PHP Safemode

هناك طريقة لتشغيل سيكربتات bigdump.php وغيرها الضرورية لزرع قواعد البيانات في حال السيرفر لا يدعم SSH
ولا يتعرف عليها بسبب إعدادات الأمن الخاصه بـ Safemode
- مع أن المستضيف يسمح لك بتفعيل بعض الإعدادات على مساحتك الشخصيه عند الحاجه عن طريق الشرح ادناه

- بصراحة أنا قدرت أشغل السيكربتات على أحد المساحات على نفس السيرفر بعد عدة محاولات ولاكني للاسف
لا أعرف متى نجحت بتفعيلها ولاكن أذكر أنني كنت اعمل بملف .htaccess ورفعت الملف php.ini ولاكني كنت غير مركز وتفاجأت بانها تعمل بعدها حذفت وارجعت كل شي زي ما كان ولاكن إلى الان تقبل تشغيل سيكربتات الزرع

* وجدت شرح في الشركة المستضيفه وحاولت أطبقه على مساحه أخرى جديدة على نفس السيرفر ولاكني لم
أنجح ( أرجوا المساعدة لأني فعلا بحاجة لزرع قواعد البيانات للمنتدى ولاكن لا أعرف كيف التفعيل )

الطريقة في الموقع المستضيف :

How do I disable PHP Safemode on my Linux hosting service


_ Solution _
إقتباس:

You can switch off PHP safe mode within your own hosting account. First, create a plain-text file called .htaccess which is to be stored in your hosting account's public_html directory.

Inside this file, you should have the script: suPHP_ConfigPath /home2/'username'/

Where 'username' represents your hosting account username.
Next create a plaintext file called php.ini (which should be located in your root directory when you login to FTP ie: /home2/'username'/)
In this file you must have the following line:

safe_mode = off

You can refer to the following website for more information on safemode.
http://www.php.net/features.safe-mode



* الملف الذي يتحدثون عنه إسمه : php.ini
المطلوب رفعه للمساحه ولاكن لا أعرف اين بالإضافة لبعض التعديلات في ملف .htaccess
لان الشرح أعلاه باللغه الإنجليزية
- أرجوا ممن يرغب بالمساعدة عدم الخروج خارج الموضوع وأن يكون الشرح هنا لتعم الفائدة
للعلم : لا أملك SSH على المساحه ولا حساب ROOT ، المساحه لموقع شخصي
وسيكربتات زرع القواعد لن تعمل نهائيا بسبب الإعدادت إلا إذا نفذت المطلوب أعلاه

الأن عند طلب سيكربتات الزرع تظهر لي صفحة Eroor 500 مكتوب فيها

إقتباس:


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.


Please contact the server administrator, Webmaster@xxxx.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.37 Server at xxxxxxx.com Port 80