{"action":"created","issue":{"url":"https://api.github.com/repos/DiceHoldingsInc/casperjs-php-driver/issues/4","repository_url":"https://api.github.com/repos/DiceHoldingsInc/casperjs-php-driver","labels_url":"https://api.github.com/repos/DiceHoldingsInc/casperjs-php-driver/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/DiceHoldingsInc/casperjs-php-driver/issues/4/comments","events_url":"https://api.github.com/repos/DiceHoldingsInc/casperjs-php-driver/issues/4/events","html_url":"https://github.com/DiceHoldingsInc/casperjs-php-driver/issues/4","id":117244505,"number":4,"title":"Locating casperjs binary","user":{"login":"neshala","id":1878392,"avatar_url":"https://avatars.githubusercontent.com/u/1878392?v=3","gravatar_id":"","url":"https://api.github.com/users/neshala","html_url":"https://github.com/neshala","followers_url":"https://api.github.com/users/neshala/followers","following_url":"https://api.github.com/users/neshala/following{/other_user}","gists_url":"https://api.github.com/users/neshala/gists{/gist_id}","starred_url":"https://api.github.com/users/neshala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neshala/subscriptions","organizations_url":"https://api.github.com/users/neshala/orgs","repos_url":"https://api.github.com/users/neshala/repos","events_url":"https://api.github.com/users/neshala/events{/privacy}","received_events_url":"https://api.github.com/users/neshala/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-11-16T23:34:07Z","updated_at":"2016-08-24T02:35:21Z","closed_at":"2015-11-19T15:39:45Z","body":"I have problems with exec in your file Driver.php, line 65.\r\n\r\nthis is not working both on my server and local mac\r\n<pre>exec('casperjs ' . $filename . $this->optionBuilder->build(), $output);</pre>\r\n\r\nBut when i change it to this, it works\r\n<pre>exec('/usr/local/bin/casperjs ' . $filename . $this->optionBuilder->build(), $output);</pre>\r\n\r\nI think that this is because PHP doesn't know where to find casperjs executable file. Any idea how to solve this? Or at least to have this as optional configurable option, so it can be adjusted?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/DiceHoldingsInc/casperjs-php-driver/issues/comments/241941165","html_url":"https://github.com/DiceHoldingsInc/casperjs-php-driver/issues/4#issuecomment-241941165","issue_url":"https://api.github.com/repos/DiceHoldingsInc/casperjs-php-driver/issues/4","id":241941165,"user":{"login":"ArlingtonHouse","id":762607,"avatar_url":"https://avatars.githubusercontent.com/u/762607?v=3","gravatar_id":"","url":"https://api.github.com/users/ArlingtonHouse","html_url":"https://github.com/ArlingtonHouse","followers_url":"https://api.github.com/users/ArlingtonHouse/followers","following_url":"https://api.github.com/users/ArlingtonHouse/following{/other_user}","gists_url":"https://api.github.com/users/ArlingtonHouse/gists{/gist_id}","starred_url":"https://api.github.com/users/ArlingtonHouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArlingtonHouse/subscriptions","organizations_url":"https://api.github.com/users/ArlingtonHouse/orgs","repos_url":"https://api.github.com/users/ArlingtonHouse/repos","events_url":"https://api.github.com/users/ArlingtonHouse/events{/privacy}","received_events_url":"https://api.github.com/users/ArlingtonHouse/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T02:35:21Z","updated_at":"2016-08-24T02:35:21Z","body":"I'm having this same problem in Linux with Symfony.   PhantomJS-php has a method $phantom->getEngine()->setPath('../bin/phantomjs'); is there anything equivalent with CasperJS-php-driver ?  Thanks!"}}
{"actor":{"display_login":"ArlingtonHouse"}}