zEitEr
Super Moderator
It's more than obviously, that the archive is either corrupted, or downloaded partly.
Try to download it manually.
Try to download it manually.
chown -R diradmin:diradmin /usr/local/directadmin/plugins/phpvs
chmod 755 /usr/local/directadmin/plugins/phpvs/user/*
chmod 755 /usr/local/directadmin/plugins/phpvs/reseller/*
chmod 755 /usr/local/directadmin/plugins/phpvs/admin/*
chown -R diradmin:diradmin /usr/local/directadmin/plugins/phpvs/
PHP Selector should be a standard option in DA now as far as im concerned. If DA is going to approve custombuild and even encourage its use as per the knowledgebase they should provide a way to select which version of php you want to use from DA. Without any kinds of hack or plugin.
Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 105 is not allowed to access /home/*****/domains/ owned by uid 1012 in /usr/local/directadmin/plugins/phpvs/user/index.html on line 11 Warning: opendir(/home/****/domains/): failed to open dir: Inappropriate ioctl for device in /usr/local/directadmin/plugins/phpvs/user/index.html on line 11
As I've already said, edit your
/usr/local/directadmin/plugins/phpvs/data/php4cgi.txt
remove everything and add lines:
Code:<FilesMatch "\.(inc|php|php3|php4|php5|php6|phtml|phps)$"> AddHandler x-httpd-php5 .php5 AddHandler x-httpd-php4 .inc .php .php3 .php4 .phtml </FilesMatch>
/usr/local/directadmin/plugins/phpvs/data/php5cgi.txt
remove everything and add lines:
Code:<FilesMatch "\.(inc|php|php3|php4|php5|php6|phtml|phps)$"> AddHandler x-httpd-php4 .php4 AddHandler x-httpd-php5 .inc .php .php3 .php5 .phtml </FilesMatch>
In case, you use PHP as CGI (suPHP).