Re: php autodetect
| From: | Gabor Hojtsy | Date: | Wed, 01 May 2002 12:42:07 +0000 |
| Subject: | Re: php autodetect | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969345122@lists.php.net to get a copy of this message | ||
> > I am not experienced with configure script coding at all,
> > but I have tried some methods to make php autodetect work
> > on windows, but with no success.
>
> Hm, it worked for me all the time, maybe because the path where php
> is installed is in my path environment variable.
> e.g: /cygdrive/c/php:
>
> The output, using cygwin:
>
> $ ./configure
> file versions
> Makefile.in,v 1.113
> configure.in,v 1.145
> configure options:
>
> checking for php... /cygdrive/c/php/php
> checking php version... 4.1.1 ok
> checking for jade... ../phpdoc-tools/jade/jade.exe
>
> It also works specifying manually where the php.exe is located:
> e.g.:
>
> $ ./configure --with-php=/cygdrive/c/php/php.exe
> file versions
> Makefile.in,v 1.113
> configure.in,v 1.145
> configure options: --with-php=/cygdrive/c/php/php.exe
>
> checking for php... /cygdrive/c/php/php.exe
> checking php version... 4.1.1 ok
>
> Maybe you didn't try the somewhat strange cygwin path-natation? :-)
Still I would like to see a check for ../phpdoc-tools/php.bat or something
like this, as jade and other things does not need to be on the path,
but they are still found by configure. I feel a bit much to put php
to the path, but I'll do this if I feel to uncomfortable adding the
--with-php=php.bat every time to configure... Thanks for the tip.
Goba