Require Once / Include no Laravel

Asked

Viewed 460 times

2

I’m trying to include a file on a page on a site made in Laravel. The file and page are on different servers. How can I do that?

I tried with include and gave the following error : include(): http:// wrapper is disabled in the server configuration by allow_url_include=0

  • If the answer solved the problem, please consider marking it.

1 answer

2


You should change your PHP settings in the file php.ini. Change the value of allow_url_include for 1.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.