Plesk 12.x / Linux :: Way To Set Global Php Values Settings For All Domains
Jan 12, 2015
is there a way to set global php values settings for all Domains in Plesk 12. In the older version of Plesk I can do it by linux in /etc/php.ini and restart the apache and all Domains will be load this configuration. But from Plesk 11 the settings are not loading from /etc/php.ini, only by the own php.ini file.How can I do it for all domains?
I use a up2date Plesk 12 on a Debian Linux Server. I use my Admin Account to create Service Plans, Customer an Subscriptions. I enter the customer Accounts by klick Open in Control Panel (i am Admin in the Customer Account) and add domains.
today I try to change the PHP Settings of all Domains. (set more php_memory and max_execution_time)The Service Plan are success sync to all Subscriptions. but the settings are not change on the Domains check with phpinfo();so I try to rewrite all settings by using the command line and change the PHP Version and change back
for i in `mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/domain -u $i -php_handler_id 9235d9db7f57382520fd94d64d1f80b2f121e79b; done
for i in `mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/domain -u $i -php_handler_id fastcgi; done but the settings are still not effected.
At this moment, all mail (no matter what domain) goes out straight to its destination. We want to send the mail trough a antispam firewall before it enters the internet.
I'm having troubles getting the global scheduled backup task to work at Home > Tools & Settings >Backup Manager > Server Repository.
At a subscription the scheduled backup works how it should.
Home > Subscriptions > example.com > Websites & Domains > Server Repository
The problem is as follows: When I set the scheduled task at a specific time example 00:00 it does not run at all. But when I just do "Create a backup" it does work...
I've done [URL] .... and everything in here is configured how it should be.
This is my configuration for scheduled task:
Cronjob is placed in : /etc/cron.d/plesk-backup-manager-task
Also did run: rpm -q --scripts psa-backup-manager | sed 1d | sh
This problem is only in the global backup configuration.
situation: - compiled and installed php 5.5 and 5.6 - both versions work fine and are registered in plesk - base configuration for php is set for each version in a custom.ini
issue: - plesk php-settings are not applied: not matter what I change in Plesk php-settings, the values from my custom.ini file are used
What did I do wrong? How do I re-enable plesk php-settings?
Addendum: The php-settings apply esspecially to post_max_size and execution_time
I am trying to change the default php settings under domain (upload_max_filesize & post_max_size) but nothing happens. I am running PHP 5.5 in FastCGI. I also changed it to Centos default PHP (5.4.16) but nothing happens again. It only works when PHP runs as Apache module. The problem is on FastCGI Application.
My server: Centos 7, Plesk 12 Check the screenshot for installed components.
so my website is working perfectly fine for a few months now, and im looking to use Roundcube instead of Google Apps.What are the DNS settings i need to change to for my domain registrar?Currently i have the following records, and it can only send email, and not receive.
A Records @ IP Address A Records webmail IP Address
Tools&Settings Plesk Appearance Interface Management -Power user View (with & without) Use Custom View-Service Provider View (with & without) Open hosting operations in Server Administration Panel However when I go to
Websites&Domain TheWebsite/Show More, the DNS settings are still missing.
Is there any other setting I can try to show the dns settings?
I manage 1 server with 5 domains. I use the panel as power user (unique user)
I want to assign a new IP to a domain. In the hosting setting there is no IP to choose and in the IP tab if I click on the IP there is no domains to choose becouse all the domains are assigned to the primary IP...
I'd like to set IP in the hosting setting of the domain...
I'm trying to view my sites using the "Quick Preview on a domain name in Plesk" setting. I notice that it modifies that domain's DNS records to include the IP with dashes, however when I attempt to preview any of the sites hosted, I get "server not found" from my browser. The URL is the correct syntax, but cannot seem to access the site.
I've tried turning DNS off and on for each hosted site, but this doesn't seem to make any difference.
where do I find the setting to change dns records in plesk 11.5 ver ? I do not see it, it is missing in settings of domain under tab: "Websites and Domain"
I want to change SOA Settings from defaults to these: When I press OK button shows that is saved but when I test with [URL] .... and [URL] .... shows that settings still is defaults.How to change these settings??
I recently reinstalled my Plesk Panel 12.0.18 after several failures, which I wasn't able to repair (not even bootstrapper.sh would work). All of my websites weren't accessible, the connection between websites and the Database server didn't work and the Plesk backend was unavailable, too. I used the autoinstaller via command line to make a new Plesk installation.
Now I have a clean panel, the websites are available again, the MySQL database works again, but I don't have all my settings and websites in the Plesk backend anymore.
My question is: How can I get the old settings/configurations, which are still on the server, back in to Plesk?
* Go to "Web Server Settings" add text to "Additional directives for HTTP" and press button "Ok". * Go to "Document root" folder of your domain and now you have a new folder "/cgi-bin/test" with file "test.cgi":
Code: #!/usr/bin/perl print <<HTML; Content-type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
I am setting up a new server and started to migrate domains from an 11.x plesk server to this new server with plesk 12.x on it. Everything works fine, domains, users, mailboxes, everything is migrated - except the horde settings inside the webmail. I recognized this after my first login into webmail, normally the inbox is shown (I configured my webmaoil this way) but after the migration this setting is lost - including all other settings. How to migrate this settings?
We are running Plesk 12.0.18 with MySQL (Server Version: 5.5.33-MariaDB - openSUSE package) on OpenSuSE 13.1
MySQL is running in strict mode and its fine for the most of our customers. But some are trying to run Contenido, thats a CMS, which could work with this mode and we have to disable mysql strict mode.
So my question is: Is it possible to disable mysql strict mode just for choosen customers?
When creating a new subscription via the API (Plesk 12) is there a way to specify the Mail settings? More importantly is there a way to turn off Mail when setting up a new subscription? Each time I create a subscription via the API Plesk spits out the following error:
Code: New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainWebmail.php, error = Template_Exception: Empty content was provided for config file /etc/httpd/conf/plesk.conf.d/webmails/horde/demon3zxc.e-worksmedia.com_webmail.conf file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 47 code: 0.
When adding a subscription with a certain plan, I get this error"Error: The plan was not applied: Custom changes in PHP settings" almost instantly after I initiated the creation of the new subscription. Another service plan doesn't have the issue, and though I tried finding the reason why one works while the other doesn't I simply wasn't able to. The service plan in question is used for over 40 others without a problem just when I select it for a new subscription, I get the mentioned error message.I am using Plesk 12 on Linux, all latest updates installed.
PROBLEM DESCRIPTION Site isolation settings don’t have any effect.
STEPS TO REPRODUCE Configure the following in site_isolation_settings.ini:
php = on php_handler_type = fastcgi
Create a service plan without the permission for "Setup of potentially insecure web scripting options that override provider's policy". Create a customer with subscription and assign the service plan.
ACTUAL RESULT The customer is able to switch between “CGI-Application”, FastCGI-Application and “Apache-Module”.
EXPECTED RESULT Customer should not have the permissions to switch the "PHP support"...
We've migrated a web hosting account from a Plesk 10 server to a Plesk 12 one but the customers Horde calendar and events settings haven't transferred over.I've tried exporting and importing the data manually and that seems to work, but why doesn't the migration manager bring this information across?