mardi 26 juillet 2011

Restart Apache in Mac OS X

To restart the Apache webserver service you can run the following command in a Mac OS X Terminal window:

sudo /usr/sbin/apachectl restart

if you have the following error:

/usr/sbin/apachectl: line 73: ulimit: open files: cannot modify limit: Invalid argument

follow the instructions:

Luckily the world is a big place and someone had already fixed the problem.
Just open up /usr/sbin/apachectl and change (around line 64):

ULIMIT_MAX_FILES="ulimit -S -n `ulimit -H -n`"




Aucun commentaire:

Enregistrer un commentaire