I've made some changes to my php.ini file and now wondering how to restart apahce service...
the command like sudo service apache2 restart says that apache2: unrecognized service
Is this for a box on Forge? Or a local Homestead VM? If either, you're most likely using nginx, not Apache. Forge has a server restart functions available in the bottom-right of the "server details" screen. For Homestead (or any local vagrant VM) you just SSH into the box and do the restart. sudo service nginx restart
Please let us know which platform you're on. OS X and Linux have different ways of doing it.
Here's some examples
// Debian based releases (could also be httpd and you can also use /etc/init.d/ version)
sudo service apache2 status
// Other Linux ditros (CentOS I know uses this)
sudo /etc/init.d/httpd status
// Red Hat
sudo /sbin/service httpd status
// OS X
sudo apachectl status
Well guys I don't know who I should thank here, appreciate all your help:)
Probably I should've start with my direct problem, here it is:
Yes, I'm on forge and what I'm trying to do is upload set of images. On my local homestead box it's perfect, but on forge I'm getting this error: 413 Request Entity Too Large.
I went ahead and chaged php.ini setting upload_max_filesize then restarted nginx as @anaxamaxan suggested, but it didn't work out.
what else should i try?
UPD: just tried
sudo service php5-fpm restart
didn't work out either. Probably wrong setting then