Install php 5.3.28 error 2356 - php

I have Apache installed on C:\Apache\ and conf on C:\Apache\conf\
When I try to install php 5.3.28 on Windows 8.1 with Apache 2.2.x web server Module I have an 'error 2356' and the php install can not be done !!!
Any ideas ?
Thanks for your help...

Apparently the archived versions of 5.3.28 and 5.3.29 on windows.PHP.net/downloads/releases/archives/ are corrupt as evidenced by their file sizes, 848k vs 47MB for 5.3.27.

Both PHP 5.2 and 5.3 are available for msi install from the archive page http://windows.php.net/downloads/releases/archives/
scroll down and you will find versions upto PHP 5.3.27

Use VC6 version of PHP and download from http://windows.php.net/downloads/releases/archives/
I used PHP 5.2.10 without this error 2356 on Windowc8.1 and Apache 2.2.25

I have got the same error in version 5.3.28. My OS version is win7.
I finally give up and turn to use the Microsoft web platform installer..It does helps and very convenient ,but the disadvantage is that it only supports window IIS server .

I ran the install using archived version 5.3.28 but the install failed with the error code 2356. I ran the install using archived version 5.3.29 and it works. File size looks ok now.

Related

Mongodb extention 1.3.0 not installed in php 5.6.26 wamp

I need to install mango db PHP extension 1.3.0 with my wamp64
WINDOWS
Windows10 64bit
WAMP
apache 2.4.23 / php 5.6.25 / php 7.0
I try everything but still having issue
- see solutions from this Q
PHP Startup Unable to load dynamic library php_mongo.dll
other drivers work fine but I need a specific driver to person some function. experts help appreciated.
Driver I need
https://pecl.php.net/package/mongodb/1.3.0/windows
Why I need
More updates
When I add Mongodb 1.3.0 ts version in wamp / bin / php / php 5.6.25 / ext folder it give me error. I try to fix it with copy paste solution but not worked.
As Cocorico is compatible with PHP 7.1 i would use PHP 7.1 instead of PHP5 and mongodb extension 1.3.4 instead of 1.3.0.
You will find here http://wampserver.aviatechno.net/ most of what you need to use php 7.1 in Wamp.
Take care of TS / NTS and x64 / X86 informations for PHP and pecl mongodb extension.
Last thing don't forget to install the Microsoft VC++ packages as described in the bottom of the page.
Finally, I figured out the issue and fix it with done few more steps and Yes #Tsounabe comment help me to go further in it.
The first step I have php 5.6 , php 7 and php 7.1 in my WAMP server so removed 5.6 to make thing much clear but you guys should keep if you want it. Then i Select php 7.1 and right click on WAMP SERVER icon and change CLI too.
The Second step I already have composer so I uninstall it and install it again with .exe file and select PHP 7.1.
Then restart everything and my mongodb extention worked :)
WAMP SERVER VERSION : 3.1.1 64bit - http://wampserver.aviatechno.net/
PHP VERSION 7.1.12 - You can install WAMP SERVER PHP ADDON from ABOVE URL
MongoDB VERSION 1.3.4 - https://pecl.php.net/package/mongodb/1.3.4/windows

How to install 5.2 version of PHP in wamp

I have wampserver 2.5 installed on my machine which has PHP 5.5.12
But I need to setup and application which is built in PHP 5.2. So how do I use this 5.2 version of PHP?
To get that far back in history, you may find it easier to install one of the old WampServer 2.2 releases.
You can find the old releases here
There is a special extension to WampServer 2, which will let you install PHP 5.2.11 in your WampServer.
Here's the download link: WampServer Extension for PHP 5.2.11
WampServer Extension for PHP 5.2.11 - is not the best solution, as you could get compatibility error error image.
Better to use RiggsFolly solution and install older wamp version.

php_redis.dll not working in windows

