Include is not working in php. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Include is not working in php.

i have built some projects in php that time my php version is 5 after updating my php to 7 there is error in all files and all the projects. that is ( include_path ='c:\xampp\php\Pear') only where i am including the files like include"header.php" please tell me if the include function is changed or how to fix this ?

30th Oct 2017, 12:39 PM
~Sudo Bash
~Sudo Bash - avatar
2 Answers
+ 2
Try reading this article, maybe you'll find something useful. http://php.net/manual/en/function.include.php
30th Oct 2017, 12:44 PM
Freezemage
Freezemage - avatar
+ 1
already done with this
30th Oct 2017, 1:08 PM
~Sudo Bash
~Sudo Bash - avatar