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

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -