Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-09-07 16:10:13

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Textpattern on PHP5.6

I’m leaving this here for folks who install Textpattern on PHP5.6 and see deprecation warning notices during installation.

Two notices are displayed when the current SVN (development) version of Textpattern is installed. They are both informational notices and should not be interpreted as errors or similar. The first notice is shown after the database credentials are submitted – i.e., the Checking database connection step:

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /[...]/textpattern/setup/index.php on line 291

The second notice is shown after the database tables are populated – i.e., the That went well! step:

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /[...]/textpattern/setup/txpsql.php on line 31

In both cases the [...] refers to the file system path to the website. I’ve raised issue #426 for completeness. Initial admin-side testing hasn’t yet shown any PHP5.6-specific issues in normal operation, which is very encouraging.

Last edited by gaekwad (2014-09-07 16:17:54)

Offline

#2 2015-03-10 08:26:32

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: Textpattern on PHP5.6

Hi,
One.com is moving to PHP5.6.
Could I upgrade to the current released version, or should I use the SVN version?
Thanks…

Last edited by NicolasGraph (2015-03-10 09:50:38)


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#3 2015-03-10 10:56:40

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Textpattern on PHP5.6

I haven’t yet found any snags with PHP 5.6 and Textpattern 4.5.7 in real world use, so I will +1 using 4.5.7 for now.

Offline

#4 2015-03-10 13:24:16

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: Textpattern on PHP5.6

Ok, thank you for your prompt answer!


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

Board footer

Powered by FluxBB