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

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -