Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
Thank you in advance for your patience and understanding on the matter.
Quick fix:
You could filter out "extension" from "Additional directives" and only apply it in php.ini but not php-fpm.conf
but we would really appreciate if we had full control about any directive in a splitted configuration for php.ini and php-fpm.conf so we don't have to manually edit...
Linux distribution:
Ubuntu 24.04.1 LTS
PHP Extension:
take Xdebug 3.4.0 as an example.
PHP Version:
eg. 8.1
This extension must be loaded as "zend_extension". But this directive is not valid for PHP-FPM configuration, only in php.ini.
We can set up Xdebug in plesk but it complains...
Username:
TITLE
PHP: Additional directives extension handling incorrect
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Version 18.0.66 Update #2; Linux
PROBLEM DESCRIPTION
If we add a PHP extension to a site configuration via "Additional directives" section, the extension...
Hello,
if we try to add an older mySQL database server with a user 'plesk' with only TLS 1.1 support (MySQL 5.7.17) we get a either:
(user not forced to use TLS)
or
(user forced to use TLS)
The second error doesn't mean credentials are wrong but somehow client credentials encryption isn't...
Thank you! I guess that explains why the logs are not working :D
Because we recently changed the mount for /var/www/vhosts and copied all data to a new device - and hardlinks were not preserved then.
Indeed repair -fs didn't check that, find /var/www/vhosts/<domain> -samefile...
Already did that. Besides that, shouldn't it run as root anyway? Access logs are owned by root.
We just want to know how the synchronization is done.
If it is done by PHP then maybe AppArmor blocks something but does not log it.
if it is done by a job please tell us which one so we can...
Hello,
which service / job is responsible for synchronizing access logs to user home directories?
The logs in vhosts/system are still written but for some reason stopped to sychronize - all domains are affected.
This depends how your container is connected to the network (which driver is used).
Basically if your container connects to user defined networks and has an IPAMConfig key you can set a static IP here, for example:
"NetworkSettings": {
"Bridge": "",
"EndpointID": ""...
I configured the vHost template generator to include the correct SCRIPT_FILENAME if a chroot setting was found in PHP configuration. We just need to set this variable and chroot login to get a basically working setup:
/opt/psa/admin/conf/templates/default/domain/service/fpm.php:
<?php
/**
*...
So I got some time to trace the FPM - and get phpinfo() working:
If enabled, the Plesk handler in nginx configuration file (vhosts/system/<domain>/nginx.conf) will take precedence and you will have no luck to inject the fastcgi_param as shown at top because it's overwritten by include of...
Yeah, that sucks too. But we could maybe fix $_SERVER variables with a custom extension.
I don't know how it's implemtned, but there should not be any fd outside the chroot if the same path exists inside the jail. It fails to set the session if the path is invalid, so I think it doesn't care...
I'm talking about chroot not root access or preventing user to run as root.
I want chroot to prevent file access because
open_basedir is a huge bottleneck as realpath cache is disabled too when this option is enabled.
The webroot needs some shell commands, I know how to provide them, that was...
I want to set up chroot environment not only for shell access. So how to do this manually for PHP too?
First part is simple - just add the configuration like
and restart php-fpm.
But I stuck to configure nginx to supply the correct headers for PHP.
Calling a script in the browser ends with...
We recently had an error in the plesk DB:
which could be repaired but which also caused a redirect of Link like /cp/server/db/2/databases to the homepage instead of showing any error.