How do I enable Sqlite3 in OS X 10.5.8 with PHP?

前端 未结 4 1244
盖世英雄少女心
盖世英雄少女心 2021-01-24 12:40

I want to install the Symfony framework on my MAMP stack. However, when I try to run it, Symfony complains that I need to \"Install and enable the SQLite3 or PDO_SQLite extensio

4条回答
  •  日久生厌
    2021-01-24 13:22

    install module

    sudo port install php5-sqlite
    

    and then restart apache2

    sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart
    

    There is no need to uninstall php5

提交回复
热议问题