Updating MySQL 5.1 to 5.6 [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm learning Ruby on Rails. I'm following a tutorial series to learn ROR4 and he's installing MySQL and MySQL gem.
But I already have
Server version: 5.1.72-community - MySQL Community
Server (GPL) Protocol version: 10
Apache/2.4.4 (Win64) PHP/5.4.12
PHP extension: mysqli
phpMyAdmin Version information: 4.0.4
which came along with WAMP 2.4. It's better to update to latest ones, but how can I update it and do I need to update? If not, how can I use ROR4 with WAMPServer? I'm kinda confused. Thanks for your time!

MySQL 5.1 is since December 31, 2013 in the Oracle Sustaining Support. This means if you have no special payed support contract with Oracle/MySQL you no longer get updates and patches. Therefore it is advised to upgrade to version 5.6 of MySQL.
If you have this installation just to learn Ruby on Rails you can keep it and follow the tutorial. But in this case you should check to get a MySQL gem that works with your version of MySQL.

Related

Upgrade PHP version in project from 5.6 to 8.1 [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 11 months ago.
Improve this question
I need to upgrade PHP version of my project. It is PHP5.6 and I want to upgrade it to PHP8.1. I tried to search for such information but couldn't find it, thus, I want to ask. Is it better to upgrade directly from PHP5.6 to PHP8.1, or step by step (PHP5.6 -> PHP7.0, PHP7.0 -> PHP7.1, PHP7.1->PHP7.2 and etc until I reach PHP8.1)?
Upgrading step by step can help you to see what is deprecated by following the logs files and then review the code.
I have recently been made aware of this tool which ostensibly makes this process much easier. Note that I have not used it myself and as such can't speak to how well it works. It looks to be a FOSS project though which is good.
Website: https://getrector.org/
Github: https://github.com/rectorphp/rector
Updating manually as per the guides provided by vee will likely give you better understanding of the benefit each upgrade offers as well as maintaining full control over your project.

PHP version unsupported [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Hello I am confuse I have two server one is running PHP 5.6.10 (cli) (buit: jun 11) 2015) , Zend engine V2.6.0 and the other one is running PHP 5.5.38 (cli) (buit: jan 11 2019) Zend engine V2.5.0. , the first one my Vulnerability scanner (Nessus enterprise) said that the version is fine but the second one the Vulnerability scanner (Nessus enterprise) said that is unsupported , could please explain me why does is happening , because I see the first server less version that the second server. Also I check that both web server are running and responding to the scan.
I am not sure what scanner you are using, but the PHP versions on both of your servers are no longer supported since 2017. It would be prudent to upgrade the PHP version on both of your servers to at least PHP 7.3
Using old versions is insecure and could lead to hacks and data breaches. You can see the current supported PHP versions here - https://www.php.net/supported-versions.php

Install mysql on linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I am using linux Fedora 19
When I am trying to install mysql server on my system it installing mariadb and mariadb-server.
I executed folloing command on CLI
yum install mysql mysql-server mysql-libs mysql-server
Please help me here to install mysql on system.
MariaDB is a drop-in replacement for MySQL. You wont realize it is not MySQL. And Fedora switched to MariaDB since the future of MySQL is uncertain ever since Oracle acquired it.
Is there any particular reason you want to install mysql ?
Fedora/RHEL (and others) has decided to replace MySQL with MariaDB. That decision was made upon the believes that Oracle would move the MySQL project to a more closed development (MySQL AB the company behind MySQL was bought by Sun, which in turned later was bought by Orale)
As far as I know, the MariaDB should preserve API/ABI compatibility with MySQL (including adding some new features), so you should be able to use MariaDB as a replacement for MySQL.
Hera are some more information on the subject,
- https://fedoraproject.org/wiki/Features/ReplaceMySQLwithMariaDB
- http://www.itwire.com/opinion-and-analysis/open-sauce/58571-monty-has-last-laugh-as-distros-abandon-mysql
Hope that helps!

is it possible to run drupal 6 on mysql 5.6 [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Currently my website is running on MySQL version 5.2 with drupal 6 and now i want to upgrade both apache server and MYSQL database.
New Apache server Version = 2.2.3
MySql Version = 5.6
will my site works on MySQL 5.6
Normally you will not have any problem but it depends on the modules that you have installed. Because MySQL 5.6 has a lot of new reserved words it is possible that a module will fail.
The best way to test it, is to create a backup of your site and create a local version in your machine.
Yes, sure. Drupal requirements:
Web server
Apache, Nginx, or Microsoft IIS
Database server
Drupal 5: MySQL 3.23.17 or higher
Drupal 6: MySQL 4.1 or higher, PostgreSQL 7.1,
Drupal 7: MySQL 5.0.15 or higher with PDO, PostgreSQL 8.3 or higher
with PDO, SQLite 3.3.7 or higher
Note: Microsoft SQL Server and Oracle are supported by an additional
module
PHP
Drupal 5: PHP 4.4.0 - 5.2.x (5.2 recommended, 5.3 not supported)
Drupal 6: PHP 4.4.0 or higher (5.2 recommended)
Drupal 7: PHP 5.2.5 or higher (5.3 recommended)
Drupal 8: PHP 5.5.9 (was raised - see https://www.drupal.org/docs/7/system-requirements/php#8)

How do I install PHP on an Earthlink Linux server? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
My ultimate, simple goal, is to install Wordpress.
Unfortunately, Wordpress requires PHP 5.2.4 or greater, while the server my site is hosted on is only running 5.2.17. When I contacted Earthlink, they said they couldn't update it, but that I could.
However, after a little bit of searching, I'm not sure where to begin. I have very little command line experience, and no Linux experience. I'm not even sure what flavor of Linux they're using. Does anyone know of any walkthrough guides or tutorials?
The odd thing is, Earthlink has a Wordpress installer built in to their control center (I'm opting for an FTP install, because I want to install in a subdomain). So alternatively, can I get away with installing on the server with PHP 5.2.17? If they're doing it, why can't I?
Thanks,
Scott
I don't think you understand PHP versions. PHP 5.2.17 is a newer version than 5.2.4. Wordpress should work just fine on 5.2.17. Have you run into issues while installing it?

Categories