Larapos And Allow Url Fopen

0

Hi, my web host views allow_url_fopen as a security risk. I am unable to install the system. Is there a way around this? If so, what features might I be missing out on?

Question Resolved For: eCommerce Module for Modern POS Solution 0 Votes 3 Answers 857 Views
Asked by Brian Moore 1 year ago

0

Answered by Mian Saleem 1 year ago

Hello,

allow_url_fopen should be on if you wish to use download sale as dompdf requires this.

As I know most shared hosting providers, like Site5, Godaddy, SiteGround and many more allow users to manage their PHP versions and config.

We recommend VPS from any cloud provider AWS, DigitalOcean, Linode & Vultr etc. If you like managed service, then you can check Cloudways otherwise Laravel Forge or Ploi.

Thank you

0

Answered by Brian Moore 1 year ago

Sadly I'm not interested in changing hosts. Based on dompdf's git you have the option of using either allow_url_fopen set to true or the curl PHP extension (for retrieving stylesheets, images, etc via http). I would like to see a more secure way of downloading information from your system.

0

Answered by Mian Saleem 1 year ago

Hello,

The dompdf requirements page has the details.

I am not aware that dompdf can render HTML code with links using curl. If you have any reference link, please share I will check in future updates.

Thank you

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.