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

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)

Related

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

Finding the best environment to test different PHP versions [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 3 years ago.
Improve this question
I've got Apache + PHP 5.2.17 + mySQL on a Linux/Ubuntu server, and I was requested to upgrade the PHP version (I guess to 5.3.x or 5.4.x).
I would like to test my code in a versatile environment where I can switch among the PHP versions, and I'm trying to locate the proper software. I'm not sure whether 'UwAmp' or 'Laragon' could fit my needs (I don't mind to test it on a Windows machine).
Any suggestion is welcome. Thank you very much.
I've got Apache + PHP 5.2.17 + mySQL on a Linux/Ubuntu server, and I was requested to upgrade the PHP version (I guess to 5.3.x or 5.4.x).
Do yourself a favour and update to a version of php that have not been abandoned for years, at least 7.1. For reference, find the supported versions here. PHP 5.6 is not even in security fixes support anymore.
I would like to test my code in a versatile environment where I can switch among the PHP versions, and I'm trying to locate the proper software.
Use a local development server stack such as Ampps, MAMP, XAMP, or one of the myriad of such software. They allow for easy switching between php versions.
Alternatively, set up Travis CI with different php versions and a suite of tests. Travis is geared up to run tests suites in various PHP versions automagically.
Manually compiling and maintaining multiple versions of PHP, while doable, is not very practical if you actually wish to get things done. Using software that comes with multiple versions installed is arguably the only viable solution.

Updating MySQL 5.1 to 5.6 [closed]

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.

want to upgrade PHP 5.3 to 5.4? [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
I just started working with php so I don't have any idea what is involved with upgrades. Currently, I'm working with php 5.3, and would like to move to 5.4. How is this done? Is it just a simple installation of 5.4 ? Will this break code written in 5.3?
Migrating from PHP 5.3.x to PHP 5.4.x is the info regarding such upgrade.
Especially have a look into Backward Incompatible Changes section. Some functions were removed in PHP 5.4 and if your PHP 5.3 code is using them, you will get errors. For example, session_register() function does not exist in PHP 5.4
It depends which Linux distro. you are using.
You could try:
yum update php
Or:
sudo apt-get install php5-cgi php5-cli
I highly recommend you test your code on 5.4 before upgrading any live server as mostly likely there might be some breaking differences (as normal with most PHP upgrades).

PHP windows 64bit [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
We have a PHP application installed for a client on his windows server, using Apache and Mysql. Now the client wants to upgrade his server and is asking
"Does the application, apache web server, and mysql support Windows 64 bit?"
Now, I see there is a mysql version for windows 64bit, but I can't find anything official for Apache and PHP, but only binaries from 3rd-party sites.
Does anyone know if there is an official Apache and PHP release for windows 64bit (or a trustworthy 3rd-party at least)? For Apache I could use IIS so it's not really a problem, so it's mainly PHP I'm interested in.
Alternatively, will there be a problem if I run the standard latest binaries that are offered from the PHP site?
As always, thanks in advance
You can get a WAMP stack on 64bit windows system. However there' might be some problems with some dll extensions for example CURL as described in this article.
I'm using Windows 7 64Bit and use the XAMPP for 32 Bit.
So you can just install Apache, PHP and MySQL for 32Bit systems on a 64Bit machine.

Categories