Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    MySQL - PHP Bağlantı

    Scheduled Pinned Locked Moved Turkish
    2 Posts 2 Posters 888 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aerkaya
      last edited by

      pfSense 2.2.3 kullanıyorum.

      pkg install mysql

      komutu ile mysql server kurup, ayarlamalarını yaptım.

      PHP'de, veritabanı bağlantısı için PDO kullanmak isityorum ancak nasıl yapabilirim bulamadım. PDO Mysql driverını yükleyemedim. phpinfo()'da
      pdo drivers: no value

      diyor.

      php.ini dosyasına, extension=pdo_mysql.so satırını ekledim, bir şey değişmedi.

      pkg install php5
      komutu ile güncelleme yapayım diyorum, bu sefer de yeniden başlatınca şöyle bir hata alıyorum:
      Fatal error: Call to undefined function xml_parser_create() in /etc/inc/xmlparse.inc on line 177

      PHP'yi başlatamıyor.

      Ne yapmalı?

      1 Reply Last reply Reply Quote 0
      • A
        ali1yilmaz
        last edited by

        temiz kurulum yapın,
        php soap paketini kurun,
        touch soap library yapın.
        php pdo kurun
        touch pdo library komutu çalıştırın
        mysql server kurun
        mysql root pw oluşturun
        restart sonrası kullanabilirsiniz

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.