We are trying to upgrade the PHP website that connects to MYSQL DB. We are trying to use the following version of Apache, PHP,MYSQL and PHPMyadmin
PHP : 5.6.6
MYSQL : 5.6
Open SSL: v1.0.2a
Apache Server : 2.4.12
PHP MYADMIN : 4.4.1.1
PHP 5.6.13 is the latest version. New versions are PHP are released very frequently (5.6.9 -->5.6.10 --> 5.6.11 --> 5.6.13).
I am trying to check the PHP compatibility with MYSQL, Apache and PHPMyadmin. Is there any PHP/MYSQL compatibility/supported versions for upgrade.
we are trying to select the correct versions of PHP and MYSQL for the upgrade.
Thanks
Ashok
Wikipedia: XAMPP
Under Components you'll find a list of all components including PHP, apache, MySQL and phpmyadmin with version numbers included, as far as I know, they use the latest stable version of each component so you'll have a good overview of what versions to pick.
EDIT: They use the latest versions that work together, so that should do the trick of finding out what versions to use.
Related
In my development environment, on Windows, I'm running XAMPP with PHP 5.4.4. All of the projects in my htdocs folder are compatible with PHP 5.4.4. Presently, only one of these projects needs to be refactored to work on PHP 7.3.4.
This post describes how to upgrade to a newer version of PHP; however, I don't want to replace the 5.4.4 version that's already installed. Instead, I want to add the 7.3.4 version so it's possible to choose which PHP version to run for each project.
This post describes how to install an older version of PHP alongside a newer version and how to run multiple versions of PHP on a single installation of XAMPP. This is closer to what I want to achieve. Instead of installing an older PHP version, I'd be installing a newer one. Are there any reasons that the base PHP version that's installed should be the newest version?
Edit: I would like to set up my environment so the different PHP versions run on different ports, as described by the second post listed above. In other words, I don't want to modify Apache's httpd.config file each time the PHP version is to be switched.
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
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?!
I'm running Wordpress on a RHEL 5 box. PHP is version 5.3.3, and we just upgraded the MySQL server on the box to 5.5.32 (up from 5.0.xx).
It seems like that upgrade went well, and Wordpress is running just fine. But what I don't understand is that PHP is continuing to report that it is using MySQL 5.0.95.
Anyone have a clue how I can tell PHP to use MySQL 5.5?
Just making my comment into answer as I added to it, it became more complete.
PHP is using 5.0.95 of the MySQL client library. PHP will not report on the version of MySQL being used on the MySQL server.
You can update your mysql client library on your PHP machine. Or better yet, you may consider re-compiling PHP with the MySQL Native Driver enabled, which will decouple you from having to have MySQL client library on your machine at all.
More info on MySQL native driver: http://www.php.net/manual/en/mysqlnd.overview.php
If you just want to upgrade your MySQL client package on RHEL 5, use RPM. I am not sure what the most recent rpm package for mysql client is named for RHEL 5, but the command would be something like this:
rpm -Uvh mysql-clientXXXX.rpm
Can i upgrade the PHP version under wampserver instead of whole?
Because current latest version of wampserver gives 5.4.3 version, but the latest version of php is 5.5.4.
How can i upgrade it?
EDIT :
Wampserver provides either 5.4.3 or older version. What I'm trying to do is Download latest PHP version from php's official site and than copy that into the wampserver. So that i can select toggle between newer and older version.
This is how wampserver control panel will look like after adding a version of php
http://i.stack.imgur.com/0pOx3.png
http://i.stack.imgur.com/joSf3.png
I GOT MY ANSWER :
A type of handler is required to handle PHP 5.5, which is not built current handler supports 5.4 < versions. The handler is provided by IONCUBE.
This is what i found -
"Ioncube for PHP5.5 is not yet released as of 13/09/2013, they say they are waiting for PHP 5.5 to become stable and secure and hosting providers to adopt PHP 5.5 before they release their upgrade. They comment that it can take a year or more for hosting companies to adopt new versions of PHP and this I guess is their schedule."
Thanks https://stackoverflow.com/users/2310830/riggsfolly !!
Thank you all for active commenting and help!
Check out this thread on the wampserver.com forum site
HOW TO MANUALLY INSTALL A NEW RELEASE OF PHP INTO THE WAMP ENVIRONMENT
You can find the versions of PHP addons on wamps page
Where you can download and install them from.