Environment :
Cent OS 6.9
PHP 5.4
nginx
I'm trying to install pdo, when executing
pecl install pdo
I got error messages like this :
I have googled a lot, but I still don't get it. I need at least a pointer on where I should look, thanks in advance.
I decided to remove php 5.4 then reinstall using this link : PHP 5.4 installation guide, thanks to Alex Howansky for your help, reading your "custom compile" answer gave me an insight to reinstall it, and it works good now, I don't have to install the pdo extension via pecl.
Hopefully this will help everyone who's having the same problem as mine.
Related
Tried upgrading to PHP 8.1.8 and then made changes to php.ini file for "extension_dir" but it's giving me the above error.
I do not understand how to resolve this. can Anyone help me out here?
Okay, so I'm new to PHP and had to figure out understanding the error for quite a longer time than required.
The problem was basically I had uninstalled redis extension (through pecl) and simply installed redis again using brew.
So then, I installed redis extension through pecl using arch -arm64 sudo pecl install redis and was good to go.
I'm stuck for a couple of hours now, I want to use Cloud Fire store on domains on my Plesk Server, but I can't get it to work.
I followed the steps from https://cloud.google.com/php/grpc
and a lot of other tutorials, but on all I get errors.
I managed to update the OS PHP version of CentOS, but still no luck.
What I want is that PHP Version 7.2.14 works with gRPC (I already added extension=grpc.so to the php.ini)
But there really isn't a any good documentation on Plesk and gRPC
What errors are you getting? It's during installing grpc.so or it's installed but the script can't load it?
Also, from the link you give, "CentOS/RHEL 6" is not supported.
In my case help this
Install Pecl PHP for CentOS https://stackoverflow.com/a/31558558/1932494
Then run: pecl install grpc
For some reason I need to downgrade the php5.4 to 5.2.6 I've already manually installed the php5.2.6 after compiling it was success.. no errors where encountered. but funny thing is that when i php -v it is telling me that php is not installed.
Sever setup
default apache httpd is installed.
removed php5.4 and downgraded it to php5.2.6
I've already tried everything I found over the net but still can't figure out what I have missed along the way.. I'm just a newbie here and your expert advice will really help.. Thanks in advance..
Cheers
I'm using PHPStorm 9 on Mac OSX Yosemite 10.10 and when I try to open the project in the browser it returns a "502 Bad Gateway" error.
In PHPStorm it says php-cgi not found
Please ensure that configured PHP interpreter built as CGI program (--enable-fastcgi was specified)
I followed the answer by GotchaRob in this question, but it didn't help.
Unfortunately I can't post comments yet, so I've created a new question.
I would really appreciate if someone could provide some help.
Thank you.
i fix this problem with this solution
http://barratmp.blogspot.ru/2014/10/the-core-yosemite-php-version-is-5.html
but i install only php5.6
brew install homebrew/php/php56
after installation pointed the way to php6.5 in phpstorm
I couldn't make it work with p.Omelchenko's solution, so I tried what is suggested in this website by aswin_0348 and it worked like a charm!
Just sudo apt-get install php7.3-cgi
I'm trying to install zorba php extension on windows and I am having all sorts of problems. I have installed the zorba binaries on my computer, but when I try to install the PECL package (pecl install zorba-alpha) I get the following error "ERROR: the DSP zorba.dsp does not exist".
I've tried searching for zorba_api.dll or zorba_api.so in order to just bypass the pecl install process, but no luck.
If anyone can tell me how to get the zorba extension installed on my windows php I will be eternally grateful. Alternately, if someone knows of another xquery solution for PHP that I can install, I will be equally excited and appreciative.
I believe that the following resource will help you: http://dl.dropbox.com/u/1487285/php/php.html
Please let me know if it works.