[SOLVED] Tried everything, searched and searched: Php7 (LAMP install)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Tried everything, searched and searched: Php7 (LAMP install)
I am disheartened. For the last 2 months I've been teaching myself all I can about GNU/Linux and have learned so much and even been able to figure out some things on my own with little or no help from a forum or a google search. But I'm a noobie and I am so lost and downhearted right now I have no choice but to come here and beg for help.
Here's what I am trying to do, NEED to do:
I need to get wordpress running locally on my own computer, rather than on a host site, NOT so I can host a website, but for my own practice needs. I also need to have LAMP working so that I can eventually run Joomla and whatever other CMS software to need to learn.
Also, I need to LEARN how to get LAMP working, and I've tried 6 different sites and their instructions and can get apache2 running with the localhost apache page, but I can't seem to get PHP7/myphpadmin to appear on localhost/myphpadmin no matter what I try. I try to get mysql running and something seems to go wrong because I cannot start restart update it, either.
I might need to clean out everything I've done, which I have no idea how to do, and start fresh, but I followed tutorials to the letter.
I am running GNU/Linux Mint KDE 18.2 and so far it's run beautifully, better than 18.1, despite being a beta.
My hardware is Intel Devil's Canyon i5 based with 32 GB RAM, Mint is the ONLY OS installed directly on my SSD, and I do have virtual machines but they aren't involved in what I am trying to do here.
At another site for some reason no one is offering any help, I've behaved well yet I seem to be getting ignored. Im deeply disheartened because I've spent days trying to get this to go.
I would like not only, at some point, to get wordpress working ONLY locally and not as a visible to the world web tool, but eventually know HOW to set UP LAMP for hosting locally when I get to that point, and understanding all the security measures like salting and hashing, which I have no idea about.
Could somebody please help me, I think this forum is my last resort and I have not found a LAMP or php or sql site to go to for help.
Can you post the links to the guides which you have followed?
I've never used wordpress, however a quick search with the terms "wordpress mint" and the second result is: How to install Wordpress on Linux Mint and that instruction informs you to make sure your repository is up to date using sudo apt-get update and then tells you to call sudo apt-get install wordpress. That seem to be very simple instruction.
Perhaps you should consider trying that to install Wordpress.
To go one further, Linux Mint 18.1 Serena which I use has a Software Manager under the Administration category in the Desktop menu and if you search for Wordpress, it finds it and you can install using that method.
Perhaps start with this, and then update us to advise with your progress.
Looks like this is for 'installing' Wordpress alone, not the LAMP stack.
OP - are Apache, MySQL and PHP installed on your machine at this point? If so, then it's likely just a configuration problem.
What exactly happens when trying to navigate to your local server? Are you using 'localhost', '127.0.0.1', the local IP, or something else? What error(s) do you get?
It also might serve you better to post your httpd.conf file. Not sure where it's located in Mint, I would hope somewhere under /etc/.
Looks like this is for 'installing' Wordpress alone, not the LAMP stack.
Yes, you are correct and my apologies for being unclear.
My intention here is to see if signmeuptoo can start with installing that package first and then see what additional problems they face. I do realize there are a number of things they are trying to install. Wordpress seems to not be a big deal to install, and if they have trouble doing that first part, we should start there.
Yes, you are correct and my apologies for being unclear.
My intention here is to see if signmeuptoo can start with installing that package first and then see what additional problems they face. I do realize there are a number of things they are trying to install. Wordpress seems to not be a big deal to install, and if they have trouble doing that first part, we should start there.
Thanks, agreed. Also, in re-reading, if he/she can access the initial 'It's Working' page from Apache, then my money is on PHP not being defined in httpd.conf. If that's the case, that Wordpress install should work immediately after adding it.
Can you post the links to the guides which you have followed?
I've never used wordpress, however a quick search with the terms "wordpress mint" and the second result is: How to install Wordpress on Linux Mint and that instruction informs you to make sure your repository is up to date using sudo apt-get update and then tells you to call sudo apt-get install wordpress. That seem to be very simple instruction.
Perhaps you should consider trying that to install Wordpress.
To go one further, Linux Mint 18.1 Serena which I use has a Software Manager under the Administration category in the Desktop menu and if you search for Wordpress, it finds it and you can install using that method.
Perhaps start with this, and then update us to advise with your progress.
This started with my trying to follow an educational video about how to use wordpress where the teacher explained how to install MAMP in Windows, so I decided I'd attempt to follow along with his video by using a LAMP install and putting Wordpress on my own system so I could follow along, rather than on a host service, but NOT so I could host online.
Looks like this is for 'installing' Wordpress alone, not the LAMP stack.
OP - are Apache, MySQL and PHP installed on your machine at this point? If so, then it's likely just a configuration problem.
What exactly happens when trying to navigate to your local server? Are you using 'localhost', '127.0.0.1', the local IP, or something else? What error(s) do you get?
It also might serve you better to post your httpd.conf file. Not sure where it's located in Mint, I would hope somewhere under /etc/.
Now what happens when I try and load localhost even without the myphp is I get an error page
" This site can’t be reached
localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED "
that is what the page says. it's messed up enough that even trying to access localhost and not even localhost/myphpadmin gives that page.
Yes, as per those pages I posted above, I attempted to install Apache2 (which WAS working), mySQL (which after trying to start/setup was giving various errors that I no longer have to show you), and myPHP which would give up errors telling me to either abort, retry, or ignore.
Looks like this is for 'installing' Wordpress alone, not the LAMP stack.
OP - are Apache, MySQL and PHP installed on your machine at this point? If so, then it's likely just a configuration problem.
What exactly happens when trying to navigate to your local server? Are you using 'localhost', '127.0.0.1', the local IP, or something else? What error(s) do you get?
It also might serve you better to post your httpd.conf file. Not sure where it's located in Mint, I would hope somewhere under /etc/.
I tried running in term this:
sudo find / httpd.conf
I don't know if I did that correctly, but I got no such file or directory
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
It's pretty tough to mess up apache so it won't connect to localhost. There is some fundamental flaw at work. Also, try
Code:
$ locate httpd.conf
But the find command should work also, albeit slower.
You've done so much without checking if anything works, it's nearly impossible now to determine where the problem is. So, I suggest you first try to get apache working. You can start by checking if it's started
Code:
$ service apache2 status
Last edited by AwesomeMachine; 07-19-2017 at 08:13 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.