RE: [PHP-WIN] compiling php on win 2003
| From: | Mikey | Date: | Wed, 04 May 2005 14:32:50 +0000 |
| Subject: | RE: [PHP-WIN] compiling php on win 2003 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25963@lists.php.net to get a copy of this message | ||
[snip]
> Horde will not run without gettext support. Compile php
> --with-gettext before continuing.
>
> I have looked online a bunch and can't seem to get a good
> answer as to what
> to do with the "--with-gettext" information. In my
> php/extensions folder,
> there is a php_gettext.dll but obviously that isn't good
> enough. I also downloaded what was supposed to be the
> gettext binary from one of the GNU sites but don't know what
> to do with all of the files.
>
> If someone could explain to me the whole "compile" thing
> using Windows, I would really appreciate it. I've limited my
> use of PHP because of this problem and would love to start
> doing more php development.
>
> Explaining as if I were a complete moron would probably be
> the most helpful
> to me. : )
OK, have you tried enabling the gettext extenion in your php.ini file first?
In the Dynamic Extensions section of the file, you should see a line such
as:
;extension=php_gettext.dll
Simply remove the semi-colon, save the file and restart your webserver (a
major gotcha over the years). Also you will need to check the your
extension_dir directive is pointing to the folder containing php_gettext.dll
As for trying to compile PHP on Win32 with various extenions enabled? Well,
my advice to a moron would be stick to the binaries - you really shouldn't
need to open up that can of worms just yet ;o)
HTH,
Mikey