I tried both the files from here: https://github.com/nicolasff/phpredis/downloads. I am using 64bit wampserver on windows 7 professional. It looks like apache is trying to load the file but somehow could not recognize it properly. This is what I see in the error log:
PHP Startup: Unable to load dynamic library
'D:/wamp/bin/php/php5.3.13/ext/php_redis.dll' - %1 is not a valid
Win32 application.
Anyone faced similar issues? Do we have a working solution for this?
Just in case it can help someone, I managed to solve the error on PHP 7.1.12 installing the 32 bits DLL.
I was getting the error:
Warning: PHP Startup: Unable to load dynamic library '.../php_redis.dll'
not a valid Win32 application
But after installing the 32 bits version, the warning disappeared.
To know which architecture of XAMPP/WAMP are you using, visit the phpinfo() and look for the value "Architecture", it was for me on the fourth row, and as expected is had the value x86.
I had to check the Server API from phpinfo() to decide which version to use
If It's
Apache 2.0 Handler(mod_php) go with Thread Safe version
If It's CGI go with Non Thread Safe version
Unfortunately I do not run 64-bit version of PHP to test this, but for PHP 5.3 you can try this dll.
Dll from https://github.com/nicolasff/phpredis/downloads ( php_redis-2.1.3-5.2-vc6-ts-4350b2a.zip ), is working fine with PHP 5.2.17 (32-bit version).
I hope you will solve the problem.
I used XAMPP x86 / PHP 7.2.5 so I needed redis x86 and the directory is this: C:/xampp/php/ext/.
https://pecl.php.net/package/redis/4.1.0/windows
I'll add my ansewer to the table :
I used those dlls for my AMPPS server (WAMP should be the same) under windows 8 with PHP 5.5:
https://pecl.php.net/package/redis/2.2.7/windows
following this tutorial
https://www.linkedin.com/pulse/using-redis-windows-php-shekhar-joshi
I had same issue for 64 bit windows 7 wampserver with PHP5.5.12
and worked for me from below link dll binaries of Redis
http://windows.php.net/downloads/pecl/releases/redis/2.2.7/
I had the same case, I was installing wamp 32bit, but I imported the library in 64bit however I had to imorted the 32bit version.
Check in the task manager which version of wamp you are using!
For me the reason was version of Redis PHP extension that I've been used.
xampp architecture: x64
php version: 7.4
php type: ts (thread safe)
redis version installed on windows: 3.0.504
and finally the version of Redis PHP extension that worked for me was:
for php 7.4
latest stable version: php_redis-5.3.4-7.4-ts-vc15-x64
I downloaded it from this Link

Installing ImageMagick Onto Xampp/Windows 7

ImageMagick is working when I test it from cmd but when using it for Xampp and restarting it then the error message I receive is:httpd.exe-Entry Point Not Found. The procedure entry point MagickGetImageGravity could not be located in the dynamic link library CORE_RL_wand_.dll.
The second message is PHP StartUp: Unable to load dynamic library C:\xampp\php\ext\php_imagick.dll- The specified procedure could not be Found.
I'm pretty sure second error message is caused by first error up top. Probably wrong dll. I'm on Windows 7 64 BIT running PHP 5.3.5 and Apache 2.2.17. Thanks
My refrence is this page
ImageMagick 6.8.0 binaries compiled with VC9 (Visual Studio 2008). I noticed that the official ImageMagick builds are now Visual Studio 2010 and that wouldn’t work well with PHP compiled with 2008. see phpInfo() and search for compiler and php version.
The download link for the binaries is here: imagick-php54-php53.tgz
I download this folder and copy php54 -> php_imagick_ts.dll to xampp\php\ext
My PhP Version is : PHP Version 5.4.4
then rename it to php_imagick.dll.
At the end restart your appache server.
I had this same problem and banged my head against all kinds of possible solutions before finally finding a combination of Imagick builds and dll's that would play nicely with my setup. Here's what finally worked for me:
OS: Windows 7 64 Bit
PHP: 5.5.6
XAMPP: 1.8.3
Compiler: MSVC11
Architecture: x86
ImageMagick: ImageMagick-6.7.7-5-Q16-windows-dll (available here)
Imagick DLL: PHP5.5.x version from http://www.peewit.fr/imagick/
Once I finally had this set up, Apache finally started without any errors. Hopefully it works for you, too!
I think there some problem loading imagemagick php module while you install latest version of windows binary ,i rectify the problem by download 6.7.7-5-Q16 32bit version and its worked on that version.once install this version download imagemagick PHP module and restart apache.

Compiling PHP 5.1.6 from source - php -v and phpinfo() version discrepancy

I have just bought a VPS running Ubuntu and I need to install the LAMP stack with PHP 5.1.6. The VPS came with no PHP installed (checked this from the shell with php -v) and with Apache/2.2.12 installed. I installed PHP 5.1.6 from source and compiled it with Apache 2.2 (using libapache2-mod-php5), tried a phpinfo() test which worked fine, however, phpinfo() shows the PHP version as 5.2.1 (with JSON enabled), whereas running php-v in the shell shows as 5.1.6. Anyone any ideas what might be happening here? I need to ensure I am running PHP 5.1.6.
Thanks in advance for any help!
php -v gives you the version of the cli installation of php, while phpinfo will give you the version which got installed as apache module.
If you are not using cli php anywhere, you should be fine with running php scripts off apache.
But ideally you should fix this.

Categories