• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved How to fix this on my dedicate server

Geir

Basic Pleskian
Hello all,

I will install a script on my site but it not working before i have this on my server:

Apache Mod_Rewrite Enabled (How enable this?)

GD Image library (How fix this?)

cURL Enabled (How enabled this?)

I run plesk with Centos 6.6 on my dedicate server!

 
Hi Geir,

1. To enable "mod_rewrite" at your webserver apache, you could use the command for CentOS:

a2enmod rewrite

Afterwards, please restart your webserver with the command:

service httpd restart

Be aware that you need a rewrite rule, which you might place in a .htaccess - file in your documentroot like for example:
HTML:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
</IfModule>
2. To use the Image library GD, you need to install it ( and some extensions ):
yum install gd gd-devel php-gd

Afterwards, please make sure to restart your webserver with the command:

service httpd restart

3. To enable cURL, it has to be installed as well. First, please have a look to the files with cURL inside the package name:
yum search curl
Afterwards, install the needed packages with yum ( for example ):
yum install php-curl
Please make sure, that your depending php.ini 's don't prevent the usage with a definition like:
disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,show_source

If this is the case, please edit this line in your depending php.ini 's and remove "curl_exec,curl_multi_exec," . I recommend only editing the domain - specific php.ini, in order to deny the cURL usage by default, with the suggested procedure, because the usage of cURL in PHP - scripts can lead to security leaks.


To locate your depending php.ini's you could use the command:

find / -name 'php.ini' 2> /dev/null


If you had to install cURL or depending packages or edited php.ini's, please make sure to restart your webserver again with:

service httpd restart
 
Last edited by a moderator:
Back
Top