ou812

Member

Last active 14 years ago

  1. 14 years ago
    Mon Apr 12 22:53:59 2010

    I followed these instructions

    The visual phonebook requires php and mysql to be installed and running. You need to create a database and a table and give proper mysql credentials to the php application so it can read and write to the table. You also have to configure the language for the php application. In order to start, be sure to create a database for mysql using the proper password (replace XXXXX with your mysql root password):

    #> cd /var/www/html/fop2
    #> mysqladmin -u root -pXXXXX create fop2
    #> mysql -u root -pXXXXX fop2 < mysql.db
    After creating a database and the table, you might want to create a special mysql user for FOP2:

    #> mysql -u root -pXXXXX -e \
    "grant all privileges on fop2.* to fop2@'localhost' \
    identified by 'myPassw0rd'"
    Finally you have to edit the configuration file and set the language and proper mysql credentials:

    /var/www/html/fop2/config.php
    <?
    // Database connection details
    $DBHOST = 'localhost';
    $DBNAME = 'fop2';
    $DBUSER = 'fop2';
    $DBPASS = 'myPassw0rd';

    $language="en";

    // ---------------------------------------------------------
    // Do not modify below this line
    // ---------------------------------------------------------
    ..

    I'm using pbxinaflash
    Gary

  2. Mon Apr 12 20:54:31 2010

    When I try to access phone book I also get an error
    (An error has occurred)
    I'm using PHP ver 5.1.6

    Gary