Giter Club home page Giter Club logo

Comments (3)

cmb69 avatar cmb69 commented on June 12, 2024 1

just trying to build postal-php

That won't work out-of-the-box anyway, since config.w32 is missing; see openvenues/php-postal#16 (comment) for some hints in this regard.

what is "C++ dev" is it "VC++ 2017 version 15.9 v14.16"? something else?

First, if you only want to build and don't have the need for the Visual Studio IDE, you can use the Build Tools for Visual Studio. Direct download: https://aka.ms/vs/15/release/vs_buildtools.exe. It is usually suffient to install the "Visual C++ build tools" workload from the installer.

why i need .net for a c php extension?

This is only needed if you want to have support for Dotnet class of the com_dotnet extension.

what about the windows sdk?

The Windows SDK will be installed as part of the "Visual C++ build tools" workload.

what if i need the php extension on an old win7 machine? can i build it on win10? can i build it directly on win7?

The binaries are supposed to be portable (of course, you need the respective VC runtime installed on the other machines).

can i build a win7 ext on linux?

No, cross-compilation is not supported.

See also https://gist.github.com/cmb69/47b8c7fb392f5d79b245c74ac496632c, which is about setting up a minimal build environment for php-src/master (i.e. it uses VS 2019).

Also note, that for building individual PHP extensions, using phpize is the simplest option (although that is not documented yet, to my knowledge). The usage is pretty much the same as on Linux, though.

from php-sdk-binary-tools.

cmb69 avatar cmb69 commented on June 12, 2024 1

This screenshot shows the selection of the "Visual C++ build tools" workload:

Capture

Also note that building PHP 7.4 extensions should also work with VS 2019, but you need respective dependencies (this are not provided by the PHPonWindows team), and using such extension binaries with official PHP binaries may also not be supported.

from php-sdk-binary-tools.

dalehhirt avatar dalehhirt commented on June 12, 2024

Closing as resolved.

from php-sdk-binary-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.