HI All,
So I have tried and failed to do this before but there must be people out there who have managed to do this.
I would like to install wordpress locally and just have a play with to try and learn how it works. However I am having issues... I first tried installing LAMP server a while ago think I then uninstalled it. Trying installing separately which but failed to get php to successfully install.
I attempted to remove this package with remove --purge and then autoremove to get rid and start again. I tried to install XAMPP again apache installed fine but when I try and access phpmyadmin it fails and just throws an error saying it doesn't exist. I have tried googling but most of what I found relates to ubuntu and/or remote server stuff nothing about installing it locally.
I have downloaded wordpress and looked at codex but had no luck... (I'm sure it wasn't this difficult on windows...)
So a couple of questions:
1. how do I remove everything and start again?
2. Should I use LAMP or XAMPP?
3. How do I get wordpress to work on linux? I tried changing the folder/file permissions on the folder containing XAMPP but just shows the plain file so php isn't installed correctly/configured properly.
4. I tried mysql server but as I have attempted to do this before there is a root password set but have no clue what it is can I reset it or do I need to delete and try again?
If anyone could me in the right direction I'd be most grateful because I'm clearly going wrong but I don't know enough to understand how and why.
So er.. help...
Thanks
Install LAMP or XAMPP and Wordpress - unable to install - help required [SOLVED]
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Install LAMP or XAMPP and Wordpress - unable to install - help required [SOLVED]
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Install LAMP or XAMPP and Wordpress - unable to install - help required
https://puolanka.info/goto/apache-ja-ph ... int-18ssa/
To remove LAMP and PhpMyAdmin :
Code: Select all
sudo systemctl stop mysql
sudo systemctl stop apache2
sudo apt-get purge phpmyadmin mysql-server apache2
sudo apt-get autoremove
sudo apt-get clean
Code: Select all
sudo systemctl stop mysql
sudo dpkg -P mysql-server mysql-server-5.7
sudo apt-get autoremove
Code: Select all
sudo apt-get install apache2
sudo apt-get install mysql-server
sudo apt-get install phpmyadmin
Code: Select all
sudo usermod -a -G www-data your_username_here
sudo chgrp -R www-data /var/www/html
sudo chmod -R g+w /var/www/html
To remove XAMPP, delete its folder from
/opt
Re: Install LAMP or XAMPP and Wordpress - unable to install - help required
HI there,
Thanks for the reply. I think I managed to install everything correctly however there is now an issue with permissions. I set the privileges as you suggested above, however I am now unable to save files in /www or /html folders which is where I need to add them to be able to run local files. So which bit do I need to change to fix this?
Thanks for the reply. I think I managed to install everything correctly however there is now an issue with permissions. I set the privileges as you suggested above, however I am now unable to save files in /www or /html folders which is where I need to add them to be able to run local files. So which bit do I need to change to fix this?
Re: Install LAMP or XAMPP and Wordpress - unable to install - help required
The easies way is to use symbolic links from yourhistorygirllfc wrote: ⤴Sun Mar 18, 2018 12:09 pm HI there,
Thanks for the reply. I think I managed to install everything correctly however there is now an issue with permissions. I set the privileges as you suggested above, however I am now unable to save files in /www or /html folders which is where I need to add them to be able to run local files. So which bit do I need to change to fix this?
$HOME
directory. An example mysite1
:
Code: Select all
mkdir mysite1
Code: Select all
sudo ln -s $HOME/mysite1 /var/www/html
Re: Install LAMP or XAMPP and Wordpress - unable to install - help required
Ah yeah duh symbolic links should have thought of that.
Sorted. Thanks!
Sorted. Thanks!
Re: Install LAMP or XAMPP and Wordpress - unable to install - help required [SOLVED]
Pahh, that was easy. I think for the first time ever things just worked as expected.
Could maybe someone update this tutorial https://community.linuxmint.com/tutorial/view/486
It's the first search engine hit with "Linux Mint LAMP" and seems to be very outdated.
Could maybe someone update this tutorial https://community.linuxmint.com/tutorial/view/486
It's the first search engine hit with "Linux Mint LAMP" and seems to be very outdated.
Re: Install LAMP or XAMPP and Wordpress - unable to install - help required [SOLVED]
Maybe that will happen if someone contacts the person who wrote it.berndv wrote: ⤴Sun Sep 09, 2018 1:01 pm Could maybe someone update this tutorial https://community.linuxmint.com/tutorial/view/486
It's the first search engine hit with "Linux Mint LAMP" and seems to be very outdated.
If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!