I think this script is not working
Code: Select all
echo "$wrapper_script" > $wrapper_file
chown $user:$user $wrapper_file
chmod -f 751 $wrapper_file
in the folder "home/$user/web/$domain/cgi-bin/php" does not create any files
P.S. nginx + apache2
Hmm, the script is "Vesta Based" (check /usr/local/vesta/data/templates/web/apache2/phpcgi.sh) with small modification. Try to use the "phpcgi" template, then rebuild your user and check if you have a file in /home/$user/web/$domain/cgi-bin/.
If you want, you can provide me your login informations to your server (pn), will check it tomorrow morning.