Page 1 of 1

Need help upgrading to Php 7

Posted: Wed Sep 23, 2020 8:09 pm
by bnoble
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

Re: Need help upgrading to Php 7

Posted: Fri Oct 09, 2020 10:09 am
by jerrielm
Hello!

Follow this link to get your PHP updated.

viewtopic.php?f=8&t=15154

Best Wishes!

Re: Need help upgrading to Php 7

Posted: Sat Oct 24, 2020 10:50 pm
by bnoble
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.