Configure Genero Studio for PHP
Follow this procedure to complete the PHP configuration.
Before you begin
- You have installed and licensed Genero Report Writer.
- Install a PHP package, version 5.3 or greater. You can use the non-thread safe
package.
- For Microsoft® Windows, see http://windows.php.net.
- For all other platforms, see http://php.net/downloads.php.
Tip: Make note of this path, as you will need to provide the directory path as part of this configuration. - Configure these PHP extensions to load at runtime.
- PDO: php_pdo_sqlite
- SQLite3: php_sqlite3
- Sockets: php_sockets
Tip: To configure extensions to load at runtime, you provide the extension directory and the list of extensions to load in the php.ini file, as follows:extension_dir = "./ext" extension=php_pdo_sqlite.dll extension=php_sockets.dll extension=php_sqlite3.dll
- The timezone must be set. Either:
- Set the
date.timezone
option in php.ini. For example:date.timezone = "America/Los_Angeles"
- Use the
date_default_timezone_set()
function in your report application.
- Set the
To configure for PHP, set the value of the PHP_HOME
environment
variable, found in the PHP environment set, to your local PHP
directory.