OS X Lion Web Sharing can't start

1

OS X Lion Web Sharing won't start. I checked it with apachectl configtest and got this:

httpd: Syntax error on line 102 of /private/etc/apache2/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from

How can I proceed?

jwags

Posted 2012-07-31T00:49:13.667

Reputation: 11

also, when I try and test the psp with <?php phpinfo(); ?> I get [ Error writing info.php: Permission denied – jwags – 2012-07-31T04:27:52.957

Answers

0

Please check line 102 of the file /private/etc/apache2/httpd.conf, perhaps the format of the LoadModule statement is wrong.

The right format is:

LoadModule info_module libexec/apache2/mod_info.so

lushengchao

Posted 2012-07-31T00:49:13.667

Reputation: 1

just checked this. the format is and was correct – jwags – 2012-07-31T04:10:51.793

when I enter /private/etc/apache2/httpd.conf I get an access denied statement – jwags – 2012-07-31T04:12:29.653