Page 1 of 1

Cant seem to find a update word press install guide? Please help will pay a small fee for your time

Posted: Fri Dec 01, 2017 7:23 am
by ravenwarsong
I have spent around 6 hours trying to get it to work
Error establishing a database connection thats about as far as I cant seem to get it to work right

All the guides I seem to find dont work I guess php was updated or changed, and the guides are yet to be updated?

I have setup word press on amazon ec2
http://ec2-18-217-38-201.us-east-2.comp ... p&reauth=1

I all so set up word press using Ubuntu server (x86)

i used Ubuntu server for arm and after a apt-get dist-upgrade it broke the kernel and just boot looped

so I changed to
RASPBIAN STRETCH LITE that seems stable
I have had no problems updating it

here is a example of a guide i used but there more or less all the same

https://projects.raspberrypi.org/en/pro ... -wordpress

all the guides use this for php
sudo apt-get install php5 libapache2-mod-php5 -y

I just get this so it clearly broken or changed

Reading package lists... Done
Building dependency tree
Reading state information... Done
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

Package libapache2-mod-php5 is not available, but is referred to by another pack age.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

I did setup php but i was a random command I found.

I dont know Linux well enough to try to trouble shoot this , Sorry for the bad spelling its a bit late here.

I have a good working backup of my sd card before the install im able to setup ssh and get in that way.

If some one knows of a good up to day working guide Im sure I can figure it out. its very hard to figure out with some ver of php working and others not.

Thanks for taking the time to ready my post

Re: Cant seem to find a update word press install guide? Please help

Posted: Fri Dec 01, 2017 12:53 pm
by topguy
Seems like PHP7 is the version to use on Stretch. ( ref: https://www.techcoil.com/blog/setting-u ... emp-stack/ )

So use "apt-cache search" command to find the new package names you need.
for example:

Code: Select all

apt-cache search apache2-mod-php
Basic Debian Stretch guides usually work well on Raspbian also:
https://linuxconfig.org/how-to-install- ... etch-linux

Re: Cant seem to find a update word press install guide? Please help

Posted: Fri Dec 01, 2017 8:15 pm
by ravenwarsong
word press never starts
php is running
● php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor prese
Active: active (running) since Fri 2017-12-01 20:02:42 UTC; 8min ago
Docs: man:php-fpm7.0(8)
Main PID: 498 (php-fpm7.0)
Status: "Processes active: 0, idle: 2, Requests: 0, slow: 0, Traffic: 0req/se
CGroup: /system.slice/php7.0-fpm.service
├─498 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf)
├─532 php-fpm: pool www
└─533 php-fpm: pool www

Welcome to nginx! works but i should be seeing a word press sight


/wp-login.php
gives me

404 Not Found

nginx/1.10.3

Re: Cant seem to find a update word press install guide? Please help

Posted: Sat Dec 02, 2017 1:15 am
by ravenwarsong
if any one can help me out IM happy to pay a little for you time

Re: Cant seem to find a update word press install guide? Please help will pay a small fee for your time

Posted: Sat Dec 02, 2017 9:36 am
by B.Goode
This appears to be discussed, along with a workaround that is acknowledged to work, on the github Issues page for the Raspberry Pi Foundation documentation on this topic.

https://github.com/raspberrypilearning/ ... /issues/21

Please let me know where to submit my invoice.