منتدى الحافي
كيفية التعديل السليم على ملف الـ config.php بالتفصيل : 0462
منتدى الحافي
كيفية التعديل السليم على ملف الـ config.php بالتفصيل : 0462
منتدى الحافي
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.




 
الرئيسيةمجلة المنتدىأحدث الصورالتسجيلدخول

 

 كيفية التعديل السليم على ملف الـ config.php بالتفصيل :

اذهب الى الأسفل 
كاتب الموضوعرسالة
المدير العام
Admin
Admin
المدير العام


المملكة العربية السعوية
رقم العضوية : 1
رسالة sms كيفية التعديل السليم على ملف الـ config.php بالتفصيل : 1
نقاط : 2488
ذكر
عدد المساهمات : 952
الجدي
تاريخ التسجيل : 30/12/2009

بطاقة الشخصية
الورقة الشخصية:
الورقة الشخصيةكيفية التعديل السليم على ملف الـ config.php بالتفصيل : Empty
كيفية التعديل السليم على ملف الـ config.php بالتفصيل : Emptyal7afe

كيفية التعديل السليم على ملف الـ config.php بالتفصيل : Empty
مُساهمةموضوع: كيفية التعديل السليم على ملف الـ config.php بالتفصيل :   كيفية التعديل السليم على ملف الـ config.php بالتفصيل : Icon_minitimeالأربعاء يوليو 14, 2010 7:28 pm


?????? ????? ????? ???? ??????? :
??? ??? config.php ?? ????? ??????? ?? ??? ??????? vbulletin ?????? ???????? da**base ???? ????? ?????? ????? ???? ?????? :

----------------------------------------------------------------------------
????? : ???? ?????? ?? ?? ?????? ? ??????? ???? ?? ?????? ?????? ??? ????? ??? ??? ???? ??? ???? ????? ?????? ???? ????? ????? ???? Ctrl+A ?? ??? Shift+ctrl ( ????????? ???????? ) ?? ??? ????? ?????? ??? Ctrl+S ??? ??? ???? ????? ?? ????? ?? ???? ??? ????? ?? ?? ??? ?????? ???????? ???? ?? ?????? ?????? ??? ?????? ???? ??? ??? ???? ????? ??? ?? ?????? ???????? ???? ?? ?????? ?????? ??? ?????? ???? ???? ?? ??? ????? ?????????? ?????? ?? ????? ?????????? ( ???????? ??????? ) ???? ??? ??? ???? ??? ???? ?? ??? ????????? ?? ??? ???? ?????? ?? ??? ???????? ????????? ??????? ????? ?? ???? ??? ???????? ????????? ??? ?????? ????? ?? ???????? ??????? ???????? ?? ???? ??????? ??????? ?? ??? ?? ???? ???? ?? ???? ????? ???? ?????? ???? ?????????? ?????? ???? ????? ?????????? ( ???????? ??????? ) ?? ???? ??? ???? ????? ?? ???? ????? ????? ??????? ?? ??? ????? ?????????? ?????? ???? ???? config.php ???? ?????? ???????? ??? ???? ?? ?????? ?????? ??? ?????? .
?????? : ???? ???? ??? ??? config.php ??????? ???? ???? includes ???????? ???? ??? ??????? ??? vb ?? ???? ???????? ??? ??? ??? config.php ???? ?????? ???? ?????? ??? ??? ??? :
1 - ??? ????? ???????? ???? ??????? DA**BASE NAME .
2 - ?????? ?????????? ???? ?????? TECHNICAL EMAIL ADDRESS .
3 - ??? ??????? MASTER DA**BASE SERVER NAME AND PORT ?? ?????? ?? ??? ??????? ?? ?? ????? ?? ?? ????? ??? ????? ????? ??? ?? ?? ??? ??? config.php ??? localhost .
4 - ??? ???????? ?????? ??????? MASTER DA**BASE USERNAME .
5 - ???? ?????? ?????? ??????? MASTER DA**BASE PASSWORD .
???? ???? ?????? ???????? ??? ??? ??? config.php ???? ??? ???? ??? ????? ?????? ?????? :


