php - Where's apachectl in Mac Yosimite -


since apache installed in mac yosimite in default. why can't find apachectl under /etc/apache2? can still use apachectl start start server , visit 'http://localhost' successfully.

anyone knows what's going on here?

another question, followed tutorials here , after uncommented line says php, difference have loadmodule php4.... after did that, 'http://localhost' doesn't work.

it grateful if can this.

because apachectl binary not stored there. can use which locate binary.

$ apachectl /usr/sbin/apachectl 

php 4 obsolete. i'm not sure attempting do, recommend using php 5.4 or higher. older versions of php not receiving security patches.


Comments

Popular posts from this blog

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

javascript - Create websocket without connecting -

android - Linear layout children not scrolling -