This is an old revision of the document!
Configuring PHP for LSWS when using cPanel EasyApache 3
During the LSWS installation, a matching PHP may have been compiled, installed and configured hence extra action may not be required.
Assuming you would like to change PHP version or add/remove some PHP packages, you need to go to easy apache 3 to rebuild PHP with desired version and modules for Apache Web Serve, and then build matching PHP for LSWS(an option from plugin).