+ Başlığa Yanıt Yaz
1 sonuçtan 1 - 1 arası sonuçlar
-
11.02.2009 23:30 #1
- Katılım Tarihi
- 2006
- Yer
- Ankara
- Mesaj
- 303
PHP+Apache+Mysql+Myadmin Kurlumunda son adım ve şüpheye düştüm ?
Sayın forum katılımcıları,
Pcnet forumda aldığım bir kılavuz ile adım-adım kurulum işlemlerini gerçekleştirdim. Son adımda şüpheye düştüm.
Bu adımda forum katılımcılarının yardımını rica ediyorum.
Kılavuz metin alıntısı:
phpmyadmin 2.6.3 ün dosyalarını bu klasöre atuyoruz. Ardından config.inc.php dosyasını
çalıştırıp :
$cfg[‘servers’][$i][‘password’] diye 3 ayrı yer var. Bunların karşısına Mysql şifremizi yazıyoruz.
Bilgisayarımızı yeniden başlatıyoruz ve artık her şey hazır
config.inc.php dosyası:
<?php
/**
* Front controller for config view / download and clear
*
* @package phpMyAdmin-setup
* @author Piotr Przybylski <piotrprz@gmail.com>
* @license http://www.gnu.org/licenses/gpl.html GNU GPL 2.0
* @version $Id: config.php 11582 2008-09-10 16:53:28Z lem9 $
*/
require './lib/common.inc.php';
require_once './setup/lib/Form.class.php';
require_once './setup/lib/FormDisplay.class.php';
/**
* Returns config file contents depending on GET type value:
* o session - uses ConfigFile::getConfigFile()
* o post - uses POST textconfig value
*
* @return string
*/
function get_config() {
$type = PMA_ifSetOr($_GET['type'], 'session');
if ($type == 'session') {
$config = ConfigFile::getInstance()->getConfigFile();
} else {
$config = PMA_ifSetOr($_POST['textconfig'], '');
// make sure our eol is \n
$config = str_replace("\r\n", "\n", $config);
if ($_SESSION['eol'] == 'win') {
$config = str_replace("\n", "\r\n", $config);
}
}
return $config;
}
$form_display = new FormDisplay();
$form_display->registerForm('_config.php');
$form_display->save('_config.php');
$config_file_path = ConfigFile::getInstance()->getFilePath();
if (isset($_POST['eol'])) {
$_SESSION['eol'] = ($_POST['eol'] == 'unix') ? 'unix' : 'win';
}
if (PMA_ifSetOr($_POST['submit_clear'], '')) {
//
// Clear current config and return to main page
//
$_SESSION['ConfigFile'] = array();
// drop post data
header('HTTP/1.1 303 See Other');
header('Location: index.php');
exit;
} elseif (PMA_ifSetOr($_POST['submit_download'], '')) {
//
// Output generated config file
//
header('Content-Type: text/plain');
header('Content-Disposition: attachment; filename="config.inc.php"');
echo get_config();
exit;
} elseif (PMA_ifSetOr($_POST['submit_save'], '')) {
//
// Save generated config file on the server
//
file_put_contents($config_file_path, get_config());
header('HTTP/1.1 303 See Other');
header('Location: index.php');
exit;
} elseif (PMA_ifSetOr($_POST['submit_load'], '')) {
//
// Load config file from the server
//
$cfg = array();
require_once $config_file_path;
$_SESSION['ConfigFile'] = $cfg;
header('HTTP/1.1 303 See Other');
header('Location: index.php');
exit;
} elseif (PMA_ifSetOr($_POST['submit_delete'], '')) {
//
// Delete config file on the server
//
@unlink($config_file_path);
header('HTTP/1.1 303 See Other');
header('Location: index.php');
exit;
} else {
//
// Show generated config file in a <textarea>
//
header('HTTP/1.1 303 See Other');
header('Location: index.php?page=config');
exit;
}
?>
- Şifreleri nereye yazmam gerekiyor ?
- Nasıl yazmam gerekiyor ?
Bilgi için şimdiden teşekkür ederim.
Benzer Başlıklar
-
apache+mysql+php kurulumu
Raider_in_Jihad tarafından Web ve Grafik Tasarımı forumundaYanıt: 2Son Mesaj: 12.02.2005, 10:27 -
dreamweaver ve php, mysql, apache,
konsilyer tarafından Web ve Grafik Tasarımı forumundaYanıt: 6Son Mesaj: 20.07.2004, 13:04 -
Apache+MYSQL+PHP Serveri
ChatLacK tarafından Web ve Grafik Tasarımı forumundaYanıt: 6Son Mesaj: 25.02.2004, 08:07 -
Apache + PHP + Mysql (?)
NaturelGS tarafından Linux forumundaYanıt: 15Son Mesaj: 02.12.2002, 18:19 -
Linux ta apache +mysql +php
jackal tarafından Linux forumundaYanıt: 10Son Mesaj: 02.11.2002, 22:46



Alıntıyla Yanıtla

Wifi modem üzerinden hangi siteye...
Bugün, 08:46 / İnternet, Ağ ve Güvenlik