Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #16394

Re: how use php -w command in localhost on win

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: how use php -w command in localhost on win
Date 2016-02-12 13:38 +0100
Message-ID <56BDD249.9070604@arnowelzel.de> (permalink)
References (2 earlier) <n9ic9j$ju1$1@gioia.aioe.org> <n9io6s$3th$1@jstuckle.eternal-september.org> <n9k9d7$1gcf$1@gioia.aioe.org> <56BDA9B3.3040102@arnowelzel.de> <n9kcjd$1n3o$1@gioia.aioe.org>

Show all headers | View raw


alex schrieb am 2016-02-12 um 11:36:

> Il 12/02/2016 10:45, Arno Welzel ha scritto:
>> alex schrieb am 2016-02-12 um 10:42:
>>
>> [...]
>>> I use wamp software for to develop php code under windows;
>>> so not know how I can use the command php -w;
>>>
>>> tested also this:
>>> I created a file test.php with this code
>>> exec("php -w file1.php > file2.php;");
>>
>> And the full path to php.exe is in the PATH environment variable of
>> Windows? Otherwise exec() will not know how to start php.
> ok thanks for the suggestion;
> I done so:
> inner the folder www I copyed the file php.exe and php5t.dll taken from 
> folder php; and ok work

This is an ugly hack you should avoid.

Just add the folder where php.exe is to the PATH variable so you can use
"php" as a command everywhere.


-- 
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
http://fahrradzukunft.de

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

how use php -w command in localhost on win alex <alex@nomailno.it> - 2016-02-11 14:50 +0100
  Re: how use php -w command in localhost on win Erwin Moller <erwinmollerusenet@xs4all.nl> - 2016-02-11 16:56 +0100
    Re: how use php -w command in localhost on win alex <alex@nomailno.it> - 2016-02-11 17:19 +0100
      Re: how use php -w command in localhost on win Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-11 20:38 +0100
        Re: how use php -w command in localhost on win Tim Streater <timstreater@greenbee.net> - 2016-02-11 21:50 +0000
      Re: how use php -w command in localhost on win Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-11 14:45 -0500
        Re: how use php -w command in localhost on win alex <alex@nomailno.it> - 2016-02-12 10:42 +0100
          Re: how use php -w command in localhost on win Arno Welzel <usenet@arnowelzel.de> - 2016-02-12 10:45 +0100
            Re: how use php -w command in localhost on win alex <alex@nomailno.it> - 2016-02-12 11:36 +0100
              Re: how use php -w command in localhost on win Arno Welzel <usenet@arnowelzel.de> - 2016-02-12 13:38 +0100
                Re: how use php -w command in localhost on win alex <alex@nomailno.it> - 2016-02-12 16:07 +0100
                Re: how use php -w command in localhost on win "R.Wieser" <address@not.available> - 2016-02-12 16:31 +0100
                Re: how use php -w command in localhost on win alex <alex@nomailno.it> - 2016-02-12 17:12 +0100
                Re: how use php -w command in localhost on win "R.Wieser" <address@not.available> - 2016-02-12 18:28 +0100
                Re: how use php -w command in localhost on win "A. Begarin" <andova.begarin@gmail.com> - 2016-02-12 18:24 -0800
                Re: how use php -w command in localhost on win "R.Wieser" <address@not.available> - 2016-02-13 10:18 +0100
                Re: how use php -w command in localhost on win "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-02-12 21:41 +0100
                Re: how use php -w command in localhost on win Arno Welzel <usenet@arnowelzel.de> - 2016-02-13 08:04 +0100
          Re: how use php -w command in localhost on win Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-12 09:57 -0500
  Re: how use php -w command in localhost on win Matthew Carter <m@ahungry.com> - 2016-02-11 21:29 -0500
  Re: how use php -w command in localhost on win Arno Welzel <usenet@arnowelzel.de> - 2016-02-12 09:04 +0100
  Re: how use php -w command in localhost on win "R.Wieser" <address@not.available> - 2016-02-12 10:20 +0100
    Re: how use php -w command in localhost on win alex <alex@nomailno.it> - 2016-02-12 10:43 +0100
      Re: how use php -w command in localhost on win Erwin Moller <erwinmollerusenet@xs4all.nl> - 2016-02-12 11:04 +0100
        Re: how use php -w command in localhost on win Erwin Moller <erwinmollerusenet@xs4all.nl> - 2016-02-12 11:08 +0100
          Re: how use php -w command in localhost on win alex <alex@nomailno.it> - 2016-02-12 11:41 +0100
  Re: how use php -w command in localhost on win "A. Begarin" <andova.begarin@gmail.com> - 2016-02-12 18:13 -0800
    Re: how use php -w command in localhost on win "A. Begarin" <andova.begarin@gmail.com> - 2016-02-12 18:19 -0800
      Re: how use php -w command in localhost on win Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-12 22:51 -0500

csiph-web