I'm try to install pthread on Windows. I download the package and move
php_pthreads.dll to C:\xampp\php\ext
php_pthreadVC2.dll to C:\xampp\apache\bin
php_pthreadVC2.dll to C:\xampp\php\ext
php_pthreadVC2.dll to C:\Windowns\System32
php_pthreadVC2.dll to C:\xampp\apache\bin
add to php.ini
extension = php_pthreads.dll
after restarting apache, the following error occurs:
PHP Warning: PHP Startup: pthreads: Unable to initialize
module\nModule compiled with module API=20151012\nPHP compiled with
module API=20160303\nThese options need to match\n in Unknown on line
0
Help me please!!!!
Related
I need to install SSH2 to my PHP5.6. So as I read this accepted answer I downloaded zip from here then coppied php_ssh2.dll and php_ssh2.pdb to php/ext and libssh2.dll to Windows/system32. And after Apache restart and SSH2 call it throws me this error:
PHP Warning: PHP Startup: ssh2: Unable to initialize module
Module compiled with module API=20121212
PHP compiled with module API=20131226
These options need to match
in Unknown on line 0
Warning: PHP Startup: ssh2: Unable to initialize module
Module compiled with module API=20121212
PHP compiled with module API=20131226
These options need to match
How can I solve it? Thanks you.
I am using php7 with xampp and windows, 64-bit and try to install mailparse, without success.
It throws me the next exception:
PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\ext\php_mailparse.dll' - The specified module could not be found.
I thought I should:
update php.ini --> enable mailparse extension
download mailparse extension dll file and put it in the ext folder in xampp/php
I've tried to find a normal mailparse extension dll for windows and php7 but I didn't find any.
Make sure the mailparse extension is loaded after mbstring extension in php.ini file.
Like this:
extension=mbstring
extension=mailparse
When start Apache I get this error..
How can I solve it?
PHP Warning: PHP Startup: ffmpeg: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20100525
These options need to match
extension=php_ffmpeg.dll : added to php.ini
php_ffmpeg.dll copied to php/ext
avcodex-51.dll/ avformat-51.dll/ avutil-49.dll/ pthreadGC2.dll : added to C:\Windows\SysWOW64
The php_ffmpeg.dll was compiled with an older version of PHP. It's possible your PHP installation was updated but the module was not. You will need to get an updated version the the php_ffmpeg module or remove it.
I have downloaded and installed Zorba 3.0 on my PC/Windows 7. I've already had Apache/2.4.7 and PHP/5.5.9 up and running.
I also have the following in my php.ini for Zorba:
include_path = ".c:\php\includes"
extension_dir = "C:\PHP\ext"
extension=zorba_api_php.dll
The zorba_api_php.dll is from C:\Program Files (x86)\Zorba XQuery Processor 3.0.0\share\php and I copy it to c:\PHP\ext folder.
When I restarted my Apache server I got the following error in the log:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\zorba_api_php.dll' - The specified module could not be found.\r\n in Unknown on line 0
I had checked my Zorba installation by running zorba.exe from DOS prompt:
C:>zorba -q 2+1
</code -->
3
It is working fine.
Thanks,
I am using centos 6. I have installed mongoDB using yum install mongo-10gen mongo-10gen-server. I started the mongo server using /etc/init.d/mongod start. I then added extension=mongo.so to my php.ini. I then restarted my apache server with /etc/init.d/httpd restart, and all are ok. but mongo php-driver is not working properly. when I checked my php version with php version, I got an error:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mongo.so' - /usr/lib64/php/modules/mongo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
Could not open input file: version
How can I fix this problem?