XAMPP installing red Extension Error Resolution

Source: Internet
Author: User
Tags linux mint

Linux Mint + Xampp Error + ' grep:/opt/lampp/include/php/main/php.h:no Such File Or Directory 'February 8, by khayrattee Wasseem7 COMMENTS

Wanted to install the extension on XAMPP. You execute phpize by running something like:/opt/lampp/bin/phpize. and boooom! You start getting some XAMPP error messages as shown below:

grep:/opt/lampp/include/php/main/php.h:no such file or directory
grep:/opt/lampp/include/php/zend/zend_modules.h:no such file or directory
grep:/opt/lampp/include/php/zend/zend_extensions.h:no such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your autoconf installation and the
$PHP _autoconf environment variable. Then, rerun the this script.

Solution to this Grep Error

You is getting this phpize grep error simply because you has installed the default commonLAMP package For XAMPP, which is the normal final user version. This version is not a equipped, with the source files and libraries, to build, compile and install extensions.
So, what would you do?
ANSWER = Install the Xampp Develpackage, aka the Xampp developmentpackage.

Where to Get the XAMPP development package

You can download the XAMPP Development package (Xampp Devel) on the same download page as the normal one, here! Just "DevelopmentPackage" and click to download! Bingo you have it!

How to Install the XAMPP devel/xampp development package?

simple!
I assume you are already downloaded your package, mine at the time of this writing, is named as xampp-linux-de Vel-1.7.4.tar.gz.

To install, simply execute the following shell Command:sudo tar xvfz xampp-linux-devel-1.7.4.tar.gz-c/opt

–note:this extraction would extract and place those needed development libraries and source file inside your existing Lam pp folder in /opt/lampp/

voila!
(Happy Mint-xampp-ing)

Xampp Install red Extension error resolved

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.