Thaibuycar.com

4 Comments Already

commenter
Re : Linux Ubuntu กับปัญหา php_admin_value open_basedir
Gootum Said,
March 2nd, 2008 @11:39 am  

วันนี้ค่า vhcs.conf มันกลับเป็นค่าดีฟอลอีกล่ะ เบื่อหว่ะแก้ได้เมื่อวานวันนี้มันกลับมาอีกแล้ว เข้าไปดูที่ server ใหม่มันมีไฟล์ vhcs.conf หลายโฟลเดอร์มากไม่รู้จะแก้ไฟล์ไหนอีก งงก่ะมันซิบ ของฟรีก็งี้แหล่ะปวดหัว

commenter
Re : Linux Ubuntu กับปัญหา php_admin_value open_basedir
Ilaarijs Said,
March 4th, 2008 @7:29 am  

Don’t understand :(

commenter
Re : Linux Ubuntu กับปัญหา php_admin_value open_basedir
winny Said,
April 2nd, 2008 @12:31 am  

เจอเหมือนกันครับ แก้ไม่ตกเลย ถ้าแก้ได้ช่วยวานบอกด้วยนะครับ

commenter
Re : Linux Ubuntu กับปัญหา php_admin_value open_basedir
Gootum Said,
April 24th, 2008 @3:45 pm  

# nano /etc/vhcs2/apache/parts/dmn_entry.tpl
แก้
ErrorLog {APACHE_USERS_LOG_DIR}/{DMN_NAME}-error.log
TransferLog {APACHE_USERS_LOG_DIR}/{DMN_NAME}-access.log

CustomLog {APACHE_LOG_DIR}/{DMN_NAME}-traf.log traff
CustomLog {APACHE_LOG_DIR}/{DMN_NAME}-combined.log combined
เป็น
#ErrorLog {APACHE_USERS_LOG_DIR}/{DMN_NAME}-error.log
#TransferLog {APACHE_USERS_LOG_DIR}/{DMN_NAME}-access.log

#CustomLog {APACHE_LOG_DIR}/{DMN_NAME}-traf.log traff
#CustomLog {APACHE_LOG_DIR}/{DMN_NAME}-combined.log combined

# nano /etc/vhcs2/apache/parts/sub_entry.tpl
แก้
ErrorLog {APACHE_USERS_LOG_DIR}/{SUB_NAME}-error.log
TransferLog {APACHE_USERS_LOG_DIR}/{SUB_NAME}-access.log

CustomLog {APACHE_LOG_DIR}/{DMN_NAME}-traf.log traff
CustomLog {APACHE_LOG_DIR}/{DMN_NAME}-combined.log combined
เป็น
#ErrorLog {APACHE_USERS_LOG_DIR}/{SUB_NAME}-error.log
#TransferLog {APACHE_USERS_LOG_DIR}/{SUB_NAME}-access.log

#CustomLog {APACHE_LOG_DIR}/{DMN_NAME}-traf.log traff
#CustomLog {APACHE_LOG_DIR}/{DMN_NAME}-combined.log combined

# nano /etc/vhcs2/apache/parts/dmn_php2_entry.tpl
แก้
php_admin_value open_basedir “{WWW_DIR}/{DMN_NAME}/:{PEAR_DIR}/:/tmp/”
เป็น
#php_admin_value open_basedir “{WWW_DIR}/{DMN_NAME}/:{PEAR_DIR}/:/tmp/”

# nano /etc/vhcs2/apache/parts/sub_php2_entry.tpl
แก้
php_admin_value open_basedir “{WWW_DIR}/{SUB_NAME_PHP2}/:{PEAR_DIR}/:/tmp/”
เป็น
#php_admin_value open_basedir “{WWW_DIR}/{SUB_NAME_PHP2}/:{PEAR_DIR}/:/tmp/”

# /etc/init.d/apache2 restart

Related Post

Please Leave Your Comments Below

Please Note: All comments will be moderated