Author: Xavier Pérez
Updated on: 2010-02-17
Posted on: 2010-02-17
Package: LQueryBU
Step by step to install LQueryBU examples
LQueryBU uses PHP5 and PDO module.
Apache config:
I use PHTMl extensions for HTML that contains PHP, I prefer to separate pure HTML from mixed HTML.
Be sure you have PHTML as a PHP type in your apache config:
Addtype application/x-httpd-php .phtml
Also, configure a virtual host for lquerybu, making document_root pointing to the 'www' directory. (For example: lquerybu.local)
PHP Config:
Be sure you have PDO module activated in your php.ini config:
For PHP 5.2:
extension=php_pdo.d
extension=php_pdo_mysql.dll
For PHP 5.3:
extension=php_pdo_mysql.dll
MySQL config:
Create a database in your mysql, default name: lquerybu
Load the example tables in your 'lquerybu' database:
/LQUeryBU/examples_db/world_db/world.sql
Modify /LQueryBU/database.php file with your username/passwd/database/port configuration.
System DNS config:
Add a Host name resolve to your hosts file. (For example: lquerybu.local)
Restart Apache
Open your browser, and type: http://lquerybu.local ( as above configured )
Feel free to post any problem or suggestions.
Thanks.
Apache config:
I use PHTMl extensions for HTML that contains PHP, I prefer to separate pure HTML from mixed HTML.
Be sure you have PHTML as a PHP type in your apache config:
Addtype application/x-httpd-php .phtml
Also, configure a virtual host for lquerybu, making document_root pointing to the 'www' directory. (For example: lquerybu.local)
PHP Config:
Be sure you have PDO module activated in your php.ini config:
For PHP 5.2:
extension=php_pdo.d
extension=php_pdo_mysql.dll
For PHP 5.3:
extension=php_pdo_mysql.dll
MySQL config:
Create a database in your mysql, default name: lquerybu
Load the example tables in your 'lquerybu' database:
/LQUeryBU/examples_db/world_db/world.sql
Modify /LQueryBU/database.php file with your username/passwd/database/port configuration.
System DNS config:
Add a Host name resolve to your hosts file. (For example: lquerybu.local)
Restart Apache
Open your browser, and type: http://lquerybu.local ( as above configured )
Feel free to post any problem or suggestions.
Thanks.
You need to be a registered user or login to post a comment
1,534,284 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
Comments:
No comments were submitted yet.