PHP Classes

File: example

Recommend this page to a friend!
  Classes of Ruben Crespo   Zend Framework Installer   example   Download  
File: example
Role: Example script
Content type: text/plain
Description: Example script
Class: Zend Framework Installer
Setup a files for Zend framework based application
Author: By
Last change:
Date: 14 years ago
Size: 589 bytes


Class file image Download
//include class ZendInstaller
include ("ZendInstaller_class.php");

/*your application name*/
$app_name = "zend_app";

/* Define the path to the library directory in your Downloaded Zend Framework distribution. You can download it at */
$ZendLibrary_Path = "../Zend/library";

/*Default config.ini*/
$adapter = "PDO_MYSQL";
$db_host = "localhost";
$db_user = "db-user";
$db_pass = "db-pass";
$db_name = "db-name";

$installer = new ZendInstaller ($app_name, $ZendLibrary_Path, $adapter, $db_host, $db_user, $db_pass, $db_name);