Re: [PHP] running slow on Win2k
More details on this... As I pay more attention to when it is sluggish or not, I notice that it seems to run fine on a typical page, with or without mySQL connections. But... the slowdown comes whenever I'm into my frame-based Admin, where 2-3 frames are typically loading at the same time. The same Admin structure written in another language is quick, but the PHP version seems slow. I hope this can spark some new suggestions... Thanks in advance... Peter At 11:19 AM 10/7/2002 -0400, you wrote: Hi everyone, I notice that my PHP runs really slow on Win2k Server w/ IIS 5, and even slower when accessing a mySQL database. It's a PIII-800 with 256MB RAM. It is otherwise a great machine, and fast. Any suggestions? Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php - - - - - - - - - - - - - - - - - - - - - Fourth Realm Solutions [EMAIL PROTECTED] http://www.fourthrealm.com Tel: 519-739-1652 - - - - - - - - - - - - - - - - - - - - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] running slow on Win2k
Hi everyone, I notice that my PHP runs really slow on Win2k Server w/ IIS 5, and even slower when accessing a mySQL database. It's a PIII-800 with 256MB RAM. It is otherwise a great machine, and fast. Any suggestions? Peter - - - - - - - - - - - - - - - - - - - - - Fourth Realm Solutions [EMAIL PROTECTED] http://www.fourthrealm.com Tel: 519-739-1652 - - - - - - - - - - - - - - - - - - - - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] running slow on Win2k
I have a dev setup running IIS/MSSQL Apache/MySQL on a w2k box with 800PIII/128M Ram. It flies for me. php 4.2.2 as isapi Support @ Fourthrealm.com wrote: Hi everyone, I notice that my PHP runs really slow on Win2k Server w/ IIS 5, and even slower when accessing a mySQL database. It's a PIII-800 with 256MB RAM. It is otherwise a great machine, and fast. Any suggestions? Peter - - - - - - - - - - - - - - - - - - - - - Fourth Realm Solutions [EMAIL PROTECTED] http://www.fourthrealm.com Tel: 519-739-1652 - - - - - - - - - - - - - - - - - - - - - -- Gerard Samuel http://www.trini0.org:81/ http://dev.trini0.org:81/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] running slow on Win2k
Hello, On Tuesday, October 8, 2002 12:19 AM Support @ Fourthrealm.com wrote: Hi everyone, I notice that my PHP runs really slow on Win2k Server w/ IIS 5, and even slower when accessing a mySQL database. It's a PIII-800 with 256MB RAM. It is otherwise a great machine, and fast. Any suggestions? Perhaps, you can increase your RAM. Better yet, take Win2k and IIS off and install Linux and Apache. I'm sure next time you'll ask, why is it faster? - E Peter - - - - - - - - - - - - - - - - - - - - - Fourth Realm Solutions [EMAIL PROTECTED] http://www.fourthrealm.com Tel: 519-739-1652 - - - - - - - - - - - - - - - - - - - - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] running slow on Win2k
Edwin, I have no interest in getting into a Win2K/Linux debate. There are strengths and reasons for using both systems. I run other applications (ASP, .NET, iHTML, MSSQL) without any problems, and they all work very quickly. Win2K is my primary development environment as it matches the systems my clients use. So, I just need to know if there are some tweaks I should be considering to speed up PHP? Peter At 12:31 AM 10/8/2002 +0900, @ Edwin wrote: Hello, On Tuesday, October 8, 2002 12:19 AM Support @ Fourthrealm.com wrote: Hi everyone, I notice that my PHP runs really slow on Win2k Server w/ IIS 5, and even slower when accessing a mySQL database. It's a PIII-800 with 256MB RAM. It is otherwise a great machine, and fast. Any suggestions? Perhaps, you can increase your RAM. Better yet, take Win2k and IIS off and install Linux and Apache. I'm sure next time you'll ask, why is it faster? - E Peter - - - - - - - - - - - - - - - - - - - - - Fourth Realm Solutions [EMAIL PROTECTED] http://www.fourthrealm.com Tel: 519-739-1652 - - - - - - - - - - - - - - - - - - - - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php - - - - - - - - - - - - - - - - - - - - - Fourth Realm Solutions [EMAIL PROTECTED] http://www.fourthrealm.com Tel: 519-739-1652 - - - - - - - - - - - - - - - - - - - - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] running slow on Win2k
Peter, On Tuesday, October 8, 2002 12:40 AM Support Fourthrealm.com wrote: Edwin, I have no interest in getting into a Win2K/Linux debate. There are strengths and reasons for using both systems. Of course... Most of the time I code on my Windoze machine. (Besides, I use it most of the time for writing to the ML :) But the only test server I have is a linux box. I run other applications (ASP, .NET, iHTML, MSSQL) without any problems, and they all work very quickly. Win2K is my primary development environment as it matches the systems my clients use. ...also I use Windoze browsers for testing... So, I just need to know if there are some tweaks I should be considering to speed up PHP? I see. (Sorry about my first comment.) Well, I'm not really aware of any (ini) settings that would drastically change the speed PHP. However, there are some programming techniques (already discussed in the list) that would speed up your scripts. (e.g., caching the results of your sql query on a text file and calling that file later on perhaps, etc.) But if you're already doing something similar, I guess, the bottleneck would be the hardware. Add more RAMs if possible, change to a faster harddisk (SCSI or use RAID), get another PIII-800 and upgrade your motherboard to dual CPU, etc.--I'm sure your boss (if you have one and if you can convince him/her that it's necessary) will even be happy to get you a new workstation. You're running a lot of other applications so I'm pretty sure you'll benefit from a faster machine. Why do the other app run faster? I don't really know. But, maybe, IIS is just friendlier with its relatives... Just my opinion... - E [snip] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] running slow on Win2k
I have no interest in getting into a Win2K/Linux debate. There are strengths and reasons for using both systems. Good for you, I was about to post something similar. For the record my dev environment is a laptop with a Celeron 1.2/256MB/WinXP Pro and it's running Apache, MySQL and PHP just fine. My production environment is typically *nix in various flavours. So, I just need to know if there are some tweaks I should be considering to speed up PHP? How did you install the software? There aren't particular tweaks that I'm aware of. I used to use PHPTriad or some such but when I moved to XP Pro the version I had didn't seem to want to play the game so I went out and downloaded the relevant Windows versions for each package and installed them manually using the guides on the relevant web sites. It may have taken a little longer to do but it works perfectly - to the point where I leave Apache and MySQL running permanently on my laptop and they have little or no impact on the machine in normal use. If you've installed from relevant Win versions then there shouldn't be much tweaking to be done - particularly if you've followed the install guides for each package. I found the install guides to be very good. CYA, Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php