Re: How to specify compiler options on Win32
| From: | Tom Rogers | Date: | Thu, 08 Jul 2004 09:27:20 +0000 |
| Subject: | Re: How to specify compiler options on Win32 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189949@lists.php.net to get a copy of this message | ||
Hi,
Thursday, July 8, 2004, 6:56:17 PM, you wrote:
RD> Hi,
RD> Using the guide on the Zend site
RD> (http://www.zend.com/manual/install.windows.php#install.windows.build)
RD> I have successfully compiled and built the Win32 version of PHP using
RD> Visual C++. For now I am building the CLI version - and it works just
RD> great, but I have what is probably a very basic question - how do you
RD> add the compile time options when building it?
RD> For example I want to build the CLI version with --enable-memory-limit
RD> so I can use the memory_get_usage() function - but I am simply not
RD> sure where to specify this before building the project. I'm guessing
RD> it lurks somewhere in the Project Settings for php4ts_cli?
RD> Best regards,
RD> Richard Davey
RD> --
RD> http://www.launchcode.co.uk - PHP Development Services
RD> "I am not young enough to know everything." - Oscar Wilde
php-x.x.x/main/config_w32.h is where they are set, but I don't think
--enable-memory-limit will work in windows (at least I couldn't get
it to report anything meaningfull :)
--
regards,
Tom