I can't seem to get this to work, not sure why.
I've looked at the steps provided here.
I don't get any errors, so I've no idea why it doesn't work. The file also has 777 permissions, but still no luck.
I'm running on Ubuntu 16.04.4 and PHP 7.0.2
I can't seem to get this to work, not sure why.
I've looked at the steps provided here.
I don't get any errors, so I've no idea why it doesn't work. The file also has 777 permissions, but still no luck.
I'm running on Ubuntu 16.04.4 and PHP 7.0.2
Does the command /sbin/service apache2 restart
work from the cli?
try entering the php interactive environment via php -a and run that statement: exec('/sbin/service apache2 restart');
You'll be able to get an error message in there. Try instead:
exec('service apache2 restart');
or
exec('apachectl restart');