Hi Yong, you get the PHP source code. This means the PHP module in Apache is not enabled. Please enable it and restart Apache.
Best regards Roland On 22.12.2017 08:53, Yong Zhang wrote: > Hi, all > > Today I installed lam on Ubuntu16.04 with deb package, no issues appeared, > but when login to http://localhost/lam, it redirected to > http://localhost/lam/templates/login.php, > But instead of seeing a web page, I can only see some codes as below: > IE11 (the first a few lines): > validateAndRedirect('config/mainlogin.php?invalidLicense=1', > 'config/mainlogin.php?invalidLicense=2'); } /** Upgrade functions */ > include_once("../lib/upgrade.inc"); // set session save path if > (strtolower(session_module_name()) == 'files') { > session_save_path(dirname(__FILE__) . '/../sess'); } // start empty session > and change ID for security reasons session_start(); session_destroy(); > session_set_cookie_params(0, '/', null, null, true); session_start(); > > Chrome (the first a few lines): > > <?php > > namespace LAM\LOGIN; > > use LAM\LIB\TWO_FACTOR\TwoFactorProviderService; > > use \LAMConfig; > > use \LAMCfgMain; > > use \htmlSpacer; > > use \htmlOutputText; > > use \htmlSelect; > > use \htmlInputField; > > use \htmlGroup; > > use \htmlInputCheckbox; > > use \htmlButton; > > use \htmlStatusMessage; > > use \Ldap; > > use \htmlResponsiveRow; > > use \htmlDiv; > > /* > > $Id$ > > And I didn’t see any error logs from apache2, what should I do here? Thanks > for the help. > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > _______________________________________________ > Lam-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lam-public >
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Lam-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lam-public
