• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

vhost.conf

kingsquare

New Pleskian
I've tried to setup extra php_admin flags via a vhost.conf file for just one domain... but the file doesnt seem to be included? Am i doing something wrong?
Code:
<IfModule sapi_apache2.c>
        php_admin_value safe_mode Off
        php_admin_value open_basedir  "/usr/share/pear:/var/lib/php/session:/var/www/vhosts/example.com/httpdocs:/tmp"
        php_admin_value upload_tmp_dir /tmp
</IfModule>

And in http.include i see the extra line:
Code:
Include /var/www/vhosts/example.com/conf/vhost.conf

So that seems to go ok, but with a phpinfo(); command i dont see the extra open_basedir parameters nor the change in safe_mode... ?

As you might be wondering why: egroupware... (CentOs 4.3)

[edit]

Sigh... got it fixed now...
Code:
<Directory /var/www/vhosts/example.com/httpdocs>
        <IfModule sapi_apache2.c>
                php_admin_value mbstring.func_overload 7
                php_admin_value open_basedir  "/usr/share/pear:/var/lib/php/session:/var/www/vhosts/example.com/:/tmp"
                php_admin_value upload_tmp_dir /tmp
        </IfModule>
</Directory>
is the _entire_ contents of vhost.conf

and thát works!
 
Back
Top