These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for After restoring vhost, php script executed as www-data not the user on the new forum.
Under Webmin (Debian 8), I restored a vhost (without deleting the existing vhost), then I chose 'No' to the question "reallocate UID and GID", now the php scripts run as www-data, I would like the php script to be ran as the user of the vhost as it was initially. Thanks