Enable Custom PHP Version On Plesk#

  • Log into server
  • cd /var/www/vhosts/DOMAIN/conf/
  • vi vhost.conf
  • Press i for insert mode
  • cut and paste the following into vhost.conf, replace DOMAIN
<Directory /var/www/vhosts/DOMAIN/httpdocs>
        <IfModule sapi_apache2.c>
                php_admin_flag engine on
        </IfModule>
        <IfModule mod_php5.c>
                php_admin_flag engine on
        </IfModule>
</Directory>
  • Press escape
  • type wq then enter to save and close vi
  • run the command to enable the changes:
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=DOMAIN
  • run the command and check in the output that the vhost include is added
cat /var/www/vhosts/DOMAIN/conf/httpd.include

Back to Linux

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 24-May-2017 15:30 by Hyve Support
G’day (anonymous guest) My Prefs
  • View Page Source
  • This clear IPSec security association,
    clear ipsec sa peer X.X.X.X
    

All Pages

Page views: 2075

Private Tomcat

Linux

MySQL

Email

SQL Server

ASP

JSP

C#

Web Mail

Windows Plesk

Linux Plesk

PHP

Gaming

ASP.NET

Persits ASPUpload

Wiki Help

Referring Pages:
...nobody

JSPWiki v2.8.1