How to download & install xampp?
visit the apache firedinds or bitnami.
Download for windows ,or Mac x, Linux
We don’t need xampp for apache or nginx
Install WordPress on xampp windows local
quick steps:
step : 1 download wp files zip at wordpress.org & extract in a apache www/htdocts folder
step2: create a database in phpmyadmin & configure root document or directory mapping
step3: access localhost/wp install
Prerequisites:
xampp /wamp on installed.
Wamp windows specific, xampp for Mac,linux (ubuntu,debian,CentOS,fedora, redhat etc) .
bitnami xampp higher support.
detailed steps:
Visit: wordpress & download zip folder.
-
Make a folder in htdocs called wp.
-
then your address will be localhost/wp or 127.0.0.1/wp
-
Click bitnami in status bar right side of window.
-
click access to MySQL.
you may also know how to create a database.
in phpmyadmin or mysql command line.
create database there along with password.
add database details in wp-config.php
This will avoids error connecting database.
access localhost/wp in browser.
then enter site title, email address.
finally it installs the WordPress with basic theme.
you install new themes & plugins customize later.
you may also interested to know
installing wordpress on cpanel
installing wordpress command line ubuntu /debian.
xampp errors MySQL won’t start
reason: corrupted files in C:\xampp\mysql\data\mysql
Plugin ‘FEEDBACK’ is disabled.
2020-11-18 22:10:54 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2020-11-18 22:10:54 0 [ERROR] Failed to initialize plugins.
2020-11-18 22:10:54 0 [ERROR] Aborting
C:\xampp\mysql\data\ibtmp1′ size to 12 MB. Physically writing the file full;
Solution 1: copy from backup
Copy From …xampp/mysql/backup/… of all files and paste into …/xampp/mysql/data/
except for the ibdata1
solution 2: force recovery
innodb_force_recovery=1
solution 3 rename logfiles
plugin ‘feedback’ is disabled. mysql
[mysqld]
…
feedback=ON
erro gone but
[ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2020-11-18 22:21:14 0 [ERROR] Failed to initialize plugins.
2020-11-18 22:21:14 0 [ERROR] Aborting
remove or rename /var/lib/mysql: or C:\xampp\mysql\data
ib_logfile0
ib_logfile1
aria_log_control
fix mysql not starting in xampp error on port 3306
solution check if any applications / processes / services on running port 3306.
then close them.
quick solution: xampp netstat to view ports using by applications. then close those services in windows services.
linux:
ps aux grep
windows: task manager>>services>> open services
knows apps: skype, bitnami nginx, teamviewer
you also change mysql port number
\xampp\mysql\bin\my.ini file in a couple of places.
There is also a couple of default MySQL port settings in the \xampp\php\php.ini