Can anyone please help me on how to install php-opencv (https://github.com/hihozhou/php-opencv) in the windows operating system. I have installed php 7 and opencv 3.3 that are prerequisites for php-opencv.
Please help me with the installation steps or any ideas on how to install.
I couldn't find the windows installation help in http://phpopencv.org/zh-cn/docs/install.html
Thanks for the help.
Stackoverflow is a community that helps coders and developers who has struck into an issue and needs experts help to resolve it. Its not a Q and A forum.
Coming to your issue, I hope you need to install opencv with PHP in windows platform. Assuming this is correct, you can check the OpenCV-for-PHP for examples. This is a PHP extension wrapping the OpenCV library for image processing. It lets you use the OpenCV library for image recognition and modification tasks.
You can also check these threads for more information
Installing OpenCV as php extension under Windows
Is there any way to integrate OpenCV with PHP?
Also please make sure in future, try something and post it in stackoverflow along with the issues you are facing.
Related
hoping someone will be able to help me.
I'm trying to install ImageMagick on a (Linux) server hosted at 1&1. I've managed to install ImageMagick itself, but I can't for the life of me manage to install the PHP PECL extension, and can't figure out if it's even possible without 1&1 doing it for me.
What do I need to have access to to be able to install the PECL plugin? Do I need access to the PHP installation itself? Do I need them to activate the extension for me? I was on the phone with them now, and they didn't seem very willing, but at the same time I'm pretty sure the guy I spoke with didn't really have a clue what this was about anyways.
Would be extremely thankful for tips!
I need Openshift Online to get the PHP PECL extension V8Js running for letting React.js execute server side Javascript from PHP. Are PECL extensions now enabled? If yes, how can I do that? The last I saw was a feature request for this from 02.2014. But I did not get information if in the meantime something has changed.
25.07.2015: I'm a step further. Corey pointed me to a promising direction. Did not know, that PECL is some kind of PEAR. Both seem compatible to openshift. I added 'v8js' to the .openshift/pear.txt file and when git pushing the app the console talked to me. I tried to install v8js with 'pecl install channel://pecl.php.net/v8js-0.2.0' but the compiler could not find V8, console said:
checking for V8 Javascript Engine... yes, shared
checking for V8 files in default path... not found
configure: error: Please reinstall the v8 distribution
So, how do I find the path to V8, and how do I know, if it is already there? If not there, how do I get it?
26.07.2015: Did not manage to install V8. I tried to do it like described in the Google docs. The compilation takes 600MB! and I am running out of quota. Maybe I may need to upgrade python version too, since the depot_tools require a more recent version. So, this is very complicated right now. I am asking myself, if I am on the right track. I would still prefer the mainstream PHP way with V8Js for serverside Javascript instead of node.js.
What shall I do? another shared hosting (search hard)? Cloud hosting, like bitnami and Amazon AWS? Is there still hope with openshift? Virtual, managed server? I am confused.
Have you tried reading through the section of the Developer Portal about PHP cartridge dependencies? https://developers.openshift.com/en/php-getting-started.html#step3
The Openshift Online support immediately answered my question: "Sorry, we do not have the V8Js PECL extension at this time".
But from the hints of corey112358 and N.B. and own experience and from internet research I additionally learned that it's a hassle to make that extension run or find hosting support, if you are not a Google engineer who can install v8 or if you have no time or money to run an own server or if you are no expert in V8Js. So, in this case, you may find node.js a more comfortable solution.
every time I try to install php on windows I get a file called php-5.4.8.tar.bz2 I dont know how to install this kind of file can someone help me?
If you are new to PHP, then I would suggest you to use WAMP Server. Link below:
http://www.wampserver.com/en/
Install it, execute it, start working. Real fast and easy. It comes pre-configured with Apache, MySQL and PHP.
You're using the wrong file, you're on Windows not Unix!
This should help:
http://www.php.net/manual/en/install.php
yet, use a wamp server, it's simple and easy to use. enjoy your PHP trip ! :)
In case you're looking for a place to start learning PHP, I highly suggest this simple tutorial:
http://www.w3schools.com/php/
It's a very straight forward tutorial that'll get you started with PHP in no time!
You have downloaded the installation package for Unix based systems. You want to download the Windows Version. Note that you will also need to download an install Apache with this.
You may find it easier to install a full development package. I recommend WAMP or XAMPP. These contain all the tools you need to get started, including Apache, PHP, and MySQL.
Compressed archive created by bzip2, a file compression program often found on Unix-based systems; incorporates the Burrows-Wheeler compression algorithm as well as Run-Length Encoding (RLE) for high levels of compression; often used for Linux software package distributions.
Info about .bz2
You can unrar it using winrar
I don't know it is the right place to ask this question but still for me it is the best place to ask question so i am asking this
"My Aim is to install alternative php cache (apc) on my website (hosted by dreamhost) "
My problem is it is not installing by following the wiki http://wiki.dreamhost.com/Pecl_APC .That wiki clearly specified that i need to run a custom php install in order to install APC but whyy?? isn't there a way to install APC in existing php version .My site uses php 5.2.17. Please help me i am stuck into this from a very long time now.The dreamhost wiki is not helpful at all i need answer from someone who has installed APC on their server please help
thanks in advance
I guess you need to install a custom PHP because APC is a plugin that to configure needs compiling with PHP. So I guess dream host do not want to give you access to the default installation.
Did you try installing the custom PHP?
What error have you come across?
I need to run HipHop PHP on a Windows based development environment. Im running Windows 7, I know the version located at facebook's repository is built for Linux, however I need to run it on Windows.
Some things to consider:
I don't want to install a Virtual Machine, I have VMWare, but it would be terrible to install it only for that
No CyWin either...
Anyone can help?
It is not possible to run HipHop on Windows.
Here's a quote from Scott MacVicar mailing list post on the subject:
We currently have no plans to add
Windows support, if someone within the
community comes up with a branch or a
patch that provides this then we'll gladly accept it.
There are two options for you:
Try compiling it yourself. If it fails, fix the code so it will compile.
Consider if there's another way to solve your problem (i.e., other tools than HipHop).
What have you done to solve your problem? Why did you conclude that HipHop was the right solution for your problem? What errors did you bump into when trying to install HipHop? These are such questions that you probably should ask yourself. They might help you to figure out how to solve your problem.