0

Attempting to compile PHP in Windows with Visual Studio 15 (community edition) results in

Checking for bison.exe ... <not found>

All I'm after is a version of php_pdo_sqlite.dll that includes the soundex() function. See this for the PHP 5 method I used.

I do know that VS Code is insufficient, and that installing VS 15 community does not add the path to cl.exe. Because I only need to go through this exercise to get the dll I am grossly unfamiliar with Visual Studio. Where is bison.exe? [And yes, I know that soundex() is in pdo_sqlite in *nix.]

Community
  • 1
  • 1
geoB
  • 4,578
  • 5
  • 37
  • 70
  • It's [this Bison](https://www.gnu.org/software/bison/). It shouldn't be that difficult to locate a Windows version. – molbdnilo Dec 10 '15 at 16:04

2 Answers2

2

It's possible that bison.exe (or the related files) is not on your system. In that case @Dmitry (and others') suggestion is correct. However, another fix is to launch the Developer Command Prompt in VS15 and be sure to run {rootdir}\bin\phpsdk_setvars.bat before you run configure. This solved my issue.

globalSchmidt
  • 1,329
  • 16
  • 28
1

Are you looking for this fellow? It's a parser generator (in case you didn't know) built for windows platform. You'll have to install the binary somewhere in your PATH, so that VS could find it.

Dmitry Grigoryev
  • 3,156
  • 1
  • 25
  • 53