installing grpc extension for php on ubuntu failed [closed] - php

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed last month.
Improve this question
command: sudo pecl install grpc
I tried installing grpc extension for php on ubuntu with the above command. The installation started then got stuck at some point, after which, it failed and outputted this error:
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [Makefile:1428: src/core/ext/xds/xds_server_config_fetcher.lo] Error 1
ERROR: `make' failed
how do i resolve this ?

SOLUTION
Resized the droplet, from 1gb to 4gb, and it worked; build completed.
I hope this helps someone.

Related

Can't install HTML_QuickForm2 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have been trying to install HTML_QuickForm2. I ran the command sudo pear install HTML_QuickForm2. Unfortunately it gives me error that is:
WARNING: failed to download pear.php.net/HTML_QuickForm2-, additionally the suggested version () is the same as the locally installed one.
install failed
When I checked the usr/share/php/ and usr/share/php/PEAR, I did not see that HTML_QuickForm2 is installed in this location. So, I retried but am getting same error. Additionally, I have installed PEAR recently, is there anything to configure in php.ini for PEAR?
P.S. I am using the OS Ubuntu 14.04.
I'm on Ubuntu 14.04 too and just installed it using sudo pear install HTML_QuickForm2-2.0.2
And it got installed at this location:
/usr/share/php/HTML/QuickForm2

"Mcrypt PHP extension required" error while trying to install laravel framework on ubuntu [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm trying to install laravel framework on ubuntu. It is showing error like
"Mcrypt PHP extension required. Script php artisan clear-compiled handling the post-install-cmd event returned with and [RuntimeException]
Error Output: an error"
You need your php to be installed with Mcrypt PHP extension
Compile PHP with the --with-mcrypt[=DIR] parameter to enable this extension.
DIR is the mcrypt install directory.
more info here

phpmyadmin offers the file for download instead [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a problem: on my server phpmyadmin doesn't work anymore.
it offers the file db_structure.php for download instead of parsing it .
once downloaded it has 0KB
I already removed it with atp-get purge and reinstalled it, but still the same
what could be wrong?
maybe a module missing that phpmyadmin is using? cause all other php files work on my server
I had same problem.
Try following command. This is solved my problem.
sudo apt-get install libapache2-mod-php5
In general, download instead of running is caused by not installed/enabled php module.
You may also enable the php apache module using:
sudo apt-get install php
sudo a2enmod php
I found out the reason:
i had the beta version of googles spdy:// protocol included on my server and this caused the error.
i disabled it in
/etc/apache2/mods-enebled/
and everything went fine again

Can't load Memcache library in LAMPP [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I've spent last couple of hours trying to add the Memcache extension to my PHP (on LAMPP, using Ubuntu 11.10 amd64).
I followed this to tutorial (and some others), always I had errors:
Warnings on step-5:
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
Warning on step 7:
XAMPP: Stopping Apache...
Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/memcache.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/memcache.so: wrong ELF class: ELFCLASS64 in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/memcache.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/memcache.so: wrong ELF class: ELFCLASS64 in Unknown on line 0
XAMPP: Starting Apache...
Can anyone please help me solve this issue? I haven't been able to find any solution to this problem which worked for me. Thanks for your time.
The commands are as given:
Edit:
Command that led to first 2 warnings (ran both the commands inside the memcache folder which was created on extracting the tar folder via the tar -xzf command):
/opt/lampp/bin/phpize
Command which led to the second 2 warnings:
/opt/lampp/lampp restartapache
I followed the tutorial about Installing memcached on ubuntu 10.04 and was able to set up memcache on my machine. After setting it up, I used
sudo /etc/init.d/memcached restart ; sudo /etc/init.d/apache2 restart
command to load both services (apache and memcache). You may see this tutorial as well.
I put my pages at the location /var/www.

make failed in installing intl on php 5.3.8 in linux [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
while executing a pecl install intl on linux i am getting this error please help
/tmp/pear/temp/intl/collator/collator_class.c:92: error:
/tmp/pear/temp/intl/collator/collator_class.c:96: error:
/tmp/pear/temp/intl/collator/collator_class.c:101: error:
/tmp/pear/temp/intl/collator/collator_class.c:107: error:
make: *** [collator/collator_class.lo] "
ERROR: `make' failed
on php site also there is no solution for this, what i found is that pecl is taking the old version or 32bit intl file. my php version is PHP 5.3.8 (cli)
Looks like the same issue (Installing/enabling PHP Pecl Intl extension on CentOs 5)
There is no accepted answer, but you can try what's suggested and tell if it works.

Categories