Phpize under Windows

前端 未结 2 2032
一整个雨季
一整个雨季 2020-12-18 07:06

I\'m trying to follow the instructions here: https://code.google.com/p/php-sweph/wiki/build to compile a PHP extension. My OS is Windows XP.

I\'m unable to find \"ph

2条回答
  •  悲哀的现实
    2020-12-18 07:51

    In windows compile script design to compile php itself and should add your extension to compile with php ...

    On Windows, you don't call phpize but instead you call buildconf.bat.

    Open a Visual Studio developer command prompt (either 64 or 32 bit), and run

    cd C:\php-src buildconf.bat --add-modules-dir=C:\MyPhpExtensions buildconf.bat will scan each subfolder of C:\MyPhpExtensions looking for config.w32 files.

    It will then generate a configure.bat.

    You can read more here: Compile an extension on Windows

提交回复
热议问题