# Locating Local's bundled PHP master versions

**URL:** https://community.localwp.com/t/locating-locals-bundled-php-master-versions/35591
**Category:** Support
**Tags:** mac
**Created:** [February 16, 2023, 9:53am UTC](https://community.localwp.com/t/locating-locals-bundled-php-master-versions/35591 "2023-02-16T09:53:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kaleidografik](https://avatars.discourse-cdn.com/v4/letter/k/8dc957/32.png) [@kaleidografik](https://community.localwp.com/u/kaleidografik)
#### Post date: [February 16, 2023, 9:53am UTC](https://community.localwp.com/t/locating-locals-bundled-php-master-versions/35591/1 "2023-02-16T09:53:25Z")

</div>

Hello.

After recent MacOS updates, I believe PHP is no longer bundled with the operating system. This is causing a VSCode error for me 'PHP executable not found. Install PHP 7.4.0 or higher and add it to your PATH or set the php.executablePath setting’.

What I believe this is asking for is the main PHP file to be added to the config. I could install PHP separately, but as I use Local for all development, and this obviously includes PHP, I was hoping to locate where the ‘master’ php files are stored within local, and how to find this file?

What I can’t work out is if Local contains master PHP files or if they are all site specific?

Any advice would be greatly recieved.

Thanks,  
Pete

---

<div class="post-metadata">

### Author: ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)
#### Post date: [February 22, 2023, 8:44pm UTC](https://community.localwp.com/t/locating-locals-bundled-php-master-versions/35591/2 "2023-02-22T20:44:31Z")

</div>

> [@kaleidografik](#):
>
> PHP executable not found

Hi @kaleidografik

It sounds like you might be running into the same thing these users did here:

> [@How to link LocalWP PHP and Composer installations to VSCode?](http://community.localwp.com/t/how-to-link-localwp-php-and-composer-installations-to-vscode/30534/3):
>
> I use PHP Debug extension (by Xdebug) in VSC. I figure it out that deletting all files launch.json in .vscode from Local public folder and applying again ADD RUN CONFIGURATION TO VS CODE from Xdebug + VS Code seems to work. I have managed to start debugger an apply a breakpoint successfully by opening in VSC menu File \> Open Folder in root Local Public folder . So far it works.

If you’re still having trouble let us know!

---

<div class="post-metadata">

### Author: ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)
#### Post date: [May 23, 2023, 8:44pm UTC](https://community.localwp.com/t/locating-locals-bundled-php-master-versions/35591/3 "2023-05-23T20:44:46Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
