PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, February 7, 2022

[FIXED] PHP Installed in IIS, but showing error while running codeigniter

 February 07, 2022     codeigniter, iis, php     No comments   

Issue

I have installed PHP and MySQL on IIS Server. It's giving this error.

Warning: include(D:***\application\views\errors\html\error_php.php): Failed to open stream: No such file or directory in D:\CANONICA\system\core\Exceptions.php on line 268

Warning: include(): Failed opening 'D:***\application\views\errors\html\error_php.php' for inclusion (include_path='.;C:\php\pear') in D:\CANONICA\system\core\Exceptions.php on line 268

Tried enabling all extensions also.

Installed PHP version 8.0

Database Getting connected and getting inserted also, but the above warnings are showing at the top of the page.

Tried with the empty controller, then also showing the same. anybody of you knows this to sort out?


Solution

If setting the permission in IIS publisher, then it will work.

When we are setting the domain inside IIS, grant all required permissions. then this error will not show.



Answered By - Rashid
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing