Hi im using OpenWrt 19.07.2, i installed easyhotspot which required PHP5, because when i try to access easy hotspot it show error function deprecated. How to install PHP5 in Openwrt 19?
or if other way to make this easy hotspot working with PHP7, maybe someone can tell me how (like update the cogniter or something)
this is the error when access easyhotspot with PHP7 installed
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Exceptions has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/libraries/Exceptions.php on line 27
Notice: Only variables should be passed by reference in /srv/www/easyhotspot/htdocs/system/codeigniter/Common.php on line 148
A PHP Error was encountered
Severity: Notice
Message: Only variables should be passed by reference
Filename: codeigniter/Common.php
Line Number: 148
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Hooks has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/libraries/Hooks.php on line 30
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Config has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/libraries/Config.php on line 29
A PHP Error was encountered
Severity: Notice
Message: Only variables should be passed by reference
Filename: codeigniter/Common.php
Line Number: 148
A PHP Error was encountered
Severity: Notice
Message: Only variables should be passed by reference
Filename: codeigniter/Common.php
Line Number: 148
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CI_URI has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/libraries/URI.php on line 29
A PHP Error was encountered
Severity: Notice
Message: Only variables should be passed by reference
Filename: codeigniter/Common.php
Line Number: 148
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Router has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/libraries/Router.php on line 29
A PHP Error was encountered
Severity: Notice
Message: Only variables should be passed by reference
Filename: codeigniter/Common.php
Line Number: 148
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Output has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/libraries/Output.php on line 29
A PHP Error was encountered
Severity: Notice
Message: Only variables should be passed by reference
Filename: codeigniter/Common.php
Line Number: 148
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Input has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/libraries/Input.php on line 29
A PHP Error was encountered
Severity: Notice
Message: Only variables should be passed by reference
Filename: codeigniter/Common.php
Line Number: 148
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Language has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/libraries/Language.php on line 27
A PHP Error was encountered
Severity: Notice
Message: Only variables should be passed by reference
Filename: codeigniter/Common.php
Line Number: 148
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Base has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/codeigniter/Base5.php on line 33
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Controller has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/libraries/Controller.php on line 30
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Home has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/application/controllers/home.php on line 3
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Loader has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/libraries/Loader.php on line 29
A PHP Error was encountered
Severity: Notice
Message: Only variables should be passed by reference
Filename: codeigniter/Common.php
Line Number: 148
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CI_DB_driver has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/database/DB_driver.php on line 31
A PHP Error was encountered
Severity: Notice
Message: Only variables should be passed by reference
Filename: database/DB.php
Line Number: 133
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Freakauth_light has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/application/libraries/Freakauth_light.php on line 64
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Db_session has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/application/libraries/Db_session.php on line 16
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /srv/www/easyhotspot/htdocs/system/libraries/Exceptions.php:27)
Filename: libraries/Db_session.php
Line Number: 247
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Model has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/libraries/Model.php on line 27
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; UserTemp has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/application/models/FreakAuth_light/usertemp.php on line 18
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Usermodel has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/application/models/usermodel.php on line 18
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Userprofile has a deprecated constructor in /srv/www/easyhotspot/htdocs/system/application/models/userprofile.php on line 18
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /srv/www/easyhotspot/htdocs/system/libraries/Exceptions.php:27)
Filename: helpers/url_helper.php
Line Number: 541