Home News Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | .php is slow after enabling MySql extensions?


You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Internet Discussion

.php is slow after enabling MySql extensions?
Reply
 
Thread Tools
Old 13-10-2008, 21:11   #1
Gamertag: Callumpy
 
Callumpy's Avatar
 
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
Callumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to all
Send a message via MSN to Callumpy Send a message via Yahoo to Callumpy Send a message via Skype™ to Callumpy
Question .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 ?
Callumpy is offline   Reply With Quote
Old 13-10-2008, 22:06   #2
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 23
Services: Sky+ V-Box VM 10MBit
Posts: 10,108
Graham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny star
Graham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny star
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: .php is slow after enabling MySql extensions?

Slow server? I've never noticed any slowdown with MySQL extensions enabled.
__________________
Used to be Zeph - I'm still me though
Peter: Oh my god, Brian, there's a message in my Alphabits. It says, 'Oooooo.'
Brian: Peter, those are Cheerios.
www.elitehealthdistribution.co.uk - www.loonyasylum.net
Graham M is offline   Reply With Quote
Old 13-10-2008, 22:14   #3
Gamertag: Callumpy
 
Callumpy's Avatar
 
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
Callumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to all
Send a message via MSN to Callumpy Send a message via Yahoo to Callumpy Send a message via Skype™ to Callumpy
Re: .php is slow after enabling MySql extensions?

Quote:
Originally Posted by Graham M View Post
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.
Callumpy is offline   Reply With Quote
Old 13-10-2008, 22:17   #4
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 23
Services: Sky+ V-Box VM 10MBit
Posts: 10,108
Graham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny star
Graham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny star
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: .php is slow after enabling MySql extensions?

What Operating System and Web Server are you running?
__________________
Used to be Zeph - I'm still me though
Peter: Oh my god, Brian, there's a message in my Alphabits. It says, 'Oooooo.'
Brian: Peter, those are Cheerios.
www.elitehealthdistribution.co.uk - www.loonyasylum.net
Graham M is offline   Reply With Quote
Old 13-10-2008, 22:21   #5
Gamertag: Callumpy
 
Callumpy's Avatar
 
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
Callumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to all
Send a message via MSN to Callumpy Send a message via Yahoo to Callumpy Send a message via Skype™ to Callumpy
Re: .php is slow after enabling MySql extensions?

Quote:
Originally Posted by Graham M View Post
What Operating System and Web Server are you running?
Windows Home Server, and im using Abyss Webserver
Callumpy is offline   Reply With Quote
Old 13-10-2008, 22:23   #6
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 23
Services: Sky+ V-Box VM 10MBit
Posts: 10,108
Graham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny star
Graham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny star
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: .php is slow after enabling MySql extensions?

Hmm sorry dont know enough about Abyss to comment, I tend to stick with Apache
__________________
Used to be Zeph - I'm still me though
Peter: Oh my god, Brian, there's a message in my Alphabits. It says, 'Oooooo.'
Brian: Peter, those are Cheerios.
www.elitehealthdistribution.co.uk - www.loonyasylum.net
Graham M is offline   Reply With Quote
Old 13-10-2008, 23:13   #7
vista home premium user
 
nffc's Avatar
 
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
nffc has a nice shiny star
nffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny star
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
nffc is offline   Reply With Quote
Old 13-10-2008, 23:30   #8
Gamertag: Callumpy
 
Callumpy's Avatar
 
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
Callumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to all
Send a message via MSN to Callumpy Send a message via Yahoo to Callumpy Send a message via Skype™ to Callumpy
Re: .php is slow after enabling MySql extensions?

Quote:
Originally Posted by nffc View Post
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
Callumpy is offline   Reply With Quote
Old 14-10-2008, 06:37   #9
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 23
Services: Sky+ V-Box VM 10MBit
Posts: 10,108
Graham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny star
Graham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny star
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
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.
__________________
Used to be Zeph - I'm still me though
Peter: Oh my god, Brian, there's a message in my Alphabits. It says, 'Oooooo.'
Brian: Peter, those are Cheerios.
www.elitehealthdistribution.co.uk - www.loonyasylum.net
Graham M is offline   Reply With Quote
Old 14-10-2008, 07:39   #10
Old dog, New tricks
 
Join Date: Dec 2006
Location: Lincoln UK
Services: 20Mb on occasions
Posts: 870
DaiNasty has reached the bronze age
DaiNasty has reached the bronze ageDaiNasty has reached the bronze age
Send a message via MSN to DaiNasty
Re: .php is slow after enabling MySql extensions?

Quote:
Originally Posted by Graham M View Post
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
DaiNasty is offline   Reply With Quote
Old 14-10-2008, 08:32   #11
 
Kymmy's Avatar
 
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
Kymmy has reached the bronze age
Kymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze age
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
Kymmy is online now   Reply With Quote
Old 14-10-2008, 08:34   #12
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 23
Services: Sky+ V-Box VM 10MBit
Posts: 10,108
Graham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny star
Graham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny star
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: .php is slow after enabling MySql extensions?

No he's using Abyss.
__________________
Used to be Zeph - I'm still me though
Peter: Oh my god, Brian, there's a message in my Alphabits. It says, 'Oooooo.'
Brian: Peter, those are Cheerios.
www.elitehealthdistribution.co.uk - www.loonyasylum.net
Graham M is offline   Reply With Quote
Old 14-10-2008, 08:35   #13
 
Kymmy's Avatar
 
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
Kymmy has reached the bronze age
Kymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze ageKymmy has reached the bronze age
Re: .php is slow after enabling MySql extensions?

OK, I presume though it'll still need the correct PHP...
Kymmy is online now   Reply With Quote
Old 14-10-2008, 12:59   #14
vista home premium user
 
nffc's Avatar
 
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
nffc has a nice shiny star
nffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny star
Re: .php is slow after enabling MySql extensions?

Quote:
Originally Posted by Kymmy View Post
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 View Post
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 View Post
yes, the forum wont work with ISAPI
Then it's set up wrongly, since mine works fine with ISAPI.
Quote:
Originally Posted by Kymmy View Post
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
nffc is offline   Reply With Quote
Old 14-10-2008, 15:16   #15
Gamertag: Callumpy
 
Callumpy's Avatar
 
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
Callumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to allCallumpy is a name known to all
Send a message via MSN to Callumpy Send a message via Yahoo to Callumpy Send a message via Skype™ to Callumpy
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
Callumpy is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 11:42.


Links
Google
 
Web www.cableforum.co.uk


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
Copyright © 2003 - 2008, Cable Forum.
(server1.cableforum.co.uk)