Skip to content

andrejsstepanovs/PHPConfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPConfig

PHPConfig is a Zend Framework 2 module that allows to set php.ini values on the fly.

Setup

Install using composer.

    "require": {
        "wormhit/PHPConfig": "*"
    },
    "repositories": [
        {
            "type": "git",
            "url":  "https://github.com/wormhit/PHPConfig.git"
        }
    ]
php composer.phar update

Usage

config/autoload/php.config.local.php

<?php

return array(
    'PHPConfig' => array(
        'display_startup_errors'     => true,
        'display_errors'             => true,
        'date.timezone'              => 'Europe/Berlin',
        'mbstring.internal_encoding' => 'UTF-8',
    )
);

About

zf2 module to set php configuration options on the fly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages