• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

phpSuExec

S

schatje

Guest
Hi all..

How to activate phpSu or phpSuExec on Plesk

I found the httpd.include file like this...

Code:
<VirtualHost 65.60.xx.yy:80>
	ServerName   bintang-bali-xyz.com:80
	ServerAlias  www.bintang-bali-xyz.com
	UseCanonicalName Off
	SuexecUserGroup         user2k7 psacln
	ServerAdmin  "[email protected]"
	DocumentRoot /var/www/vhosts/bintang-bali-xyz.com/httpdocs
	CustomLog  /var/www/vhosts/bintang-bali-xyz.com/statistics/logs/access_log plesklog
	ErrorLog  /var/www/vhosts/bintang-bali-xyz.com/statistics/logs/error_log
[I][B]deleted....[/B][/I]
	<IfModule sapi_apache2.c>
		php_admin_flag engine on
		php_admin_flag safe_mode on
		php_admin_value open_basedir "/var/www/vhosts/bintang-bali-xyz.com/httpdocs:/tmp"
	</IfModule>
	<IfModule mod_php5.c>
		php_admin_flag engine on
		php_admin_flag safe_mode on
		php_admin_value open_basedir "/var/www/vhosts/bintang-bali-xyz.com/httpdocs:/tmp"
	</IfModule>
		Options +Includes +ExecCGI
[I][B]deleted....[/B][/I]

But, when i try make a test file.php with apache:apache ownership... i still access that file on my browser..
How to prevent a file with apache:apache ownership running php file on that domain (not on mainserver, like webmail, phpmyadmin, etc)

Thanks

Sc
 
Back
Top