J
jaimet
Guest
Hi,
I was wondering if it is possible to execute a command like:
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.com -a -v
With Php. I try to do it using the exec or system php commands, but i think the scripts do not have enought privileges.
Is it possible to do this operation with the plesk api?
And how do i use it with php? is there any documentation about it?
REally appreciate help!!!
I was wondering if it is possible to execute a command like:
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.com -a -v
With Php. I try to do it using the exec or system php commands, but i think the scripts do not have enought privileges.
Is it possible to do this operation with the plesk api?
And how do i use it with php? is there any documentation about it?
REally appreciate help!!!