Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:apache:migration [2015/07/08 14:31]
Jackson Zhang [Step 4: Start LiteSpeed again]
litespeed_wiki:apache:migration [2015/07/20 19:36]
Michael Alegre removed
Line 94: Line 94:
   ​   ​
 Most of the time, LSWS loads your Apache configuration straight away without any error. Most of the time, LSWS loads your Apache configuration straight away without any error.
-===== Step 4: Start LiteSpeed ​again =====+===== Step 4: Test and switch to LiteSpeed ​ ===== 
 + 
 +Restart LSWS and try web sites hosted on port 2080 and secured sites on 2443. Most of the time your website are running smoothly and very faster already. 
 + 
 +If there is any problem, probably a PHP issue, you need to check LSWS error log, LSWS stderr log or PHP errors log for details. Server error log and stderr log are set to the following location by default unless you customize it. 
  
-Restart LSWS and try web sites hosted on port 2080 and secured sites on 2443. If there is any problem, most likely a PHP issue, you need to check LSWS error log, LSWS stderr log or PHP error log for details. Server error log and stderr log are set to the following location by default unless you customize it.  
   /​usr/​local/​lsws/​logs/​error.log   /​usr/​local/​lsws/​logs/​error.log
   /​usr/​local/​lsws/​logs/​stderr.log   /​usr/​local/​lsws/​logs/​stderr.log
Line 105: Line 108:
   find . -name php_errors.log   find . -name php_errors.log
  
-You should check the php_errors.log for corresponding ​locaiton ​where the PHP script running into problems. Try to clear the error, which may fix the problem. Sometime even undefined date.timezone in php.ini may cause problems. ​+You should check the php_errors.log for corresponding ​location ​where the PHP script running into problems. Try to clear the errors, which may fix the problem. Sometime even undefined date.timezone in php.ini may cause problems. ​
  
 If all sites work properly, stop Apache, change "​Apache Port Offset"​ to 0, restart LSWS, all hosted web sites are powered by LiteSpeed now. If all sites work properly, stop Apache, change "​Apache Port Offset"​ to 0, restart LSWS, all hosted web sites are powered by LiteSpeed now.