Skip to content
Advertisement

Tag: windows

how to set environment variables in apache xampp ?

I would like to add some environment variables in apache xampp in windows. I already tried the following : adding this in httpd.conf or, run this script but that doesn’t seem to work when I echo phpinfo(), there isn’t ENVIRONMENT variable in the environment section Answer I know this is an old post and the OP already may has solved

Run powershell in PHP with new-Object

I have to manage a cash register from PHP. If I run the following commands via cmd there are no problems. The cash register print the string perfectly. I write the commands in this order: The problem comes when I try to do this from php. I created a web server ( XAMPP ) to ensure that it can send

Copy to clipboard from php command line script in Windows 7

I have a php (5.5) script which I run from the command line in Windows 7. Something like this: My question is, is it possible to copy something to windows clipboard from the script? I want users to have some text available in the clipboard after running this script from the command line. How can it be done? Answer If

Cake php Missing helper, working on local but not on remote

Faced this issue and none of the solutions mentioned online actually helped: Using Cake php all my project was working perfectly fine on a local windows machine but not working on a linux server and I was presented with this error: Eventually I found out that I wasn’t missing any helpers but the issue was in the ctp file and

PHP Windows extensions won´t load

I’m working on a windows server 2008 R2 machine. I have installed apache 2.2 with php 5.4.25 While trying to enable ldap support for the apache server i found out that the server does not load the extensions. I ran php_info() and this was the result Configuration File (php.ini) Path C:Windows Loaded configuration file: “C:phpphp.ini extension_dir C:phpext I have changed

How to install ImageMagick for PHP5.3/5.4 on Windows 8 x64

I need install ImageMagick for PHP 5.4.7 on Windows. How do I install it? Answer Step by step: Download the binary version for Windows Install you binary version. Test you install in CMD Execute convert in CMD. If this work, the intall is success. Now, download Imagemagick DLL for PHP Open imagemagick-php54-php53.tgz In Explorer, go to PHP extension folder PHP:

How to install ImageMagick to use with PHP on Windows 7 (3)

There are other threads about how to install Imagick on Windows 7 but no help for me so far. (Maybe problems have came up with more recent versions) I have followed these steps to install: Download and install ImageMagick http://www.imagemagick.org/download/binaries/ImageMagick-6.8.8-1-Q16-x86-dll.exe Download php_imagick.dll and copy to extension dir (c:xamppphpext) http://www.peewit.fr/imagick/php55/vc11/x86/ts/php_imagick.dll Edit php.ini file and add new extension (c:xamppphpphp.ini) extension=php_imagick.dll Save ini

Gettext will always use system default locale

I need to localise a Windows-only PHP web application and I’m evaluating the gettext extension but I’m having the hardest time trying to make it work in my Windows 7 development box. I’ve used trial and error together with Process Monitor to overcome the poor and inaccurate documentation and I’ve managed to make _() display strings from the *.po catalogue

Advertisement