cscott / node-php-embed Goto Github PK
View Code? Open in Web Editor NEWBidirectional interoperability between PHP and JavaScript code within the Node.js process.
Bidirectional interoperability between PHP and JavaScript code within the Node.js process.
I've tried to install on both platforms with a working Visual Studio 2013 but the install fails. I don't understand the exact causes but I think it is a node-gyp related issue. This is the install script that fails:
node-pre-gyp install --fallback-to-build
This is an extract of the console output, if it helps:
...
unpack_libicu_dep
Extracting C:\Proyectos\Clientes\gpsnode\node_modules\php-embed\deps\icu4c-55_1-src.tgz to C:\Proyectos\Clientes\gpsnode\node_modules\php-embed\build\Release\obj\global_intermediate
Traceback (most recent call last):
File "..\..\deps\extract.py", line 15, in <module>
os.utime(os.path.join(dirname, sys.argv[3]), None) # touch
WindowsError: [Error 3] El sistema no puede encontrar la ruta especificada: 'C:\\Proyectos\\Clientes\\gpsnode\\node_modules\\php-embed\\build\\Release\\obj\\global_intermediate\\..\\..\\deps\\icu\\source\\configure'
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" salió con el código 1. C:\Proyectos\Clientes\gpsnode\node_modules\php-embed\build\deps\libicu_action_before_build.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` failed with exit code: 1
...
Any help would be apreciated!
fantastic design, very good, I am wanting embed on my web server with express js to process php pages and I disable Apache, what do you think? put all my code makes use of php7, it will be that once existed one php7 version? how is the project on your point of view? excuse the bad English used the google translator because I speak only Portuguese of Brazil.
This looks like an excellent project! It's just what I want in my JS E2E tests to access my PHP backend functionality to setup test data, truncate tables, etc. Is there any chance of it being updated to support libphp7.1?
Ideally it would use an externally installed library on the system by default, or when compiling from source it would automatically detect it and avoid trying to compile from scratch. I need the embedded library to have access to all of the php modules installed on my system, such as mongodb.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.