الكود:
[/font][color=#000000][color=#0000bb][font=Arial]<?php 
[/font][/color][font=Arial][color=#ff8000]/*======================================================================*\ 
|| #################################################################### || 
|| # vBulletin 3.6.3 - Licence Number VBFE280E1C 
|| # ---------------------------------------------------------------- # || 
|| # All PHP code in this file is ©2000-2006 Jelsoft Enterprises Ltd. # || 
|| # This file may not be redistributed in whole or significant part. # || 
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # || 
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # || 
|| #################################################################### || 
\*======================================================================*/ 

/*-------------------------------------------------------*\ 
| ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** | 
+---------------------------------------------------------+ 
| If you get any errors while attempting to connect to    | 
| MySQL, you will need to email your webhost because we  | 
| cannot tell you the correct values for the variables    | 
| in this file.                                          | 
\*-------------------------------------------------------*/ 

    //    ****** DA**BASE TYPE ****** 
    //    This is the type of the da**base server on which your vBulletin da**base will be located. 
    //    Valid options are mysql and mysqli, for slave support add _slave.  Try to use mysqli if you are using PHP 5 and MySQL 4.1+ 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'Da**base'[/color][color=#007700]][[/color][color=#dd0000]'dbtype'[/color][color=#007700]] = [/color][color=#dd0000]'mysql'[/color][/font][color=#007700][font=Arial]; 

    [/font][/color][font=Arial][color=#ff8000]//    ****** DA**BASE NAME ****** 
    //    This is the name of the da**base where your vBulletin will be located. 
    //    This must be created by your webhost. 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'Da**base'[/color][color=#007700]][[/color][color=#dd0000]'dbname'[/color][color=#007700]] = [/color][color=#dd0000]'??? ???? ??? ????? ???????? ???? ???????'[/color][/font][color=#007700][font=Arial]; 

    [/font][/color][font=Arial][color=#ff8000]//    ****** **BLE PREFIX ****** 
    //    Prefix that your vBulletin **bles have in the da**base. 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'Da**base'[/color][color=#007700]][[/color][color=#dd0000]'**bleprefix'[/color][color=#007700]] = [/color][color=#dd0000]''[/color][/font][color=#007700][font=Arial]; 

    [/font][/color][font=Arial][color=#ff8000]//    ****** TECHNICAL EMAIL ADDRESS ****** 
    //    If any da**base errors occur, they will be emailed to the address specified here. 
    //    Leave this blank to not send any emails when there is a da**base error. 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'Da**base'[/color][color=#007700]][[/color][color=#dd0000]'technicalemail'[/color][color=#007700]] = [/color][color=#dd0000]'?????? ?????????? ???? ?????? ??? ????'[/color][/font][color=#007700][font=Arial]; 

    [/font][/color][font=Arial][color=#ff8000]//    ****** FORCE EMPTY SQL MODE ****** 
    // New versions of MySQL (4.1+) have introduced some behaviors that are 
    // incompatible with vBulletin. Setting this value to "true" disables those 
    // behaviors. You only need to modify this value if vBulletin recommends it. 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'Da**base'[/color][color=#007700]][[/color][color=#dd0000]'force_sql_mode'[/color][color=#007700]] = [/color][color=#0000bb]false[/color][/font][color=#007700][font=Arial]; 



    [/font][/color][font=Arial][color=#ff8000]//    ****** MASTER DA**BASE SERVER NAME AND PORT ****** 
    //    This is the hostname or IP address and port of the da**base server. 
    //    If you are unsure of what to put here, leave the default values. 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'MasterServer'[/color][color=#007700]][[/color][color=#dd0000]'servername'[/color][color=#007700]] = [/color][color=#dd0000]'??? ???? ??? ??????? ?? ??? ????? ???? ?????? ??? ?? ???? ????? '[/color][/font][font=Arial][color=#007700]; 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'MasterServer'[/color][color=#007700]][[/color][color=#dd0000]'port'[/color][color=#007700]] = [/color][color=#0000bb]3306[/color][/font][color=#007700][font=Arial]; 

    [/font][/color][font=Arial][color=#ff8000]//    ****** MASTER DA**BASE USERNAME & PASSWORD ****** 
    //    This is the username and password you use to access MySQL. 
    //    These must be ob**ined through your webhost. 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'MasterServer'[/color][color=#007700]][[/color][color=#dd0000]'username'[/color][color=#007700]] = [/color][color=#dd0000]'??? ???? ??? ???????? ????? ?????? ???????'[/color][/font][font=Arial][color=#007700]; 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'MasterServer'[/color][color=#007700]][[/color][color=#dd0000]'password'[/color][color=#007700]] = [/color][color=#dd0000]'??? ???? ???? ?????? ?????? ?????? ???????'[/color][/font][color=#007700][font=Arial]; 

    [/font][/color][font=Arial][color=#ff8000]//    ****** MASTER DA**BASE PERSISTENT CONNECTIONS ****** 
    //    This option allows you to turn persistent connections to MySQL on or off. 
    //    The difference in performance is negligible for all but the largest boards. 
    //    If you are unsure what this should be, leave it off. (0 = off; 1 = on) 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'MasterServer'[/color][color=#007700]][[/color][color=#dd0000]'usepconnect'[/color][color=#007700]] = [/color][color=#0000bb]0[/color][/font][color=#007700][font=Arial]; 



    [/font][/color][font=Arial][color=#ff8000]//    ****** SLAVE DA**BASE CONFIGURATION ****** 
    //    If you have multiple da**base backends, this is the information for your slave 
    //    server. If you are not 100% sure you need to fill in this information, 
    //    do not change any of the values here. 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'SlaveServer'[/color][color=#007700]][[/color][color=#dd0000]'servername'[/color][color=#007700]] = [/color][color=#dd0000]''[/color][/font][font=Arial][color=#007700]; 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'SlaveServer'[/color][color=#007700]][[/color][color=#dd0000]'port'[/color][color=#007700]] = [/color][color=#0000bb]3306[/color][/font][font=Arial][color=#007700]; 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'SlaveServer'[/color][color=#007700]][[/color][color=#dd0000]'username'[/color][color=#007700]] = [/color][color=#dd0000]''[/color][/font][font=Arial][color=#007700]; 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'SlaveServer'[/color][color=#007700]][[/color][color=#dd0000]'password'[/color][color=#007700]] = [/color][color=#dd0000]''[/color][/font][font=Arial][color=#007700]; 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'SlaveServer'[/color][color=#007700]][[/color][color=#dd0000]'usepconnect'[/color][color=#007700]] = [/color][color=#0000bb]0[/color][/font][color=#007700][font=Arial]; 



    [/font][/color][font=Arial][color=#ff8000]//    ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ****** 
    //    This setting allows you to change the name of the folders that the admin and 
    //    moderator control panels reside in. You may wish to do this for security purposes. 
    //    Please note that if you change the name of the directory here, you will still need 
    //    to manually change the name of the directory on the server. 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'Misc'[/color][color=#007700]][[/color][color=#dd0000]'admincpdir'[/color][color=#007700]] = [/color][color=#dd0000]'admincp'[/color][/font][font=Arial][color=#007700]; 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'Misc'[/color][color=#007700]][[/color][color=#dd0000]'modcpdir'[/color][color=#007700]] = [/color][color=#dd0000]'modcp'[/color][/font][color=#007700][font=Arial]; 

    [/font][/color][font=Arial][color=#ff8000]//    Prefix that all vBulletin ******* will have 
    //    Keep this short and only use numbers and letters, i.e. 1-9 and a-Z 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'Misc'[/color][color=#007700]][[/color][color=#dd0000]'******prefix'[/color][color=#007700]] = [/color][color=#dd0000]'bb'[/color][/font][color=#007700][font=Arial]; 

    [/font][/color][font=Arial][color=#ff8000]//    ******** FULL PATH TO FORUMS DIRECTORY ****** 
    //    On a few systems it may be necessary to input the full path to your forums directory 
    //    for vBulletin to function normally. You can ignore this setting unless vBulletin 
    //    tells you to fill this in. Do not include a trailing slash! 
    //    Example Unix: 
    //      $config['Misc']['forumpath'] = '/home/users/public_html/forums'; 
    //    Example Win32: 
    //      $config['Misc']['forumpath'] = 'c:\program files\apache group\apache\htdocs\vb3'; 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'Misc'[/color][color=#007700]][[/color][color=#dd0000]'forumpath'[/color][color=#007700]] = [/color][color=#dd0000]''[/color][/font][color=#007700][font=Arial]; 



    [/font][/color][font=Arial][color=#ff8000]//    ****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ****** 
    //    The users specified here will be allowed to view the admin log in the control panel. 
    //    Users must be specified by *ID number* here. To ob**in a user's ID number, 
    //    view their profile via the control panel. If this is a new ins**llation, leave 
    //    the first user created will have a user ID of 1. Seperate each userid with a comma. 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'SpecialUsers'[/color][color=#007700]][[/color][color=#dd0000]'canviewadminlog'[/color][color=#007700]] = [/color][color=#dd0000]'1'[/color][/font][color=#007700][font=Arial]; 

    [/font][/color][font=Arial][color=#ff8000]//    ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ****** 
    //    The users specified here will be allowed to remove ("prune") entries from the admin 
    //    log. See the above entry for more information on the format. 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'SpecialUsers'[/color][color=#007700]][[/color][color=#dd0000]'canpruneadminlog'[/color][color=#007700]] = [/color][color=#dd0000]'1'[/color][/font][color=#007700][font=Arial]; 

    [/font][/color][font=Arial][color=#ff8000]//    ****** USERS WITH QUERY RUNNING PERMISSIONS ****** 
    //    The users specified here will be allowed to run queries from the control panel. 
    //    See the above entries for more information on the format. 
    //    Please note that the ability to run queries is quite powerful. You may wish 
    //    to remove all user IDs from this list for security reasons. 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'SpecialUsers'[/color][color=#007700]][[/color][color=#dd0000]'canrunqueries'[/color][color=#007700]] = [/color][color=#dd0000]''[/color][/font][color=#007700][font=Arial]; 

    [/font][/color][font=Arial][color=#ff8000]//    ****** UNDELE**BLE / UNALTERABLE USERS ****** 
    //    The users specified here will not be dele**ble or alterable from the control panel by any users. 
    //    To specify more than one user, separate userids with commas. 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'SpecialUsers'[/color][color=#007700]][[/color][color=#dd0000]'undele**bleusers'[/color][color=#007700]] = [/color][color=#dd0000]''[/color][/font][color=#007700][font=Arial]; 

    [/font][/color][font=Arial][color=#ff8000]//    ****** SUPER ADMINISTRATORS ****** 
    //    The users specified below will have permission to access the administrator permissions 
    //    page, which controls the permissions of other administrators 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'SpecialUsers'[/color][color=#007700]][[/color][color=#dd0000]'superadministrators'[/color][color=#007700]] = [/color][color=#dd0000]'1'[/color][/font][color=#007700][font=Arial]; 

    [/font][/color][font=Arial][color=#ff8000]// ****** DA**STORE CACHE CONFIGURATION ***** 
    // Here you can configure different methods for caching da**store items. 
    // vB_Da**store_Filecache  - for using a cache file 
// $config['Da**store']['class'] = 'vB_Da**store_Filecache'; 
    // vB_Da**store_Memcached - for using a Memcache server 
    // It is also necessary to specify the hostname or IP address and the port the server is listening on 
// $config['Da**store']['class'] = 'vB_Da**store_Memcached'; 
// $config['Misc']['memcacheserver'] = '127.0.0.1'; 
// $config['Misc']['memcacheport'] = '11211'; 

// ****** The following options are only needed in special cases ****** 

    //    ****** MySQLI OPTIONS ***** 
    // When using MySQL 4.1+, MySQLi should be used to connect to the da**base. 
    // If you need to set the default connection charset because your da**base 
    // is using a charset other than latin1, you can set the charset here. 
    // If you don't set the charset to be the same as your da**base, you 
    // may receive collation errors.  Ignore this setting unless you 
    // are sure you need to use it. 
// $config['Mysqli']['charset'] = 'utf8'; 

    //    Optionally, PHP can be instructed to set connection parameters by reading from the 
    //    file named in 'ini_file'. Please use a full path to the file. 
    //    Example: 
    //    $config['Mysqli']['ini_file'] = 'c:\program files\MySQL\MySQL Server 4.1\my.ini'; 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'Mysqli'[/color][color=#007700]][[/color][color=#dd0000]'ini_file'[/color][color=#007700]] = [/color][color=#dd0000]''[/color][/font][color=#007700][font=Arial]; 

[/font][/color][font=Arial][color=#ff8000]// Image Processing Options 
    // Images that exceed either dimension below will not be resized by vBulletin. If you need to resize larger images, alter these settings. 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'Misc'[/color][color=#007700]][[/color][color=#dd0000]'maxwidth'[/color][color=#007700]] = [/color][color=#0000bb]2592[/color][/font][font=Arial][color=#007700]; 
[/color][color=#0000bb]$config[/color][color=#007700][[/color][color=#dd0000]'Misc'[/color][color=#007700]][[/color][color=#dd0000]'maxheight'[/color][color=#007700]] = [/color][color=#0000bb]1944[/color][/font][color=#007700][font=Arial]; 

[/font][/color][font=Arial][color=#ff8000]/*======================================================================*\ 
|| #################################################################### 
|| # Downloaded: 11:26, Wed Nov 8th 2006 
|| # CVS: $RCSfile: config.php.new,v $ - $Revision: 1.37 $ 
|| #################################################################### 
\*======================================================================*/[/color] [/font][/color][font=Arial]


???? ????? ???????? ?? ???? ??? ??? config.php ?????? :
????? ???? ??? ??? config.php ???? ??? ????? ??? 25 ??? ???? ????? :
;'config['Da**base']['dbname'] = 'forum$
?? ?????? ???? forum ???? ?? ??? ?????? ??????? '' ???? ????? ???????? ???? ??????? .
?? ???? ??? ????? ??? 34 ??? ???? ????? :
;'config['Da**base']['technicalemail'] = 'dbmaster@example.com$
?? ?????? ??????
dbmaster@example.com ??????? ????? ?? .
?? ???? ??? ????? ??? 47 ??? ???? ????? :
;'config['MasterServer']['servername'] = 'localhost$
?? ?????? ??????? ??? ???? localhost ???? ??????? ????? ?? ?? ???? ????? ???? ?????? ????????? ?????? ?????? ??????? ?? ????? ??? ?? ??? ??? ??????? ???? ?? ?? localhost .
?? ???? ??? ??????? ??? 53 ? 54 ???? ??? ????? ?????? ???? ??? ??? config.php :
;'config['MasterServer']['username'] = 'root$
;'' = ['config['MasterServer']['password$
?? ?????? ???? root ???? ???????? ????? ?????? ??????? ??????? . ??????? ??? ?????? ??????? ''; ?? ????? ???? ???? ??? 54 ?? ???? ?????? ?????? ?????? .
???? ???? ??????? ??? ??? ??? config.php ?? ???? ????? ?????? ?? ???? ??? ftp ?? ?? ??? ????? ???? ???? includes ??????? ???? ???? ?????? ??? vb ?? ?????? ??? ????? ??? ??? config.php ??? ????? ???? ??? ftp ????? ??? ??????? ?? ???? ??? ?? ??? ?? ????? ??? ????? ???? ??????? ?? ????????? ?? ????? ??? ?????? ????? ?? ????? ?????? ???? ??? ?????? ?? ?? ??? ??? ??? config.php ?? config.php ???? config.php.new ?? config ??? ???? php .
??????? ??? ????????

الرجوع الى أعلى الصفحة اذهب الى الأسفل
https://al7afe.ahlamontada.net
 
كيفية التعديل السليم على ملف الـ config.php بالتفصيل :
الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1
 مواضيع مماثلة
-
» كيفية تركيب واجهة لموقع من الألف للياء
» بالتفصيل الممل شرح طريقة التسجيل اليوتيب ورفع الملفات
» كيفية وضع المكياج
» كيفية استعمال محرر بالمنتدىhtml
» شرح كيفية تثبيت الثيم على البلاك بيري

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
منتدى الحافي :: منتديات تطوير المواقع والمنتديات وادارة السيرفرات :: منتدى تطوير المنتديات-
انتقل الى:  

 

y>©phpBB | انشاء منتدى مع أحلى منتدى | منتدى مجاني للدعم و المساعدة | التبليغ عن محتوى مخالف | آخر المواضيع