XAMPP (Cross-platform, Apache, MySQL, PHP, Perl) is an Apache distribution that you can use to create a local web server for web development and testing. It acts like a live web server, allowing you to test your websites and web applications.

You can get it from apachefriends.org/download.html

You’ll need to change the permissions for the downloaded file so that it can be executed.

sudo chmod +x xampp-linux-*-installer.run

chmod 755 xampp-linux-*-installer.run

sudo ./xampp-linux-*-installer.run

XAMPP is installed below the /opt/lampp directory

sudo /opt/lampp/lampp start

sudo /opt/lampp/lampp stop

cd /opt/lampp

sudo ./manager-linux-x64.run

‘this version of PCRE is compiled without UTF support at offset 0’

/opt/lampp/bin/pcretest -C


No UTF-8 support

I found that I must recompile my lampp PCRE with these options:

--enable-utf8 --enable-unicode-properties

To do that I downloaded pcre-8.38 and in the extracted folder I executed the next command:

./configure --enable-utf8 --enable-unicode-properties

make

sudo make install

Then I copied all generated files in the .libs folder to the /opt/lampp/lib folder :

sudo cp .libs/* /opt/lampp/lib

Then confirmed support for UTF-8:

/opt/lampp/bin/pcretest -C


UTF-8 support

Lastly I restarted my lampp (to restart mysql or MariaDB) :

sudo /opt/lampp/lampp restart

===== WordPress =====
Remember to change the file permissions of your wp-config.php. Type the following command to give it read-write permissions.

sudo chown daemon:daemon /opt/lampp/htdocs/wordpress/ -R

sudo chmod a+rw /opt/lampp/htdocs/wordpress/ -R
Living in Tune with Nature's Beat (Earth, Water, Fire, Air, Space)

Leave a Reply

Your email address will not be published. Required fields are marked *