PDA

View Full Version : سوال: راه اندازی phpmyadmin



am_sanatiz
سه شنبه 23 تیر 1388, 12:43 عصر
سلام
من apatche, php, mysql را نصب کردم
البته زیاد در این زمینه ها اطلاعاتی ندارم. اما تا آنجا که می دانم یک پوشه ای در این مسیر قرارگرفته که باید فایل ها آنجا قرار گیرند

C:\Program Files\Apache Software Foundation\Apache2.2\htdocs
من در مرورگر عبارت http://localhost/ را که می نویسم کار می کند و با ایجاد فایل هایی از نوع php هم آنها اجرا می شوند. یعنی باید apatche,php فعال باشند و مشکلی نداشته باشند. از mysql هم می توانم استفاده کنم و mysql-gui-tools هم نصب کردم.
اما مسئله این است که می خواهم phpmyadmin نصب کنم. برای این کار فایل آنرا دانلود کردم و در این آدرس قرار دادمش

C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\phpMyAdmin
با نوشتن http://localhost/phpmyadmin یک صفحه باز می شود و بصورت درختی فایل های پوشه را نمایش میدهد و با انتخاب بعضی از آنها اشکال
cannot load mysql extension,
please check PHP Configuration
داده می شود.
این توضیحات هم مشاهده شد اما متوجه نشدم که چه تنظیماتی باید صورت پذیرد.

Quick Install
1. Choose an appropriate distribution kit from the phpmyadmin.net Downloads page. Some kits contain only the English messages, others contain all languages in UTF-8 format (this should be fine in most situations), others contain all languages and all character sets. We'll assume you chose a kit whose name looks like phpMyAdmin-x.x.x-all-languages.tar.gz.
2. Untar or unzip the distribution (be sure to unzip the subdirectories): tar -xzvf phpMyAdmin_x.x.x-all-languages.tar.gz in your webserver's document root. If you don't have direct access to your document root, put the files in a directory on your local machine, and, after step 4, transfer the directory on your web server using, for example, ftp.
3. Ensure that all the scripts have the appropriate owner (if PHP is running in safe mode, having some scripts with an owner different from the owner of other scripts will be a problem). See FAQ 4.2 and FAQ 1.26 for suggestions.
4. Now you must configure your installation. There are two methods that can be used. Traditionally, users have hand-edited a copy of config.inc.php, but now a wizard-style setup script is provided for those who prefer a graphical installation. Creating a config.inc.php is still a quick way to get started and needed for some advanced features.
o To manually create the file, simply use your text editor to create the file config.inc.php (you can copy config.sample.inc.php to get minimal configuration file) in the main (top-level) phpMyAdmin directory (the one that contains index.php). phpMyAdmin first loads libraries/config.default.php and then overrides those values with anything found in config.inc.php. If the default value is okay for a particular setting, there is no need to include it in config.inc.php. You'll need a few directives to get going, a simple configuration may look like this:
o <?php
o $cfg['blowfish_secret'] = 'ba17c1ec07d65003'; // use here a value of your choice
o
o $i=0;
o $i++;
o $cfg['Servers'][$i]['auth_type'] = 'cookie';
o ?>
Or, if you prefer to not be prompted every time you log in:
<?php

$i=0;
$i++;
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'cbb74bc'; // use here your password
?>

در این مورد مرا راهنمایی کنید که چگونه phpmyadmin را راه اندازی کنم و چه تنظیماتی انجام دهم و از آن استفاده کنم.

mrrajabi
سه شنبه 23 تیر 1388, 12:47 عصر
فکر می کنم شما باید برین داخل فایل php.ini
در قسمت extension ها php_mysql.dll را فعال کنید.

saeid99
سه شنبه 23 تیر 1388, 21:11 عصر
به نظرم wamp server رو دانلود کن و رو سیستمت نصب کن و بی دردسر php بنویس..