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!
Related
Ok, I'm running MAMP 1.9.5, which includes PHP 5.3.5, on my MacBook Pro.
The "intl" extension isn't included/activated and I've tried a lot of different ways to install it ("./pecl install intl" doesn't seem to do it), but can't make it work.
I've also "googled my ass of" but can't find any hints.
Anyone of you that know how to do it? Or, alternatively, have and advice on how to install my own MySQL+Apache+PHP (and include "intl")?
I'm trying to do this to be able to run Symfony2. So if you have any advice on how to install MySQL+Apache+PHP+Symfony2 on Mac, thats also welcome :)
The best way is to download PHP for OSX at http://php-osx.liip.ch/ and then copy the intl.so file from
/usr/local/php5-20121126-100332/lib/php/extensions/no-debug-non-zts-20100525/intl.so
to
/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-20100525/intl.so
Worked like a charm for me for PHP 5.4
I just compiled on mine the other day.
I wrote a self reminder post here: http://szemian.wordpress.com/2011/03/21/compiling-intl-extension-for-mamp/
Let me know if you need further explanation. :)
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.
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.
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?
Ok, I'm running MAMP 1.9.5, which includes PHP 5.3.5, on my MacBook Pro.
The "intl" extension isn't included/activated and I've tried a lot of different ways to install it ("./pecl install intl" doesn't seem to do it), but can't make it work.
I've also "googled my ass of" but can't find any hints.
Anyone of you that know how to do it? Or, alternatively, have and advice on how to install my own MySQL+Apache+PHP (and include "intl")?
I'm trying to do this to be able to run Symfony2. So if you have any advice on how to install MySQL+Apache+PHP+Symfony2 on Mac, thats also welcome :)
The best way is to download PHP for OSX at http://php-osx.liip.ch/ and then copy the intl.so file from
/usr/local/php5-20121126-100332/lib/php/extensions/no-debug-non-zts-20100525/intl.so
to
/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-20100525/intl.so
Worked like a charm for me for PHP 5.4
I just compiled on mine the other day.
I wrote a self reminder post here: http://szemian.wordpress.com/2011/03/21/compiling-intl-extension-for-mamp/
Let me know if you need further explanation. :)