Xammp showing me an error - xampp

Xammp showing me an error i have reinstall it again but still shows me an error

sudo apt-get install libapache2-mod-php5
Post taken from here : https://askubuntu.com/questions/491629/how-to-install-php-mbstring-extension-in-ubuntu/491631

Related

Why brew install returns "cask is unavailable" on terminal if homebrew's website shows a different information?

I am trying to install this software called Next browser. There is a page about it on brew.sh.
When I run the command displayed on homebrew's webpage on my Ubuntu 18.04 LTS terminal:
$ brew install --cask next
I get the following error message:
Updating Homebrew...
Error: Cask 'next' is unavailable: No Cask with this name exists.
Observation, I am able to sucessfully install other packages like:
brew install hello
Why is this happening?
Is there a way to fix this?
Casks install are only available on macOS because they install macOS-specific .app files.
This probably explain the error you get, although it could be made clearer.

For root access composer not found in centos 7

I installed composer in centos 7.
When I logged in with centos user, if I hit composer -v, it shows that composer is installed.
But after I switch to root access with sudo su, if I hit composer -v, it displays not found.
Can anyone help me? What should I do now?
What you describe are the symptoms of non-packaged install.
If something is available from packages, you should strive to install it using packages where available.
sudo yum install epel-release
sudo yum install composer
# have no problems, have a cup of coffee

Error 'Class 'ZipArchive' not found' in laravel-5.8 with maatwebsite/excel

Error Class 'ZipArchive' not found with maatwebsite/excel export table users in laravel.
I've already tried sudo apt-get install php7.0-zip, but that gives sudo: apt-get: command not found. So is there an other way than sudo apt-get install php7.0-zip to solve it? Or how can I solve the sudo: apt-get: command not found problem?
It looks like you php don't have the zip extension built in. Try this follow step to install a version with the extension:
brew update
brew install php#7.3
brew link php#7.3

'nanomsg/nn.h' file not found on MAC

I want to install nn with LuaRocks on macOS. But when running
sudo luarocks install nn //I use sudo because otherwise I don't have permission to install
I am getting the error
lnn.c:4:9: fatal error: 'nanomsg/nn.h' file not found
include
^ 1 error generated.
How can I resolve this issue?
Brew comes to the rescue.
Run:
brew install nanomsg
This worked for me.

Elasticsearch-PHP needs curl or custom http handler

i'm deploy laravel 5.2 to ubuntu and installed elasticquent lib and elasticsearch 2.3.4 , when i try to figure the result of aggregation :
RuntimeException in ClientBuilder.php line 144:
Elasticsearch-PHP requires cURL, or a custom HTTP handler.
I already install curl using command sudo apt-get install php5-curl and its still display the same error
How to fix it?
Thank you
sudo apt-get install php-curl
Try this, it will install curl as per your version of php.
You must run sudo apt-get install curl php5-curl to install curl and its php extension, if you are using PHP7, you must install php7.0-curl instead of php5-curl

Resources