Upgrade PHP to 7.0

Paul Schmehl pschmehl_lists at tx.rr.com
Sun Jun 4 19:24:38 UTC 2017


--On June 4, 2017 at 2:42:51 PM -0400 scratch65535 at att.net wrote:

> [Default] On Sun, 04 Jun 2017 12:10:46 -0500, Paul Schmehl
> <pschmehl_lists at tx.rr.com> wrote:
>
>> Are there any instructions explaining how to upgrade php from 5.6.30 to
>> 7.0? Is it fairly straightforward? Or are there some gotchas one needs
>> to  know about?
>
> php.net has some info, but if you're not doing anything fancy you
> shouldn't have any trouble.  I always mind Tony Hoare's advice
> and avoid the fancy stuff, so when I installed 7.0 instead of 5.6
> everything ran fine.
>
Unfortunately, I had a problem.
 PHP Fatal error:  Uncaught Error: Call to undefined function 
mysql_connect()

I noticed that there was no php70-mysql extension any more. Is there 
something that replaces that?

Paul Schmehl, Retired
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
*******************************************
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell



More information about the freebsd-ports mailing list