See Log:
cat /var/log/messages
==========Setup Apache=========
in directory /mnt/C
tar zxvf apachexxxxx
vi /mnt/C/sys/etc/env-ng
RCNG=1
APACHE2=1 (if apache path is /mnt/C/sys/apache2)
APACHE22=1 (if apache path is /mnt/C/sys/apache22)
cp /mnt/C/sys/etc/php-ini-dist /mnt/C/sys/etc/php-ini
=========apache/conf/httpd.conf============
Modify
Listen your_ip:8080
ServerName your_ip
===========================================
Insert
AddType application/x-httpd-php .php
===========================================
reboot
Tips:
Manually start
/mnt/C/sys/apache2/bin/apachectl -f /mnt/C/sys/apache2/conf/httpd.conf &
沒有留言:
張貼留言