php-7.1

Unable to load dynamic library php_zmq.dll - The specified module could not be found

心已入冬 提交于 2019-12-08 13:28:33
I have XAMPP with PHP Version PHP 7.1.13 (cli) (built: Jan 3 2018 20:16:04) ( ZTS MSVC14 (Visual C++ 2015) x86 ) . I want to install the ZeroMQ extension, which I downloaded from here http://pecl.php.net/package/zmq/1.1.3/windows specifically 7.1 Thread Safe (TS) x86 moved the php_zmq.dll to the file C:\xampp\php\ext , and wrote extension=php_zmq.dll into the file C:\xampp\php\php.ini , wrote C:\xampp\php\ext in to Windows PATH , but I still getting this error : PHP Warning: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_zmq.dll' - The specified module could not be found. in

Unable to load dynamic library php_zmq.dll - The specified module could not be found

ぐ巨炮叔叔 提交于 2019-12-08 07:07:42
问题 I have XAMPP with PHP Version PHP 7.1.13 (cli) (built: Jan 3 2018 20:16:04) ( ZTS MSVC14 (Visual C++ 2015) x86 ) . I want to install the ZeroMQ extension, which I downloaded from here http://pecl.php.net/package/zmq/1.1.3/windows specifically 7.1 Thread Safe (TS) x86 moved the php_zmq.dll to the file C:\xampp\php\ext , and wrote extension=php_zmq.dll into the file C:\xampp\php\php.ini , wrote C:\xampp\php\ext in to Windows PATH , but I still getting this error : PHP Warning: PHP Startup:

FOS/user-bundle ProxyManager\Configuration error

大城市里の小女人 提交于 2019-12-07 23:01:38
问题 After installation of friendsofsymfony/user-bundle I getting this error FatalThrowableError in Configuration.php line 124: Type error: Return value of ProxyManager\Configuration::setGeneratorStrategy() must be an instance of ProxyManager\void, none returned Using Symfony3.2 and PHP 7.1 Maybe have ideas why? EDIT I used This tut https://symfony.com/doc/master/bundles/FOSUserBundle/index.html And choose "Doctrine ORM User class" for user entity 回答1: This is because you are using the incorrect

How to compile PHP 7.1 with ZTS

故事扮演 提交于 2019-12-07 03:01:27
I see on the github PThread project page that php7+ is supported. I have php7.1.6 on an ubuntu distribution (16.04) I can't find any PPA that offer php7.1-zts. How can i enable zts on php7.1 to install pthreads ? This is my setup script #!/bin/bash mkdir -p /etc/php7 mkdir -p /etc/php7/cli git clone https://github.com/php/php-src.git -b PHP-7.0.17 --depth=1 cd php-src/ext git clone https://github.com/krakjoe/pthreads -b master pthreads cd .. ./buildconf --force ./configure --prefix=/etc/php7 --with-bz2 --with-zlib --enable-zip --disable-cgi \ --enable-soap --enable-intl --with-mcrypt --with

SSH2 for PHP7 MacOS?

自闭症网瘾萝莉.ら 提交于 2019-12-05 16:04:26
When trying to use ssh2_sftp($this->con); PHP 7.1.7 thinks Im looking for a function in the class. After some reading, I found that SSH2 needs to be installed from PECL ( http://php.net/manual/en/wrappers.ssh2.php ) When I went to do that, I got the following error: pecl/ssh2 requires PHP (version >= 4.0.0, version <= 6.0.0), installed version is 7.1.7 No valid packages found install failed Anyone have any ideas on how to get this to run on MacOs 10.13.3 (17D47) with PHP 7.1.7? Thanks in advance! Nigel Atkinson I managed to install php-ssh2 on MacOS High Sierra. First I had to install libssh2

Integrating new version of PHP in NetBeans

你。 提交于 2019-12-05 12:37:42
A month ago PHP 7.1 was released. I've just installed it in my system, running '#php -version' returns me 'PHP 7.1.0' so everything is working fine. But at the time to create a new project in NetBeans, it only allows me '7.0' and the lower 5.X versions I've been looking for an option to update the new version of PHP in NetBeans but I didnt get a thing. Other details: Debian 8 stable system. PHP7.0 and previous 5.X versions had been installed through 'apt-get', but PHP7.1 through './configure && make && make install'. NetBeans was installed via sh script (not 'apt-get'). Any ideas? NetBeans

Serving PHP files as downloads, instead of executing them

十年热恋 提交于 2019-12-05 08:09:38
I recently installed nginx and php 7.0.16 in my machine, but for some reason nginx downloads php files, rather than executing them. I've already spent couple of days and implemented all solutions available online, but all in vain. My nginx.conf is: worker_processes 4; error_log /var/log/nginx/error.log; pid /var/run/nginx.pid; # Load dynamic modules. See /usr/share/nginx/README.fedora. include /usr/share/nginx/modules/*.conf; events { worker_connections 1024; } http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http

Failed to read session data on PHP7.1

天涯浪子 提交于 2019-12-03 08:16:31
Sharing a problem that I had (and now solved). On my development machine, I run IIS with PHP. I upgraded to PHP7 and suddenly my code no longer worked, returning this error... session_start(): Failed to read session data: user (path: C:\WINDOWS\temp) It looks like a permissions issue, right? So, I spent a long time tweaking php.ini settings and trying to change folder permissions - with no success. Then I realised something. See my answer below. I finally realised the message was meaningless - the application implements its own session handler using the database. In the read method, I get the

How to make mPDF 6.1 work with PHP 7.1.5

青春壹個敷衍的年華 提交于 2019-12-02 12:34:46
问题 Developed on on a WAMP stack with PHP 5.6, then transferred to LAMP 7.1.5 Everything is working OK except for mPDF 6.1.0 which is giving the following: Warning: A non-numeric value encountered in /var/sites/s/example.com/php_libs/vendor/mpdf/mpdf/mpdf.php on line 30648 Warning: A non-numeric value encountered in /var/sites/s/example.com/php_libs/vendor/mpdf/mpdf/mpdf.php on line 17074 Warning: A non-numeric value encountered in /var/sites/s/example.com/php_libs/vendor/mpdf/mpdf/mpdf.php on

How to make mPDF 6.1 work with PHP 7.1.5

岁酱吖の 提交于 2019-12-02 03:33:06
Developed on on a WAMP stack with PHP 5.6, then transferred to LAMP 7.1.5 Everything is working OK except for mPDF 6.1.0 which is giving the following: Warning: A non-numeric value encountered in /var/sites/s/example.com/php_libs/vendor/mpdf/mpdf/mpdf.php on line 30648 Warning: A non-numeric value encountered in /var/sites/s/example.com/php_libs/vendor/mpdf/mpdf/mpdf.php on line 17074 Warning: A non-numeric value encountered in /var/sites/s/example.com/php_libs/vendor/mpdf/mpdf/mpdf.php on line 17075 Warning: A non-numeric value encountered in /var/sites/s/example.com/php_libs/vendor/mpdf/mpdf