PHP update needed

Web hosting discussion, programming, and shared and dedicated servers.
55 posts Page 6 of 6
by duckseed » Sun Jul 26, 2020 6:10 am
I need help updating my php to at least 5.6 for Wordpress.
I know I have to create a text file with the 2 lines of code in it. (I pasted the lines into a Word doc and then saved it as a Plain text file - correct?).
I don't know how to access the root directory and then where I drop in the text file.
Can I access the directory in the Wordpress dashboard?
Can anyone tell me the steps I need to take?
Ele
by westcot » Mon Nov 09, 2020 11:36 pm
I have read through all these answers and questions and cannot figure out how to update my site to PHP 7. I cannot figure out where this htaccess file so I can update it. Can anyone explain this even more simply and not just post a link that don't seem to help me either. is there a way I can find it on my wordpress site? Thank you for any help
by joemuller » Tue Nov 10, 2020 9:59 am
westcot wrote:
I have read through all these answers and questions and cannot figure out how to update my site to PHP 7. I cannot figure out where this htaccess file so I can update it. Can anyone explain this even more simply and not just post a link that don't seem to help me either. is there a way I can find it on my wordpress site? Thank you for any help


Here's a way to switch your site to PHP 7 by editing the htaccess file through Wordpress.

1.) Install the WP Htaccess Editor plugin.

Image


2.) Enable the plugin.

Image


3.) Click 'WP Htaccess Editor' under the 'Settings' menu on the left-hand side.

Image


4.) Find the line that begins with 'Action php-cgi' and change the it to be this:

Code: Select all

Action php-cgi /cgi-bin/php7


Image


5.) Click 'Save Changes'.

Assuming everything goes well, you should be able to log out of the Admin panel and view your site normally.

-- Joe M.
Sonic System Operations
I'm a proud employee of Sonic.net! :-)
by westcot » Tue Nov 10, 2020 12:19 pm
Thank you so so much for making it so very simple. I did it! I did the test before saving and it was good to go. But, when I saved changes, I got the big giant X that my site will not be accessible and had to restore the original php. I'm bummed that I cannot seem to get my site to PHP 7. Do you have any suggestions why this is not working? I've updated all my plug ins and my layer slider says it's the latest version.
by ankh » Fri Nov 13, 2020 11:49 pm
If I were to post a request offering to hire someone to fix this for me, what would be a fair price to do the job? Could Sonic vet people who could be relied on to be hired to do this kind of help?

I'm old, and I've gootten increasingly tired of messing with this kind of stuff.

I don't have actively used web pages, just a couple set up in advance for possible future use.
55 posts Page 6 of 6

Who is online

In total there are 4 users online :: 1 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 964 on Tue Sep 29, 2020 11:23 pm

Users browsing this forum: Bing [Bot] and 3 guests