I’m in a multi developer program. The other developer installed PHPUnit via composer and successfully is running tests. I took the composer files, ran composer update, but when I try to run the tests, I am receiving this error: Output: This is the content of the phpunit shell script. The shebang first l…
Tag: windows
XDebug configured and installed but not working
I followed instructions how to install xdebug. So, I created file with phpinfo() function, that returns me php info. Then copied php info and used xdebug wizard: https://xdebug.org/wizard That returns …
Execute background external program
If I have a script like this: <?php system('notepad'); echo "ENDn"; It opens the Notepad program, but the script stops until Notepad is ended. I would like to open the program in the …
Local IIS installation doesn’t show phpinfo page
I’ve installed PHP on my windows 10 computer, and started IIS. But when I browse to http://localhost/phpinfo.hml the page is completely blank. And if I look at the file view in IIS, it seems that it’s …
phpinfo() not showing in test page on windows 7 with apache 2.4 and php7
I am building a new intranet server (Windows 7) replacing an old one and have installed Apache 2.4.33 and PHP 7.2.7, The services start up just fine and I can browse html pages from the server, the phpinfo in this test page does not show any results, the IP address does work and displays the correct informati…
Keep XAMPP & Install WAMP
I am using Windows 7 and I have XAMPP installed. In Git Bash when I type php -v I get PHP 5.6.15. I need newer version of PHP because I am using Composer and I am unable to install packages that require PHP 7.1. I know that one way to solve this is to backup projects, uninstall the current XAMPP
Installing PHP Cassandra Driver – XAMPP on Windows
I am trying to install prebuilt binaries of Cassandra PHP driver on my windows xampp installation. I downloaded the package from here https://pecl.php.net/package/cassandra. I did the following; Extracted the package and added php_cassandra.dll to c:xamppphpext Added extension=php_cassandra.dll in php.ini fil…
XAMPP (WIndows) PHP GMP Functions
Is there any way to use PHP GMP Functions on windows without using a virtual machine? Thanks in advance. [http://php.net/manual/en/ref.gmp.ph] Answer According to GMP’s website: GMP’s main target platforms are Unix-type systems, such as GNU/Linux, Solaris, HP-UX, Mac OS X/Darwin, BSD, AIX, etc. It…
How can I fix which version of Windows PHP is being used for the CLI?
I have WAMPServer 3.0.6 with PHP 7.0.10 Installed. I use Git Bash to use server side cli for my projects, mainly Laravel. There’s a package that needs PHP 7.0 to work and even tought my WAMP Server is …
yaml xampp warning: Unable to load dynamic library ‘C:xamppphpextphp_yaml.dll’
I installed the recent versions of xampp for windows and yaml on my PC with windows 8.1 64bit. The versions were xampp-win32-7.0.9-1-VC14-installer.exe php_yaml-2.0.0rc8-7.0-ts-vc14-x86.zip I put the line of extension=php_yaml.dll to the end of php.ini file. I copied php_yaml.dll to C:/xampp/php/ext folder. I…