linux - php shell_exec casperJS -
i installed phantomjs , casperjs on linux machine , add symbolic links in /usr/local/bin/casperjs , /usr/local/bin/phantomjs. if login via ssh working perfect.
but want call casperjs in php script shell_exec:
shell_exec('/usr/local/bin/casperjs');
i added php include_path: .:/usr/local/bin/casperjs
but "null" output exec command - how done? help? how can use casperjs within webhost directory in /var/www/?
Comments
Post a Comment