PHP覚書メモ -2ページ目

PHP覚書メモ

ブログの説明を入力します。

・VMの共有フォルダ
/mnt/hgfs/hoge

・シャットダウン
shutdown -h now

・hostsファイル
/etc/hosts.conf

・Apache設定ファイル
/etc/httpd/conf/httpd.conf

・Apache【再起動】
service httpd restart

・ネットワーク再起動
/etc/rc.d/init.d/network restart

・ファイル名検索
$ find / -name mydoc.txt

・確認
ls -ll

PHP エラーログ
/var/log/httpd/error_log
/var/log/php/error.log

コマンド
tail -n30 -f /var/php/error.log
とすると常に30件リアルタイム表示