# Error: Command failed: /lightning-services/php-7.3.5+10/bin/darwin/bin/php

**URL:** <https://community.localwp.com/t/error-command-failed-lightning-services-php-7-3-5-10-bin-darwin-bin-php/25342>\
**Category:** WordPress Questions\
**Created:** [April 24, 2021, 12:41pm UTC](https://community.localwp.com/t/error-command-failed-lightning-services-php-7-3-5-10-bin-darwin-bin-php/25342 "2021-04-24T12:41:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Escocia11](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/escocia11/32/13000_2.png) [@Escocia11](https://community.localwp.com/u/Escocia11)\
**Post date:** [April 24, 2021, 12:41pm UTC](https://community.localwp.com/t/error-command-failed-lightning-services-php-7-3-5-10-bin-darwin-bin-php/25342/1 "2021-04-24T12:41:32Z")

</div>

I love “local” so far, thanks!

Downloaded a backup (.tar.gz) from my cPanel server and imported, whole process ran thru 100% no hiccups!

Downloaded another backup (.tgz) from a VPS droplet, had to convert to .zip and imported, then very nearly got thru the whole process but right at the end gave an error:

Error: Command failed: /Applications/Local.app/Contents/Resources/extraResources/lightning-services/php-7.3.5+10/bin/darwin/bin/php /Applications/Local.app/Contents/Resources/extraResources/bin/wp-cli/wp-cli.phar --path=/Users/davidsutherland/Local Sites/iohio/app/public --require=/Applications/Local.app/Contents/Resources/extraResources/bin/wp-cli/local-wpcli-error-reporting.php --skip-plugins --skip-themes --url=[wordpress-578318-1882295.cloudwaysapps.com](http://wordpress-578318-1882295.cloudwaysapps.com) search-replace --all-tables-with-prefix [http://wordpress-578318-1882295.cloudwaysapps.com](http://wordpress-578318-1882295.cloudwaysapps.com) [http://iohio.local](http://iohio.local)

Has it got to do with the domain provisioning or something similar?

---

<div class="post-metadata">

**Author:** ![Escocia11](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/escocia11/32/13000_2.png) [@Escocia11](https://community.localwp.com/u/Escocia11)\
**Post date:** [April 24, 2021, 3:54pm UTC](https://community.localwp.com/t/error-command-failed-lightning-services-php-7-3-5-10-bin-darwin-bin-php/25342/2 "2021-04-24T15:54:31Z")

</div>

got another .tgz from the host, converted to .zip, nearly got to the end of importing again:

importing database  
changing site domain  
unable to import

Error: Command failed: /Applications/Local.app/Contents/Resources/extraResources/lightning-services/php-7.3.5+10/bin/darwin/bin/php /Applications/Local.app/Contents/Resources/extraResources/bin/wp-cli/wp-cli.phar --path=/Users/davidsutherland/Local Sites/iohio/app/public --require=/Applications/Local.app/Contents/Resources/extraResources/bin/wp-cli/local-wpcli-error-reporting.php --skip-plugins --skip-themes --url=[wordpress-578318-1882295.cloudwaysapps.com](http://wordpress-578318-1882295.cloudwaysapps.com) search-replace --all-tables-with-prefix [http://wordpress-578318-1882295.cloudwaysapps.com](http://wordpress-578318-1882295.cloudwaysapps.com) [http://iohio.local](http://iohio.local)

any ideas what we need to do to make it compatible?

---

<div class="post-metadata">

**Author:** ![Escocia11](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/escocia11/32/13000_2.png) [@Escocia11](https://community.localwp.com/u/Escocia11)\
**Post date:** [April 24, 2021, 4:40pm UTC](https://community.localwp.com/t/error-command-failed-lightning-services-php-7-3-5-10-bin-darwin-bin-php/25342/3 "2021-04-24T16:40:31Z")

</div>

maybe there’s another method to import the.sql and web files from public\_html directly into Local, without having to use a migration plugin?

---

<div class="post-metadata">

**Author:** ![thevibe27](https://avatars.discourse-cdn.com/v4/letter/t/c77e96/32.png) [@thevibe27](https://community.localwp.com/u/thevibe27)\
**Post date:** [March 23, 2022, 1:38pm UTC](https://community.localwp.com/t/error-command-failed-lightning-services-php-7-3-5-10-bin-darwin-bin-php/25342/4 "2022-03-23T13:38:11Z")

</div>

I was having the same issue. Even tried to remove local and reinstall it however it didn’t worked. I finally found that the problem was coming from W3 Total cache, once I deleted the files/folders, I was able to import the site successfully.
