Magento 1.7.2 Install Error with curl -- Desperate - magento-1.7

I am using WampServer Apache 2.2.22 – Mysql 5.5.24 – PHP 5.4.3 XDebug 2.1.2 XDC 1.5 PhpMyadmin 3.4.10.1 SQLBuddy 1.3.3 webGrind 1.0.
Error 1: I get the following error. PHP extension "curl must be loaded.
So I go to wamp\bin\php\php5.4.3 and uncomment line extension=php_curl.dll.
Restart wamp server
Error 2: [1]: http://imgur.com/wdmMP2z
PHP Statup Unable to load dynamic library.
c:/wamp/bin/php5.4.3/ext/php_curl.dll The application failed to start because its side by side configuration is incorrect.
I tried to go to this site and get the corrected php
http://www.anindya.com/php-5-4-12-and-5-3-22-x64-64-bit-for-windows/
So i just extracted it and replaced it in c:\wamp\bin\php\php5.4.3
Also tried just having it overwrite the folder. Neither worked.
Thanks for any help.
New to Magento
Sincerely,
Joe

Seems that others have had problems with Magento 1.7.x and newer versions of WAMP. This answer here says they had to go back to WAMP 2.1:
Magento 1.7 with Wamp 2.2
I'm having a curl related problem with Magento 1.6.x and WAMP 2.2 using php 5.4.3 -- I believe I used the older php 5.3.10 when I had it successfully working..
edit: for magento 1.6.2.0 anyway, you need php 5.3.10 which is in WampServer 2.2D (not E)

Related

Magento Enterprise Edition Upgrade from 2.3.5-p2 to 2.4.0 getting error

I am a newbie for the Magento enterprise edition. I am upgrading Magento 2.3.5-p2 to Magento 2.4.0 in Enterprise Edition.
Following commands used with MySQL 5.7 and php7.3:
composer require magento/product-enterprise-edition=2.4.0 --no-update
composer update
During 'composer update' getting an error from the Magento module.
I have tried with included Magento keys in the auth.json file. But it's not worked. Any another solution for this error. How to resolve this.
The "http://xxrepo.xxx.com/dist/magento/module-ui/magento-module-ui-101.2.0.zip" file could not be downloaded (HTTP/1.1 404 Not Found)
Please let me know if anyone knows how to resolve this.
You don't need to run
composer require Magento/product-enterprise-edition=2.4.0 --no-update
You can use the below method to upgrade the commerce edition, eg if you want to upgrade to 2.4.3 then the below command will be used.
composer require "magento/magento-cloud-metapackage":">=2.4.3 <2.4.4"
--no-update -vvv
composer update magento/magento-cloud-metapackage -vvv
composer update -vvv
After this, you need to commit your changed files and merge them with integration or staging instances.
more detailed information you can find here

Deprecated Functionality: idn_to_ascii() Magento 2.3.1 with PHP 7.2

I'm using Magento 2.3.1 with PHP 7.2, facing error while creating customers account at admin end.
Found some sources on the internet to degrade PHP version.
Is there any other option available without degrading PHP 7.2?
Log:
main.CRITICAL: Exception message: Deprecated Functionality: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated in /public_html/vendor/zendframework/zend-validator/src/EmailAddress.php on line 560
idn_to_ascii() at Line 560:
return (idn_to_ascii($email) ?: $email);
I encountered this exact issue after upgrading the PHP version of the server to 7.3.
Initially, the issue was with the Zend framework like yourself, but after an upgrade to Magento 2.3.5 (in an attempt to correct the problem), an identical error was thrown for the newer Laminas.
I tried a number of solutions, including downgrading guzzle from 6.5.3 to 6.5.2, as suggested here: https://stackoverflow.com/a/61596343/9667652
It seems the only solution is to downgrade PHP to 7.1. The issue continues even with PHP 7.2. I downgraded to PHP 7.1 and emails are now sending.
EDIT: As per comment by #user125661, it's important to note that PHP 7.1 is no longer supported:
PHP 7.1 has reached End of Life. To maintain PCI compliance, Magento should not be run on unsupported software. Installing from GitHub will no longer work with Magento 2.3.4/PHP 7.1. The only way to install 2.3.4 with PHP 7.1.x is with Composer. Magento recommends using PHP 7.3
See: https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#php
This issue has been encountered repeatedly but is not able to be reproduced reliably, as documented here: https://github.com/magento/magento2/issues/19795
Looks as though the most likely reason for the issue is servers running CentOS 6, where CentOS 7 is needed: https://github.com/magento/magento2/issues/19795#issuecomment-486432245
Best bet is to get your server onto CentOS 7, but where this is not possible, it seems the only workaround is downgrading to PHP 7.1.

i can't able to run composer install command under my /var/www/html/magento2

i am facing problem while setting up the magento server on Centos7 i have php 7.3 install in my centos ec2 instance
installed php 7.3.5, also tried to update composer using $composer update command it doesn't work
composer install
Magento 2 does not support php 7.3 as of yet. A significant numer of core modules specify the php versions they will allow. You will need to change your php version. See this link for the supported versions. https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html

PostgreSQL, WAMP, Laravel 5.5 - "php artisan migrate" throwing "driver not found" exception

I'm getting the "Driver not found" PDO exception when trying to connect to PostgreSQL DB and I can't seem to figure out what's happening. Here are system specs:
WampServer Version 3.0.3 64bit
PHP 7.1.10
Apache 2.4.9
Laravel 5.5
I downloaded PosgtreSQL 10 (Windows x86-64) from here - EnterpriseDB
Here are all the relevant screenshots:
extension_loaded('pgsql')
returns true
The only discrepancy that I see is that I downloaded PostgreSQL 10, and PHP Info says PostgreSQL(libpq) Version is 9.6.2. Could that be an issue?
EDIT:
I replaced PostgreSQL 10 with 9.6.5 (which is the only available 9.6 version), and it didn't fix the issue.
EDIT 2:
$dbh = new PDO("pgsql:dbname=laravel_admin_api;host=127.0.0.1", "postgres", "admin");
echo $dbh ? "connected" : "failed";
returns connected. So it's gotta be a Laravel issue?
EDIT 3:
Ok, so the connection to the database works, I created a table and inserted a row manually through pgAdmin, and then called
\App\User::all()->toArray()
and that worked. So it's actually php artisan migrate that's having issues, and throwing the could not find driver exception. Still stumped on that one.
I was facing the same issue and I tried couple of solutions through the internet. None of those worked for me and finally I could get it to work by installing Apache 2.4 and php 7.2.7 separately instead of using Xamp or Wamp on windows. Sharing most important steps so that it might be helpful for anyone out there.
Install Apache as per https://www.sitepoint.com/how-to-install-apache-on-windows/. In my case I installed Apache 2.4
Install PHP as an Apache module - https://www.sitepoint.com/how-to-install-php-on-windows/ (I downloaded PHP thread safe version for Windows 64)
If you get both of above to work properly. Install Laravel in the htdocs and try php artisan migrate command.

PHP 5.3.29 on Ubuntu 16.04 in order to run Joomla 1.5 locally

I'm working on a Joomla 1.5 website, which was developed with PHP 5.3. Now I'm having some incompatibilities issues with some components.
My machine runs Ubuntu 16.04.
The version of Joomla is 1.5.
PHP versions are 5.6 and 7.0 (apache is configured to run PHP 5.6)
I can't find a way to download and install it. The apt command only shows 5.5, 5.6, 7.0 and 7.1 PHP versions.
Can anyone help me?
I have joomla 1.5 on a website running. My config shows that PHP 5.4.16 is in use. Therefore, why dont you try it with PHP 5.4 and get it from the download page:
http://php.net/releases/
If you have troubles to install it on your computer. Take a look here:
https://serverfault.com/questions/353550/how-to-install-old-php-version
The link explains how you install a old php version on linux. Btw.: in the link it is only explained how to replace a PHP version. But it is possible to run different versions on a server.