CodeIgniter Forums
Fatal error: Class CI_Session_files_driver contains 1 abstract method and must... - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Fatal error: Class CI_Session_files_driver contains 1 abstract method and must... (/showthread.php?tid=74203)



Fatal error: Class CI_Session_files_driver contains 1 abstract method and must... - makif - 08-26-2019

Fatal error: Class CI_Session_files_driver contains 1 abstract method and must therefore be declared abstract or implement the remaining methods
sometimes i see this error.
 i set in my php.ini

Code:
[opcache]
;zend_extension=php_opcache.dll
; Determines if Zend OPCache is enabled
opcache.enable=0 

i am using apache2.4 and ci 3.1.8
this error is gone when i restart apache server but  i dont wanna restart apache server, how can i solve this problem?
thanks for support


RE: Fatal error: Class CI_Session_files_driver contains 1 abstract method and must... - InsiteFX - 08-26-2019

upgrade your php version I' am running 7.3.8 with opcache and it runs fine
using file sessions.


RE: Fatal error: Class CI_Session_files_driver contains 1 abstract method and must... - makif - 08-26-2019

(08-26-2019, 02:21 AM)InsiteFX Wrote: upgrade your php version I' am running 7.3.8 with opcache and it runs fine
using file sessions.

thanks for reply but i should use msvc14 compiler version of php  on my project, so php 7.3.8 version doesnot solve my problem


RE: Fatal error: Class CI_Session_files_driver contains 1 abstract method and must... - dave friend - 08-26-2019

(08-26-2019, 02:44 AM)makif Wrote: thanks for reply but i should use msvc14 compiler version of php  on my project

Why? Are you compiling PHP yourself?


Msvc 14.10 compiler is officially supported for PHP 7.2 and 7.3


RE: Fatal error: Class CI_Session_files_driver contains 1 abstract method and must... - makif - 08-28-2019

(08-26-2019, 05:20 AM)dave friend Wrote:
(08-26-2019, 02:44 AM)makif Wrote: thanks for reply but i should use msvc14 compiler version of php  on my project

Why? Are you compiling PHP yourself?


Msvc 14.10 compiler is officially supported for PHP 7.2 and 7.3
yes, i am compiling php friend