Need help upgrading to Php 7

Web hosting discussion, programming, and shared and dedicated servers.
3 posts Page 1 of 1
by bnoble » Wed Sep 23, 2020 8:09 pm
Hi,
My htaccess file in wordpress has a note in it from Drew that I do not understand. I needed his help to do the last PHP upgrade so I need it again to get php 7 for bobseyes.net.
Appreciate any help on this, thanks, Bob
by jerrielm » Fri Oct 09, 2020 10:09 am
Hello!

Follow this link to get your PHP updated.

viewtopic.php?f=8&t=15154

Best Wishes!
by bnoble » Sat Oct 24, 2020 10:50 pm
I'm still having trouble getting 7 to work.
Here's the note in my htaccess file:
# The below change to Action was made by drew.phillips
# It was necessary to run PHP through this other script
# in order to properly set PHP's document_root so that the
# .user.ini file would be processed for ALL directories, and
# not just /home/www_pages/bnoble/wordpress

#Action php-cgi /cgi-bin/php55
Action php-cgi /cgi-bin/bnoble/bnoble_oc_1.cgi
AddHandler php-cgi .php
----------
So I used Filezilla and went to the bnoble_oc_1.cgi file and changed the 56 to 7 and did a save. I got an error at about 10:30 on 10-24 when I tried to access my site so changed it back.
This is what the file in wordpress says before I change 56 to 7 in that file.
OPT_PATH_TO_PHP=/opt/php56/bin/php-cgi
So I'm not having much luck getting 7 to work and could use some help.
Thanks.
3 posts Page 1 of 1

Who is online

In total there are 6 users online :: 0 registered, 0 hidden and 6 guests (based on users active over the past 5 minutes)
Most users ever online was 999 on Mon May 10, 2021 1:02 am

Users browsing this forum: No registered users and 6 guests