PCnet Online forumlarına katılmak için hesap açabilirsiniz.
  • Üye girişi:

PCnet Online forumlarına hoş geldiniz

+ Başlığa Yanıt Yaz
1 sonuçtan 1 - 1 arası sonuçlar
  1. #1

    Varsayılan 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

  1. apache+mysql+php kurulumu
    Raider_in_Jihad tarafından Web ve Grafik Tasarımı forumunda
    Yanıt: 2
    Son Mesaj: 12.02.2005, 10:27
  2. dreamweaver ve php, mysql, apache,
    konsilyer tarafından Web ve Grafik Tasarımı forumunda
    Yanıt: 6
    Son Mesaj: 20.07.2004, 13:04
  3. Apache+MYSQL+PHP Serveri
    ChatLacK tarafından Web ve Grafik Tasarımı forumunda
    Yanıt: 6
    Son Mesaj: 25.02.2004, 08:07
  4. Apache + PHP + Mysql (?)
    NaturelGS tarafından Linux forumunda
    Yanıt: 15
    Son Mesaj: 02.12.2002, 18:19
  5. Linux ta apache +mysql +php
    jackal tarafından Linux forumunda
    Yanıt: 10
    Son Mesaj: 02.11.2002, 22:46