Php

From Kb

Jump to: navigation, search

Inline Settings

  • ini_set('display_errors', 1); // 1
  • error_reporting(E_ALL); // E_ALL ^ E_NOTICE
  • ini_set('upload_max_filesize', '100M');
  • ini_set('post_max_size', '100M');


Changing php.ini values on a Signature Server

  • Place a file with the name "php.ini" in the "~/www/" directory
  • Specify overriding directives just like a normal php.ini file (e.g. memory_limit = 16M)


Extensions on a VPS/MPS

On VPS/MPS products, PHP extension file is located here:

/usr/local/php5/etc/extensions.ini
Personal tools