Phalcon install failed - php

I want to install phalcon, so followed this step:
I download the phalcon_x64_vc15_php7.4_nts.zip.zip, from here(https://github.com/phalcon/cphalcon/releases/tag/v5.0.0-alpha.2)
I go to this pages(https://pecl.php.net/package/psr/1.1.0/windows) to download 7.3 Non Thread Safe (NTS) x64
put php_phalcon.dll、php_psr.dll、php_psr.pdb inside php\ext
and then I modify the php.ini with this
extension=php_psr.dll
extension=php_phalcon.dll
Phalcon is not install successfully, the error shows PHP Warning: PHP Startup: Unable to load dynamic library 'php_psr.dll'、Warning: PHP Startup: Unable to load dynamic library 'php_phalcon.dll'
This is my PHP version.
Can someone help me to solve it? Thanks.

You are trying to download phalcon v5.0.0-alpha.2 which is compatible with php version 7.4 (minimum). Try either upgrading to PHP 7.4 or try downgrading your phalcon version.
https://github.com/phalcon/cphalcon/releases/tag/v4.1.2
Here you can download and use V4.1.2 which supports PHP version 7.3 and 7.4

Related

How to fix PHP Startup: Unable to load dynamic library?

when trying to install igbinary to xampp v3.2.2
downloaded dll from this link https://pecl.php.net/package/igbinary/2.0.1/windows
getting this below error, surprisingly php_igbinary.dll exist in 'C:\xampp\php\ext\' then why this error? any help?
Warning: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\igbinary.dll' - The specified module could not be found.
in Unknown on line 0
Under Windows and XAMP you have to use the Thread Safe version (TS) the other one aren't working. And you have to be patient, that it is only available to PHP 7.1. Here is another explanation:
https://github.com/igbinary/igbinary/issues/246
Right DLL file was not placed for PHP version 7.4.0 once i placed the right version for igbinary DLL file in to PHP/ext folder, issue got fixed.

How do I fix "PHP Warning: PHP Startup: Unable to load dynamic library 'mongodb' "

I am trying to install and set up mongodb with a laravel application for the first time. I read that I have to install the extension and libraries but after I do that I get the above error when I try to execute a php command in the terminal.
I am running windows 10 x64 and PHP 7.3.1.
First of all I installed the mongodb from the official mongodb site
I got the latest mongodb dll from https://pecl.php.net/package/mongodb/1.6.0/windows
I extracted the dll into the c:/xampp/php/ext folder according to the instructions and restarted the server.
I also included the extension = php_mongodb.dll in the php.ini file
This is what I get...
I found a similar post on here PHP unable to load dynamic library (mongo.so) that could have solved my problem but that solution is for users on mac and I am on windows.
I'm answering my own question here. Turns out my xampp version was x86 and so x64 version of the dll would obviously not work... Solution was to just use x86 version of the dll instead.

Datastax Cassandra PHP extension in WAMP

I am using WAMP with php v5.5.12.
Trying to install datastax php driver(https://github.com/datastax/php-driver).
1. I take the compiled dll file from here and put it in /ext folder
2. Add the extention=php_cassandra.dll to php.ini
3. Restarting WAMP server
I get this error in wamp php error log:
[28-Jan-2016 07:32:57 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_cassandra.dll' - The specified module could not be found.
Also installed Pear package, but there are no changes.
Does anyone here experience with cassandra new driver on windows?
What can be the problem?
I could not either make the .dll found on the pecl php site work. Same error.
But the .dll found here works!
http://downloads.datastax.com/php-driver/windows/cassandra/
You will need to use the Thread Safe version (TS) and of course the one for PHP5.5. Also you need to use the x86 if you WAMPServer is the 32 bit and the x64 if WAMPServer is the 64bit version
That dll should be place into the \wamp\bin\php\php5.5.12\ext folder

Can't install gmagick on Windows 7 XAMPP

I have XAMPP 1.8.1 with PHP 5.4.7 installed. When I add php_gmagick_ts.dll to my php.ini (I made sure that I need the ts and not the nts version), upon restarting Apache I'm getting these errors:
The procedure entry point php_checkuid_ex could not be located in the
dynamic link library php5ts.dll
and after that one:
PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_gmagick_ts.dll' - The specified procedure could not be found.
Any help?
AFAIK there is currently no GraphicsMagick DLL available working with PHP 5.4 on Windows.
As the availability of php_gmagick_(n)ts.dll for latest PHP versions is always a problem, I recommend that you either drop back to PHP 5.3 (DLLs available here) or that you use the standalone version of GraphicsMagick and call it from within PHP using exec() commands.

Missing packages on Ubuntu 12.04 with PHP 5.4

I've upgraded PHP to version 5.4 using this guide:
http://www.barryodonovan.com/index.php/2012/05/22/ubuntu-12-04-precise-pangolin-and-php-5-4-again
Now when i hit "$php -v" it throws following error:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/memcached.so' - /usr/lib/php5/20100525/memcached.so: undefined symbol: memcached_touch in Unknown on line 0
How can i properly install "memcached" library? Package manager reports that i've already got latest version. I even tried to reinstall it to no avail.
You need all extensions in the correct version. We had this problem here before some time. At the moment only the memcache beta supports php5.4 on this site you get a compiled module.
Class 'Memcache' not found & PHP

Categories