Is MariaDB 10.0 series compatible with PHP 5.6.10? - php

Currently I am using MariaDB version 5.5.45 on CentOS 5.11 x86_64. Currently site has PHP version 5.3.29 and my forum site on this same server uses PHP version 5.6.10. My forum site is built using vBulletin version 4.2.3. So, I want to know whether it is safe to upgrade MariaDB 5.5 to 10.0 series? And is MariaDB 10.0 stable version compatible with vBulletin 4.2.3 and PHP 5.6?
I have tried a lot to get information about it on MariaDB official site and vBulletin but can't get sufficient and reliable information. It would be great if anyone can help me for this.

I would expect them to be compatible, with one exception... Do not use the mysql_* interface in PHP. Only use mysqli_* or PDO. Your homework is to see what interface vBulletin uses. (Glance at the code, if possible.)

Thanks Rick.
From vBulletin support, I came to know that vBulletin 4.2.3 is compatible with MraiaDB 10+ series. However, vBulletin 4 does not have official support to MariaDB 10+. VB 5 has offical support to it.
Also, I have upgraded to MariaDB 10.0.21 and it is working fine without any problem with my vBulletin 4.2.3 and PHP 5.6.10 and also on site having PHP 5.3.29. There is only one change I have to do for this is, I have to change database user's old passwords to new ones before upgrading as MariaDB 10 uses different scheme to save database user's passwords.
I think this information can be helpful to others. :-)

Related

Can i upgrade to PHP 7 and MySQL 5.7 - TYPO3 4.5 CMS

I want to use wordpress on my webspace, and need to upgrade to PHP 7 and MySQL 5.7 for this.
But I still have another website on my server created with TYPO3 4.5 CMS (which is using PHP 5.2.x-5.3.x and MySQL 5.0.x-5.1.x).
So I am not sure, if an upgrade in PHP and MySQL will damage my typo3 website or if still everything will work?
Hope to hear from you soon, thanks a lot!
TYPO3 4.5 will not work with PHP7
TYPO3 4.5 is out of support (even ELTS support has ended long ago). Therefore revealing your domain is a great security risk
update your TYPO3 installation, at least up to 7.6 LTS (which is currently the lowest supported version and also capable running with PHP 7) (upgrade path is 4.5 -> 6.2 -> 7.6)

php extension compatability with php 5.6.6 or higher

Is any one installed the following library or extension (curl,libcurl,pearl,pecl,mongodb driver for php) with php 5.6.6 or higher not 7 in Ubuntu 14
I have used all of this with php 5.5 now I afraid of version compatibility,
if any one ensure me to can I migrate from Ubuntu 12.0.4 to 14 and php 5.5 to 5.6.6 or higher ?
The library or extension are third party softwares which they are developed by there own and able to bind in PHP or any other language.
E.g. CURL library is developed in C and it can be used or bind in many different languages.
Also it is good to stay always up-to date, while upgrading to new version E.g PHP, you can check the change-log of version and base on that you can understand, Is any library supporting change or not.
Many Web Servers are always try to upgrade or staying latest versions of languages or you can also inform them to upgrade server base on requirement and they will do, so it is no worry about server configuration.
From my system I upgraded from Ubuntu 12.4 to 14.4 and currently PHP version is 5.5.9 and every library is working fine.
And thing is that when the language version upgraded some good stuff also come, some bugs are fixed. So its cool stuff to always stay up

WordPress requirement

I'm newly use WordPress and want to install WordPress on web host.
But I'm confuse in version selection. My web server support PHP Version 5.4
Suggest me which version of WordPress can run on above php version.
According to this site, the minimum to run wordpress is PHP v 5.6 although you could run it on 5.5 but without support.
The website says that:
Note: If you are in a legacy environment where you only have older PHP or MySQL versions, WordPress also works with PHP 5.2.4+ and MySQL 5.0+, but these versions have reached official End Of Life and as such may expose your site to security vulnerabilities
So, I'm quite sure that PHP 5.5 and below may not supported and/or deprecated but still works!

Upgraded from PHP 5.3 to PHP 5.6.5 and now no php_oci8.dll

I use php_oci8.dll in our application to access an Oracle 8 database server. I upgraded our PHP version from 5.3 to 5.6.5 and now there is no php_oci8.dll in the ext/ folder.
Can I just copy it from the old version?
php_oci8.dll is a very old library used with very old version of Oracle
Now there is a newer version for this library, like php_oci8_11g
The question is : what is the version of Oracle that you use ?
From http://php.net/manual/en/oci8.requirements.php
The OCI8 1.4 extension is included with PHP 5.3, PHP 5.4 and PHP 5.5. It is also available from PECL.
Read: not incliuded in PHP 5.6 (which is a good thing, not pulling in every single DB interface into the main tree)
Just download that stuff from PECL.
You might need to rebuild it from source, though, if whatever Oracle DB client Libraries you use don't match the needs of the OCI8 in its current version
EDIT: Don't do this, OP. Are you really using Oracle 8i? That has seen its last update in 2003 and should not be used for security reasons, any more. Seriously, how do you even run this on a modern Operating system? Or do you have a Windows XP machine running as a server exposed to the internet somewhere?!

What problems can arise if php mysql client doesn't match the mysql server version?

I have two installations of mysql server 5.1.32 and 5.0.77 (same machine, os x leopard). My php mysql extension is compiled against 5.0.77 (that was the easiest thing to do, and I did it after installing 5.1.32). I'm using the 5.1.32 installation since that's what I compiled my python MySQLdb extension against. I don't code in php much if ever. My main use of the php installation is phpmyadmin. phpmyadmin works in this way against the 5.1.32 mysql server but shows a warning:
"Your PHP MySQL library version 5.0.77 differs from your MySQL server version 5.1.32. This may cause unpredictable behavior.".
My question. Can I expect any serious problems from phpmyadmin with this kind of setup?
I'm using the latest version of phpmyadmin, and it connects thru a tcp connection (not socket file).
You shouldn't have any problems, all the queries are sent over TCP, they are all pretty much standard.
I think the only bad thing is that you can't use ceratin features.
If the developers are respectable, using an older client version on a newer server version shouldn't ever cause issues with any software.
Using a newer client version with an older server version may cause issues depending on the developers policies.
You should be ok however some functions/bugs/quirks could differ between the two versions. I would recommend looking at the MySQL's changelog from version 5.0.77 up to (and past if you have time) 5.1.32.
There was an issue with MySQL user's passwords stored between a version of MySQL 4.11 and up connecting to a version lower than that. Since you're this far I'm sure that's not it. For reference it was an easy fix involving updating the user's password with OLD_PASSWORD().

Categories