Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
litespeed_wiki:cpanel:build-timezonedb-ea4 [2016/10/12 19:39]
Johathan Kagan created
litespeed_wiki:cpanel:build-timezonedb-ea4 [2016/11/09 15:57]
Johathan Kagan
Line 1: Line 1:
 ====== Build TimeZoneDB.so for Easy Apache 4 PHP ====== ====== Build TimeZoneDB.so for Easy Apache 4 PHP ======
  
-This wiki will addresses ​how and why we need to build TimeZoneDB for Easy Apache 4.+This wiki will address ​how and why we need to build TimeZoneDB for Easy Apache 4.
  
 **Note:** For free support of LSWS please use the [[http://​www.litespeedtech.com/​support/​forum/​|LiteSpeed forum]]. If you have an issue with cPanel (even while using LSWS) please contact cPanel support. They are fully trained to handle LiteSpeed Web Server. **Note:** For free support of LSWS please use the [[http://​www.litespeedtech.com/​support/​forum/​|LiteSpeed forum]]. If you have an issue with cPanel (even while using LSWS) please contact cPanel support. They are fully trained to handle LiteSpeed Web Server.
Line 11: Line 11:
 ===== The Issue ===== ===== The Issue =====
  
-With recent ​patches to Easy Apache 4 they have removed a lot of standard PECL extensions and added them to their web utility to install. The issue with that is that it scans the whole system for php and builds it for each version it finds, even non EA4 PHP. This causes high resource usages, which in most cases is a bad thing. This script that we provide will only build it for EA4 with predefined searches. This essentially cuts usage down and provides a more stable environment.+Recent ​patches to Easy Apache 4 have removed a lot of standard PECL extensions and added them to their web utility to install. The issue with that is that it scans the whole system for php and builds it for each version it finds, even non EA4 PHP. This causes high resource usages, which in most cases is a bad thing. This script that we provide will only build it for EA4 with predefined searches. This essentially cuts usage down and provides a more stable environment.
  
-===== Install ​=====+===== Installation ​=====
  
-Installing TimeZoneDB.so for Easy Apache 4 PHP is very easy. We have created a script to automate the process for you!+Installing ​''​TimeZoneDB.so'' ​for Easy Apache 4 PHP is very easy. We have created a script to automate the process for you!
  
 Here are the steps: Here are the steps:
  
-1. Login to server you wish to install ​timezonedb.so on via SSH. Make sure you are logged in as root.+1. Login to the server you wish to install ​''​TimeZoneDB.so'' ​on via SSH. Make sure you are logged in as root.
  
 2. Get the scripts and prepare them. 2. Get the scripts and prepare them.
-    # Let's make a directory to store everything. 
-    mkdir -p tmp 
-    cd tmp/ 
     wget https://​litespeedtech.com/​packages/​cpanel/​buildtimezone_ea4.tar.gz     wget https://​litespeedtech.com/​packages/​cpanel/​buildtimezone_ea4.tar.gz
     tar -xzvf buildtimezone_ea4.tar.gz     tar -xzvf buildtimezone_ea4.tar.gz
     chmod a+x *.sh     chmod a+x *.sh
    
-If you want to auto build for all installed ​version ​of EA4 PHP follow 3a.+If you want to auto build for all installed ​versions ​of EA4 PHP follow 3a.
  
 If you want to only build for a single version of EA4 PHP Follow 3b. If you want to only build for a single version of EA4 PHP Follow 3b.
  
-3a. Run the script to install ​timezonedb.so for all installed versions of EA4 PHP.+3a. Run the script to install ​''​TimeZoneDB.so'' ​for all installed versions of EA4 PHP.
     # Regular Usage     # Regular Usage
     ./​buildtimezone_ea4.sh     ./​buildtimezone_ea4.sh
Line 39: Line 36:
     ./​buildtimezone_ea4.sh y     ./​buildtimezone_ea4.sh y
  
-3b. Run the script to install ​timezonedb.so for specifed version ​of EA4 PHP.+3b. Run the script to install ​''​TimeZoneDB.so'' ​for specified versions ​of EA4 PHP.
     # Version number can either be X.X.X or X.X it will work either way     # Version number can either be X.X.X or X.X it will work either way
     ./​buildtimezone_ea4.sh 5.6.23     ./​buildtimezone_ea4.sh 5.6.23
Line 48: Line 45:
 That's it, folks. If you run into any issues please let us know. That's it, folks. If you run into any issues please let us know.
  
-===== Remove ​=====+===== Removing TimeZoneDB ​=====
  
-Removing TimeZoneDB.so for Easy Apache 4 PHP is very easy. We have created a script to automate the process for you!+Removing ​''​TimeZoneDB.so'' ​for Easy Apache 4 PHP is very easy. We have created a script to automate the process for you!
  
 Here are the steps: Here are the steps:
  
-1. Login to server you wish to install ​timezonedb.so on via SSH. Make sure you are logged in as root.+1. Login to the server you wish to install ​''​TimeZoneDB.so'' ​on via SSH. Make sure you are logged in as root.
  
 2. Get the scripts and prepare them. 2. Get the scripts and prepare them.
-    # Let's make a directory to store everything. 
-    mkdir -p tmp 
-    cd tmp/ 
     wget https://​litespeedtech.com/​packages/​cpanel/​buildtimezone_ea4.tar.gz     wget https://​litespeedtech.com/​packages/​cpanel/​buildtimezone_ea4.tar.gz
     tar -xzvf buildtimezone_ea4.tar.gz     tar -xzvf buildtimezone_ea4.tar.gz
     chmod a+x *.sh     chmod a+x *.sh
    
-If you want to remove ​for all installed versions of EA4 PHP follow 3a.+If you want to remove all installed versions of EA4 PHP follow 3a.
  
 If you want to only remove for a single version of EA4 PHP Follow 3b. If you want to only remove for a single version of EA4 PHP Follow 3b.
  
-3a. Run the script to install ​timezonedb.so for all installed versions of EA4 PHP.+3a. Run the script to install ​''​TimeZoneDB.so'' ​for all installed versions of EA4 PHP.
     # Regular Usage     # Regular Usage
     ./​buildtimezone_ea4_clean.sh     ./​buildtimezone_ea4_clean.sh
Line 74: Line 68:
     ./​buildtimezone_ea4_clean.sh y     ./​buildtimezone_ea4_clean.sh y
  
-3b. Run the script to remove ​timezonedb.so for specifed version ​of EA4 PHP.+3b. Run the script to remove ​''​TimeZoneDB.so'' ​for specified versions ​of EA4 PHP.
     # Version number can either be X.X.X or X.X it will work either way     # Version number can either be X.X.X or X.X it will work either way
     ./​buildtimezone_ea4_clean.sh 5.6.23     ./​buildtimezone_ea4_clean.sh 5.6.23
  • Admin
  • Last modified: 2022/09/21 18:44
  • by Lisa Clarke