[drupal-support] I'll try anything
Kobus Myburgh
ITBJDM at puknet.puk.ac.za
Wed Mar 9 05:22:20 UTC 2005
Dan, Steve has this correctly summarized for the simplest way (at least
for me). I have set up Drupal on my Windows computers for over 2 years
now, ranging from Windows NT, 2K as well as XP home and professional.
Using PHP 4.3.6 in most of my installations, I only had to do the
following:
1) Copy some dll file (If I recall correctly by head, it is php_ts.dll)
to the windows/system32 folder
2) Copy php.ini to the Windows folder
3) I had to edit php.ini to set "register_globals" to ON
These instructions were included in the installation instructions for
PHP 4.1.x that I once used, not sure if it is included in the latter
versions.
Another plan I tried recently, which also worked was to install PHPDEV,
a full PHP/MySQL/Apache package that is available for download here:
http://www.firepages.com.au/
Good luck and HTH!
Kobus
>>> public at destratify.com 3/9/2005 5:54:01 AM >>>
I haven't done this, but one workaround would be to try setting the
variable in the .htaccess file in your drupal directory. You should be
able to add a line like
php_value memory_limit 32M
to the various php variable overloads in the section that begins with
<IfModule mod_php4.c>
# If you are using Apache 2, you have to use <IfModule
sapi_apache2.c>
# instead of <IfModule mod_php4.c>.
if you've used the default .htaccess file. I have no idea how this
would play out on a windows system, however.
-Ethan.
stevew at etmeli.us wrote:
>I got Drupal running on my laptop at home and the one I carry for
work, so
>I know it can be done. But I'm no genius with Windows. (I agree that
it
>is a piece of cake getting it running on Linux.) All I can think of
is
>the php.ini has to be in the windows directory, not just in the php
>install dir, so you might check that out.
>
>Steve
>
>
>
>>Sorry if this is considered off-topic - but I've been trying to get
some
>>Drupal (4.6) work done and have been beating my head against this all
day
>>-
>>
>>I'm having a wierd problem. I'm setting up my laptop (winxp home) to
do
>>some dev. work - I have previously installed apache 1.x and PHP
4.3.10.
>>I can't get the "memory_limit" ini setting to "take". It is clearly
>>(and I believe correctly) set in my ini file -
>>
>>memory_limit = 8M ; Maximum amount of memory a script may
consume
>>(8MB)
>>
>>Which is the default when you set up PHP. When I do a phpinfo() it
>>simply doesn't report anything - doesn't show up. Other variables
can
>>be set in that ini file and they do show up.
>>
>>I have tried to manually set it but that doesn't work. I try this:
>>
>>print "here I am: ".ini_get('memory_limit')."</br>";
>>print "here I am: max size: ".ini_get('post_max_size');
>>
>>and I can see post_max_size but not memory_limit. I have tried with
>>both the cgi and dll flavors of PHP. I deeply suspect a stupid MS
>>trick. HELP!
>>
>>Needless to say everything is working fine in linux land - I just
got
>>done there in 2 minutes what I have spent all day doing so far - but
I
>>would like to be able to work on my laptop (no jokes about
installing
>>linux on my laptop please - I've had enough today already).
>>
>>Thanks in adavance,
>>
>>Dan
>>
>>--
>>[ Drupal support list | http://lists.drupal.org/ ]
>>
>>
>>
>
>
>
>
--
[ Drupal support list | http://lists.drupal.org/ ]
More information about the drupal-support
mailing list