I have a central website on my VPS. That website creates HTML micro sites for my users. That central site is on a regular cPanel account.
Each time someone requests an HTML site, the PHP script creates a cPanel account for that user and in theory (PHP) copies the HTML to it.
However I can not do this due to permissions problems with PHP. One cPanel account can not copy files to another. This is only one way, i.e. only the central website cPanel account will ever need to copy files from itself to the user's cPanel account (never the other way).
Is there any way of accomplishing this? Could I grant that central user root privileges?
Thanks,
Ed.
Each time someone requests an HTML site, the PHP script creates a cPanel account for that user and in theory (PHP) copies the HTML to it.
However I can not do this due to permissions problems with PHP. One cPanel account can not copy files to another. This is only one way, i.e. only the central website cPanel account will ever need to copy files from itself to the user's cPanel account (never the other way).
Is there any way of accomplishing this? Could I grant that central user root privileges?
Thanks,
Ed.