Search Engine: Elastic

Article ID: 115303, created on Dec 15, 2012, last review on May 3, 2014

  • Applies to:
  • Pro Control Panel


I want to configure individual PHP setting per domain, this feature is not supported in Parallels Pro Control Panel interface.


1.       Get the site VFS number (XXX):

# sitelookup –a | grep domain.tld
domain.tld,adminXXX,siteXXX,/home/virtual/ domain.tld, domain
2.       Add PHP5 directive to site config file, configure individual settings here, for example you want to prohibit mail function usage in PHP for particular domain:

# grep -A3 mod_php5 /etc/httpd/conf/virtual/siteXXX
        <IfModule mod_php5.c>
                php_flag engine on
                php_admin_value disable_functions "mail"

3.       Modify the same settings in php.ini found using this query:

# locate php.ini | grep siteXXX

# vi /home/virtual/siteXXX/fst/etc/php.ini

3ccb419cf98083f3bb45808fba8dbc7c 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF