Re: Localhost cannot be accessed when Apache is started

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Okay, so I did that. Reran “httpd” to troubleshoot it. 
Got back, "Syntax error on line 20 of /private/etc/apache2/extra/httpd-mpm.conf:
Invalid command 'LockFile', perhaps misspelled or defined by a module not included in the server configuration" 
This is what is on line 20, "LockFile '/private/var/log/apache2/accept.lock'"


On Jan 15, 2016, at 11:08 AM, Lester Caine <lester@xxxxxxxxxxx> wrote:

On 15/01/16 16:57, Josiah Asbill wrote:
"Syntax error on line 8 of /private/etc/apache2/other/+php-osx.conf:
" LoadModule php5_module        /usr/local/php5/libphp5.so

So has PHP5 been installed and is present in /usr/local/php5?

To debug things I would rename the +php-osx.conf FILE +php-osx.conf.off
and see if that also addresses the first error. Since this file is in
the /private/etc/apache2/other/ directory, the first question as to if
the /other/ directory exists has been answered has been answered, but I
don't remember getting two errors when the PHP5 installation is failing
to start properly. That is the problem rather than Apache


--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux