.php is slow after enabling MySql extensions?
13-10-2008, 21:11
|
#1
|
|
Gamertag: Callumpy
Join Date: Jul 2007
Location: Chavy Derbyshire
Age: 14
Services: Really Crappy PC
Internet: Be* 24Mb Unlimited
Phone: HTC Touch White WM6
TV: 32" + Xbox 360
Posts: 903
|
.php is slow after enabling MySql extensions?
I have just recently added phpMyAdmin and phpBB3 to my website, but for those i needed to enable some MySQL extensions in php.ini. Now all my other .php pages load really slowly
Any idea why  ?
|
|
|
13-10-2008, 22:06
|
#2
|
Join Date: Jul 2003
Location: Poole, Dorset
Age: 23
Services: Sky+
V-Box
VM 10MBit
Posts: 10,108
|
Re: .php is slow after enabling MySql extensions?
Slow server? I've never noticed any slowdown with MySQL extensions enabled.
|
|
|
13-10-2008, 22:14
|
#3
|
|
Gamertag: Callumpy
Join Date: Jul 2007
Location: Chavy Derbyshire
Age: 14
Services: Really Crappy PC
Internet: Be* 24Mb Unlimited
Phone: HTC Touch White WM6
TV: 32" + Xbox 360
Posts: 903
|
Re: .php is slow after enabling MySql extensions?
Quote:
Originally Posted by Graham M
Slow server? I've never noticed any slowdown with MySQL extensions enabled.
|
My server isnt slow, ive seen it at a max of 5% CPU.
|
|
|
13-10-2008, 22:17
|
#4
|
Join Date: Jul 2003
Location: Poole, Dorset
Age: 23
Services: Sky+
V-Box
VM 10MBit
Posts: 10,108
|
Re: .php is slow after enabling MySql extensions?
What Operating System and Web Server are you running?
|
|
|
13-10-2008, 22:21
|
#5
|
|
Gamertag: Callumpy
Join Date: Jul 2007
Location: Chavy Derbyshire
Age: 14
Services: Really Crappy PC
Internet: Be* 24Mb Unlimited
Phone: HTC Touch White WM6
TV: 32" + Xbox 360
Posts: 903
|
Re: .php is slow after enabling MySql extensions?
Quote:
Originally Posted by Graham M
What Operating System and Web Server are you running?
|
Windows Home Server, and im using Abyss Webserver
|
|
|
13-10-2008, 22:23
|
#6
|
Join Date: Jul 2003
Location: Poole, Dorset
Age: 23
Services: Sky+
V-Box
VM 10MBit
Posts: 10,108
|
Re: .php is slow after enabling MySql extensions?
Hmm sorry dont know enough about Abyss to comment, I tend to stick with Apache
|
|
|
13-10-2008, 23:13
|
#7
|
|
vista home premium user
Join Date: Jul 2004
Location: chavy Nottingham
Age: 25
Services: Freeview, Sky+ on big TV, 2 Mb/s NTL BB, mega PC, PSP, PDA, N95
Posts: 6,401
|
Re: .php is slow after enabling MySql extensions?
Using WHS with IIS and Apache and my php/sql is fine (with a forum and wiki), are you using ewwy CGI?
__________________
PC: X2 4200+, 2GB RAM, X1650, 940GB HDDs, Audigy2ZS Platinum, HVR1100, Vista Home Premium Laptop: Advent 7203 (T5300, 2GB RAM, 80GB HDD, VHP) Server: WHS (XP 2800+, 1GB RAM, 820GB HDD)
 10111 pts
|
|
|
13-10-2008, 23:30
|
#8
|
|
Gamertag: Callumpy
Join Date: Jul 2007
Location: Chavy Derbyshire
Age: 14
Services: Really Crappy PC
Internet: Be* 24Mb Unlimited
Phone: HTC Touch White WM6
TV: 32" + Xbox 360
Posts: 903
|
Re: .php is slow after enabling MySql extensions?
Quote:
Originally Posted by nffc
Using WHS with IIS and Apache and my php/sql is fine (with a forum and wiki), are you using ewwy CGI?
|
yes, the forum wont work with ISAPI
|
|
|
14-10-2008, 06:37
|
#9
|
Join Date: Jul 2003
Location: Poole, Dorset
Age: 23
Services: Sky+
V-Box
VM 10MBit
Posts: 10,108
|
Re: .php is slow after enabling MySql extensions?
That could be you problem, not only is CGI slow to run, it's also pretty insecure unless configured tightly.
|
|
|
14-10-2008, 07:39
|
#10
|
|
Old dog, New tricks
Join Date: Dec 2006
Location: Lincoln UK
Services: 20Mb on occasions
Posts: 870
|
Re: .php is slow after enabling MySql extensions?
Quote:
Originally Posted by Graham M
That could be you problem, not only is CGI slow to run, it's also pretty insecure unless configured tightly.
|
Yeah, it's probably all the phishing links running from your CGI bin that are slowing the system down..
__________________
-= David =-
"Any sufficiently advanced political correctness is indistinguishable from irony." -- Erik Naggum
|
|
|
14-10-2008, 08:32
|
#11
|
Join Date: Dec 2007
Location: Postcode says MK, Postal town say Bedford, Cable says Luton..But I'm not in any of them
Age: 40
Services: NTL Business 10Mb internet
Non-UK Digital Sat on a DGS Mutant
Posts: 2,179
|
Re: .php is slow after enabling MySql extensions?
I presume home server is IIS7?? Does IIS7 though come with fastCGI by default, if not it'll only handle one php request at a time....
Also which PHP are you running?? Threaded or Non-threaded?? FastCGI requires non-threaded otherwise it can;t do multiple CGI requests
Try this article
|
|
|
14-10-2008, 08:34
|
#12
|
Join Date: Jul 2003
Location: Poole, Dorset
Age: 23
Services: Sky+
V-Box
VM 10MBit
Posts: 10,108
|
Re: .php is slow after enabling MySql extensions?
No he's using Abyss.
|
|
|
14-10-2008, 08:35
|
#13
|
Join Date: Dec 2007
Location: Postcode says MK, Postal town say Bedford, Cable says Luton..But I'm not in any of them
Age: 40
Services: NTL Business 10Mb internet
Non-UK Digital Sat on a DGS Mutant
Posts: 2,179
|
Re: .php is slow after enabling MySql extensions?
OK, I presume though it'll still need the correct PHP...
|
|
|
14-10-2008, 12:59
|
#14
|
|
vista home premium user
Join Date: Jul 2004
Location: chavy Nottingham
Age: 25
Services: Freeview, Sky+ on big TV, 2 Mb/s NTL BB, mega PC, PSP, PDA, N95
Posts: 6,401
|
Re: .php is slow after enabling MySql extensions?
Quote:
Originally Posted by Kymmy
I presume home server is IIS7?? Does IIS7 though come with fastCGI by default, if not it'll only handle one php request at a time....
|
It's IIS6.
Quote:
Originally Posted by Graham M
That could be you problem, not only is CGI slow to run, it's also pretty insecure unless configured tightly.
|
Which is why I used Isapi
Quote:
Originally Posted by Callumpy
yes, the forum wont work with ISAPI
|
Then it's set up wrongly, since mine works fine with ISAPI.
Quote:
Originally Posted by Kymmy
OK, I presume though it'll still need the correct PHP...
|
Should do. The installer on win32 is a pain though, it doesnt install enough of the plugins and for some reason IIS looks for php.ini in c:/windows.
__________________
PC: X2 4200+, 2GB RAM, X1650, 940GB HDDs, Audigy2ZS Platinum, HVR1100, Vista Home Premium Laptop: Advent 7203 (T5300, 2GB RAM, 80GB HDD, VHP) Server: WHS (XP 2800+, 1GB RAM, 820GB HDD)
 10111 pts
|
|
|
14-10-2008, 15:16
|
#15
|
|
Gamertag: Callumpy
Join Date: Jul 2007
Location: Chavy Derbyshire
Age: 14
Services: Really Crappy PC
Internet: Be* 24Mb Unlimited
Phone: HTC Touch White WM6
TV: 32" + Xbox 360
Posts: 903
|
Re: .php is slow after enabling MySql extensions?
when i change to ISAPI, the forum is just a blank page and phpMyAdmin says it cant load the mysql extension
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 11:42.
|