PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : خاموش کردن safe_mode برای یک اکانت



1Mizban
November 5th, 2009, 10:58
سلام
چگونه safe_mode رو برای یک اکانت خاموش کنم ؟
safe_mode روی کل سرور روشن است .
از طرق Php.ini بر روی یک اکانت نمیشه
یکی از دوستان گفتند باید از طریق Http.conf انجام بشه ولی چیز ی ندیدم
ممنون میشم راهنمایی کنید

IFACO.Net
November 5th, 2009, 11:23
در سرور تون Suphp فعال هست ؟

1Mizban
November 5th, 2009, 12:16
در سرور تون Suphp فعال هست ؟

سلام
نه
dso هستش

PersianStar
November 6th, 2009, 11:21
htaccess> php_value safe_mode off.
GOOGLE it before asking (http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=Ole&q=turn+off+safe+mode%2Bhow+to&aq=f&oq=&aqi=)

1Mizban
November 10th, 2009, 20:35
سلام
از این طریق انجام دادم نشد

1Mizban
November 11th, 2009, 19:23
سلام
پیدا کردم



1) SSH to your server and login as root.

2) Then find the httpd.conf, normally it’s in /etc/httpd/conf/ or /usr/local/apache/conf/
If it’s not in either of those places try search for it: locate httpd.conf

3) Then find the site you wish to edit.
Ctrl+W and type in the domain name

You should see something like this

<VirtualHost ***.***.***.***>
ServerAlias www.domain.net domain.net
ServerAdmin webmaster@domain.net
DocumentRoot /home/domain/public_html
BytesLog domlogs/domain.net-bytes_log
ServerName www.domain.net
User domain
Group domain
CustomLog domlogs/domain.net combined
ScriptAlias /cgi-bin/ /home/domain/public_html/cgi-bin/
</VirtualHost>

4) Now add this line:

php_admin_flag safe_mode Off

We have also found that the following works as well if the above does not but DO NOT USE BOTH, pick one!

php_admin_value safe_mode 0

to be like this :

<VirtualHost ***.***.***.***>
ServerAlias www.domain.net domain.net
ServerAdmin webmaster@domain.net
DocumentRoot /home/domain/public_html
php_admin_flag safe_mode Off
BytesLog domlogs/domain.net-bytes_log
ServerName www.domain.net
User domain
Group domain
CustomLog domlogs/domain.net combined
ScriptAlias /cgi-bin/ /home/domain/public_html/cgi-bin/
</VirtualHost>

5) Good :) Now save the changes.
Ctrl + X then Y

6) Restart the Apache web server by
/etc/init.d/httpd restart