is there any way I can edit my /etc/apache2/sites-available/default, create a directory and reload apache 2 through on a website through php or any other script online on a ubuntu webserver?
Thanks
Chris
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You mean through some kind of web interface that you are creating? Look into the
shell_execfunction. You can use it to create folders likeshell_exec('mkdir foldername')andshell_exec('/etc/init.d/apache2 restart')