WordPress Installation not working
I am trying to install wordpress for one of the sites on my web-server. I am a novice in linux and the whole world of web-servers. But I have had a pretty good experience setting up my linode so far. I have followed the tutorials closely and I have been able to set up the whole LAMP stack. I had a bit of an issue installing php. Basically the tutorial (
Package php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
I subsequently tired "sudo apt-get install php7.0 php-pear" which worked with the last line reading "Processing triggers for php7.0-fpm (7.0.15-0ubuntu0.16.04.4) …" I then ran "sudo apt-get install php-mysql" which also seemed to work with the last few lines showing "Setting up php-mysql (1:7.0+35ubuntu6) …
Processing triggers for php7.0-fpm (7.0.15-0ubuntu0.16.04.4) …"
So i felt that my php installs where good. So i tried to go ahead an install word press. I currently have 6 websites in my public html folder. From what I understand about wordpress is that I can load and use wordpress as a CMS for any one of my websites. So I tried installing it following the linode tutorial
(
So thats my problem. I do not know where I went wrong. I have a hunch, especially after my incorrect php install command, that the linode tutorial is about of date or in correct or something. Also since I followed the Linode Wordpress tutorial, I haven't been able to edit any files in any of websites in my var/www file. I also have a hunch that the permissions i had set have been changed. If any one can help it would be great
1 Reply
The other problem you have is that PHP is not configured correctly on your server! You need to login via SSH / terminal and try to run PHP (assuming Debian / Ubuntu):
$(which php) -v
"$(which php)" runs the PHP interpreter wherever it is installed
"$(which php) -v" outputs the version of the PHP interpreter
If this command works, you can use PHP on the command line but not in your webserver. Please provide feedback for further help.