Thank you very much for your interest to move your hosting to Netway. We would like to ask for some details of the original hosting management system, to check if the hosting can be moved to our service smoothly. Once your case is qualified, we will schedule an appointment to move the hosting to the client again. 1. Current Control Panel HostingFor exampleThe control panel on the original hosting system was: like cPanel or DirectAdmin or Plesk or others.URL: http://netway.co.th-20User name: netwayPassword: 1234abc 2. Control Panel MySQL (Database) (if available)For exampleMySQL Admin URL: http: //111.222.333.157/myadmin/Database Server: localhost or 222.150.233.61Database Name: netwayUsername: netwayPassword: netway1234 3. Login details (FTP) (if available)For exampleFTP Hostname: netway.co.thUsername: netwayPassword: netway3456 NOTE: Additional Recommendations For E-mail We will not migrate e-mail to maintain all e-mails on the client. Customers must back up e-mail to the host before the host. To prevent the loss of the original e-mail. Learn more about our web hosting fees: https://www.siaminterhost.com/webhosting If you need a quote or more information, please feel free to reach us 24/7. Live Chat: https://netway.co.th/ Call Center: 02-055-1095 Facebook: https://www.facebook.com/netway.group/
เนื่องจากบน Hosting ของเรานั้นจะมีการตั้งค่าเริ่มต้นของ default_charset เป็น UTF-8 แต่หากลูกค้าต้องการใช้งานเว็บไซต์ที่เราและมีการเขียน Code php โดยเซ็ต charset=windows-874 พอนำข้อมูลเว็บไซต์มาอัพโหลดเพื่อใช้งาน Hosting ของเราจะพบปัญหาอ่านภาษาไทยไม่ได้ ในส่วนนี้เราสามารถแก้ไขได้โดยการกำหนดค่า default_charset บน php.ini ให้เป็นค่าว่างไว้เพื่อให้สามารถอ่าน Code php ที่ลูกค้าเซ็ตเป็น charset=windows-874 ได้ครับ วิธีการตามด้านล่าง 1. โดยปกติลูกค้าที่ใช้งาน Linux Hosting ที่เราจะมีการใช้งาน CloudLinux ครอบกาใช้งานลูกค้าไว้อีกที เบื้องต้นให้เราเข้าไปตรวจสอบ LVE ID ของ Account ที่เราต้องการไปแก้ไข โดยให้เข้าไปที่ WHM > CloudLinux LVE Manager > Users (ให้จำเลข 2 ตัวท้ายไว้ตามตัวอย่างด้านล่างคือ 29) 2. เราจะต้องรู้ว่า Account ที่เราต้องการจะแก้ไขนั้นใช้ PHP Version ใด โดยในส่วนนี้ให้เราสร้างไฟล์ phpinfo.php ขึ้นมาตรวจสอบ 3. จะเป็นการแก้ไขข้อมูลในไฟล์ php.ini ที่ account ของลูกค้าตามตัวอย่างจะแก้ไขตาม path file ด้านล่าง หมายเหตุ: ตามตัวอย่างด้านล่างตรง 29 คือเลข LVE ID ที่เรานำมาจากข้อ 1. และตรง alt-php56 คือ PHP Version ที่ลูกค้าใช้งานตามข้อที่ 2. [root@netway46 ~]# nano -w /var/cagefs/29/thaibanner/etc/cl.php.d/alt-php56/alt_php.ini 4. หลังจากเข้าไปที่ File alt_php.ini แล้ว ให้เราใส่ค่า default_charset="" ที่บรรทัดสุดท้าย แล้วทำการ Save และให้เข้ามาตรวจสอบโดยการเรียก phpinfo.php เราจะพบว่าค่า default_charset จะขึ้นเป็น no value เป็นอันเสร็จสิ้นครับ
ไม่มีการบันทึกสถิติการใช้งาน cloudlinux ทำให้ไม่สามารถดู report ได้ หากมีการเรียกใช้งานจะมีข้อความแจ้งเตือนว่า "There is no data to display" วิธีแก้ปัญหาทีม TSส่งให้ lv2 วิธีแก้ปัญหาทีม SYSNOC หรือ ITSวิธีการแก้ไขนะครับ There are two possibilities, depending of what database type is used for lvestats, check with grep db_type /etc/sysconfig/lvestats 1. If you see sqlite there then most probably database file become corrupted somehow. You have to recreate it following way: /etc/init.d/lvestats stop mv /var/lve/lveinfo.db /var/lve/lveinfo.db_back /etc/init.d/lvestats start 2. If you have mysql as database type - most probably table structure is not correct, you will have to compare it to: Limits > Command Line Tools > lve-stats > Storing statistics in MySQL and add necessary fields. อ้างอิงครับ ==> https://forums.cpanel.net/threads/cloudlinux-do-not-show-7-days-data.452471/
ส่งต่อให้ TS LV 2 ขึ้นไป หรือ System แก้ไข วิธีแก้ไขรันคำสั่ง yum update lvemanager pam_lve lve-wrappers bsock
วิธีแก้ไขปัญหา Cloudlinux ไม่โหลด php extensionจากปัญหาที่ไม่สามารถใช้งาน php extension บน cloudlinux ได้ ทำให้เว็บไซต์มีปัญหาการใช้งาน วิธีการแก้ไขปัญหาดังกล่าว ให้ดำเนินการตามนี้ครับ ตัวอย่างจะเป็น PHP 5.4 ครับ 1. ให้สร้างไฟล์ phpinfo เพื่อตรวจสอบรายละเอียดของ php account ที่มีปัญหา ตรวจสอบที่เก็บไฟล์ php.ini ที่ path file : php.ini ที่ configuration file (php.ini) Path 2. ทำการติดตั้ง PHP5.4 ใน easyapache 4 บน WHM แล้วเลือก Customize >> PHP Versions >> Install PHP54 หลังจากเลือกติดตั้ง PHP54 แล้ว ให้เลือกติดตั้ง PHP Extension ที่ต้องการ หลังจากนั้นก็ให้กด Provision ได้เลย 3. หลังจากนั้นให้ทำการ copy file php.ini ของตัว PHP 5.4 ที่เราเพิ่งติดตั้งในข้อ 2. ที่ Path : /opt/cpanel/ea-php54/root/etc/ ไปไว้ที่ Path: configuration file php.ini ของ Cloudlinux ซึ่งดูได้จากข้อ 1. (อย่าลืม backup file php.ini ของ cloudlinux ไว้ก่อน)4. ให้แก้ไข session.save_path ของไฟล์ php.ini ที่ copy มาใหม่ ให้เป็น ของ cloudlinux คือ /opt/alt/php54/var/lib/php/session 5. ทดสอบใช้งานได้เลยครับ