Giter Site home page Giter Site logo

Comments (5)

MarcPinnell avatar MarcPinnell commented on July 23, 2024

Any solution found for this? Getting the same error on a Linux install.

from php-chrome-html2pdf.

codinglife456 avatar codinglife456 commented on July 23, 2024

Yup, managed to resolve it by changing the executable permission allowing access to apache on /home/ec2user which previously wasn't granted @MarcPinnell

from php-chrome-html2pdf.

sindev95 avatar sindev95 commented on July 23, 2024

Yup, managed to resolve it by changing the executable permission allowing access to apache on /home/ec2user which previously wasn't granted @MarcPinnell

i'm having same issue even tho i granted full permission to my node executable but i'm still getting "Shell error: 126"

can you give a bit detailed explanation if possible / you remember how you fixed it i'll be grateful

thanks in advance

from php-chrome-html2pdf.

spiritix avatar spiritix commented on July 23, 2024

Manually set the path to your Node.js executable using the $converter->setNodePath() method.

from php-chrome-html2pdf.

sindev95 avatar sindev95 commented on July 23, 2024

Manually set the path to your Node.js executable using the $converter->setNodePath() method.

even if you set the path and with correct permission it didn't work for some reason especially on EC2 RHEL , any other EC2 instances works fine

main issue is RHEL doesn't grant permission for node to execute for god knows why even if it has the needed permission while it works fine on other os

from php-chrome-html2pdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.