1 clickinstall has installed magento 1.8 but the latest version is 2.1 - magento

I have purchased hosting and now have to build website in magento but my 1 clickinstall has installed magento 1.8 but the latest version is 2.1 what version should i install ? and how to manually install the magento 2.1 on my own?

First you need to check php and mysql versions in your hosting server. If your server has:
php version >= 5.5.x, where x is 22 or greater and mysl version >= 5.6
only then you can install magento version 2.1, otherwise you will have to upgrade hosting.
To install magento 2.x manually, there are 3 options:
using composer (for this you will need ssh access)
using git checkout
using browser wizard (which is just like you used to do with magento 1.x installations)
Please follow http://devdocs.magento.com/guides/v2.0/install-gde/install-quick-ref.html for more information.

Related

Run Magento 1.9.4 using PHP 7.4

I know that magento 1.9.4 will support for php7.2. Php7.2 security support will end by this year nov 2020(https://www.php.net/supported-versions.php).
For considering security aspect, planning to run magento 1.9.4 using php 7.4.
can we run magento 1.9.4 using php 7.4?
Please let me know (magento expert*).
Thanks,
Magento 1.9.x is actually compatible with PHP 7.4 if you've applied the patches that enable PHP 7.2 compatibility. I've tested it with one of the sites I host, all official patches have been applied and its running perfectly with PHP 7.4.6
Here's a preview:

Why is my laravel installer version still 2.1.0?

When it i first time installed laravel using
composer global require laravel/installer
it shows the version of 2.1.0 not the latest version?
How to fix this problem? i know i can install specific laravel version with
`composer create-project laravel/laravel="6.0.*" appName`
It's annoying cause in the terminal it still shows the version of 2.1.0
The latest version of Laravel installer as of the moment is 2.1.0. Just take note that it is not same with the Laravel framework that will be installed. They're two separate entities.
hat it is not same with the Laravel framework
laravel -V
it gives you laravel installer version
php artisan --version
You get laravel framework version.For you then show it laravel framework 6.

How to install mpdf v8 with composer (currently it only installs v6)

I am on ubuntu 12.04 and trying to install the latest release (v8) of mPDF using the following command:
composer require mpdf/mpdf
However, only v6 gets installed.
Is there any easy way to install version 7 or 8 of mPDF - or is it quite a long process?
UPDATE
After running composer require mpdf/mpdf:^8.0
it looks like the PHP version on the server is 5.3.0.
Although none of the domains on the server use this (I use plesk to force all domains to use 7.1).
The PHP version on the server was a lot older than used by plesk.
As composer was looking at the older version, we could download a more recent version of mpdf.

Installing APC on Centos PHP7

I am trying to get the modules installed for an old Symfony site.
I tried
sudo yum install php-pecl-apc
returned
No package php-pecl-apc available.
I can't apt-get s it is not installed. How can I get this module installed
php-pecl-apc is not available for centos7, so you need to install php73-php-pecl-apcu.
Note- not available in official centos repo, so you have to use Remi repo.
https://centos.pkgs.org/7/remi-x86_64/php73-php-pecl-apcu-5.1.17-1.el7.remi.x86_64.rpm.html
Thanks
APC is a dead project, no stable version was released for any version of PHP > 5.3.
For opcode cache, the opcache extension exists for PHP 5.x and is now part of PHP 7.x
For user data cache, the APCu extension version 4 exists for PHP 5.x and provides a new API, and a compatibility layer to emulate APC
For PHP 7.x, APCU version 5 only provides the new API, but the apcu_bc extension provides the compatibility layer.
How do you install PHP 7 on your CentOS box ? Good package providers have these extensions available (php-pecl-apcu and php-pecl-apcu-bc).
P.S. "remi" repository is a possible provider for PHP and its extensions, follow the wizard instuctions.

Magento Upgrade Using Pear

I would like to upgrade my magento site using:
./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force
I am wondering if there is a way to run the same command but instead of using Mage_All_Latest can I choose the version I want to upgrade to?
I would like to upgrade to Community 1.6
Are you running 1.4.x or less? If so, then see the following SO question & answer. It contains a great guide for upgrading Magento from 1.3 or 1.4: How to upgrade magento 1.4 1.1 to 1.7.0.2
Once you get past 1.3.x then you could just copy the 1.6 structure to your site and flush your cache. The next page load will upgrade you to the version that you copied over.
Always back up your files AND database before attempting any upgrade procedure.

Resources