First, ensure that the hash sign (#) is removed from the
LoadModule cgi_module libexec/apache2/mod_cgi.so in
/etc/apache2/httpd.conf. If you need to remove the hash/pound sign,
restart Apache after modifying the file, which you can do with
sudo apachectl restart. You will also need to use the
sudo command
to edit the file, if you edit it with a text editor such as
GNU nano or
vi.