Different different php config?

Discussion in 'Install/Configuration' started by fastproxy, Feb 2, 2009.

  1. fastproxy

    fastproxy Well-Known Member


    How can i set different php config for different domains?

    i use lxadmin. Before it has different php.ini config for each domain. But now all the sites use 1 php config from lsphp4/lib/php.ini
    Last edited: Feb 2, 2009
  2. mistwang

    mistwang LiteSpeed Staff

    AddType application/x-httpd-php4 php


    AddType application/x-httpd-php5 php
  3. fastproxy

    fastproxy Well-Known Member

    It is not php4 or php5. I need to enable some php functions for specific domain.

    I.e: i need enable "show_source, system, shell_exec, passthru, exec, popen, proc_open, base64_decode, base64_encodem, proc_terminate" for 1 domain, but not all.
  4. mistwang

    mistwang LiteSpeed Staff


    php_admin_value <php.ini directive>

    for that vhsot.

Share This Page