phantomjs is installed and if I run in my PHP script
it returns the version, so phantomjs itself is working properly, however, if I try a very simple script such as
It returns 11 (segmentation fault). Both the script and phantomjs have permission to execute. The script is found and executable by the command, otherwise it would return either 127 (not found) or 126 (not executable).
PS: It works fine in my localhost, but not in my web hosting service.