![]() |
Apache/PHP/MySQL Config Question
I'm having some problems with some scripts and I've searched around and people said that in the phpinfo() active links should be turned off:
MySQL Support enabled Active Persistent Links 0 Active Links 1 But I can not find out if I disable it in the php.ini or the my.cnf. First time I've ran into this problem. Can somebody please help me out here? It could've also been the other admin that compiled it, but he's on vacation. I've check my other servers and they have: MySQL Support enabled Active Persistent Links 0 Active Links 0 But the php.ini config looks the same for the mysql configs and the my.cnf are the same. Is this from the way PHP was compiled or even how mysql was compiled. Thanks, jDoG |
* bump *
|
should just able to add the directive to the php.ini file. A graceful restart of apache may be needed as well, I've not mucked with active links.
|
Quote:
MySQL Support enabled Active Persistent Links 0 Active Links 0 I've never seen this directive at all before in a php.ini file, and not sure exactly what to do. I've search google, and a lot of servers have it set to zero, searched the php.net website's, and can't find anything that shows how to disable this. Which is kindof surpising and leading me to think that it is compiled into PHP, which is still surpising to me. jDoG |
Quote:
http://www.easysoft.com/products/999...9&product=2002 |
Quote:
jDoG |
Quote:
|
Quote:
jDoG |
Quote:
(I do unix sysadmin for a living, yes I've setup a config file...ha) I'm still looking.... |
Quote:
jDoG |
Quote:
|
Quote:
jDoG |
Quote:
still looking... |
JDog please hit me up on ICQ - 193397101
|
Punting for now, need sleep. Will see what i find in the morning. my mysql books are at the office ;(
|
Quote:
jDoG |
So'd you figure it out yet fucktard?
I say that in the lightest sense ;) |
Looks like you did... just read your phpinfo...
|
Quote:
jDoG |
Quote:
jDoG |
What server is it on?
Don't call me a fuck at CTO/Lead Programmer ;) I hope you know I am just busting your chops... I think you have the largest command line entry I have ever seen for the install BTW. |
Quote:
But the configs are the same. Nothing drastic that would change the Active Links that I could see. Only main difference I see of the compiles are GLib. jDoG |
[MSSQL]
; Allow or prevent persistent links. mssql.allow_persistent = On ; Maximum number of persistent links. -1 means no limit. mssql.max_persistent = -1 ; Maximum number of links (persistent+non persistent). -1 means no limit. mssql.max_links = -1 The top of the mysql section of the php.ini look similar to this? Make sure you are looking at the correct ini file since zend should have taken it over if you installed it. Make sure it is symbolically linked from the base directory of your apache installation to zends base directory too. |
Configuration File (php.ini) Path /etc/php.ini - File I am looking at
[MySQL] ; Allow or prevent persistent links. mysql.allow_persistent = On ; Maximum number of persistent links. -1 means no limit. mysql.max_persistent = -1 ; Maximum number of links (persistent + non-persistent). -1 means no limit. mysql.max_links = -1 And the top part of that file. jDoG |
in the php.ini
is it showing Make sure allow_persistent = On in your php.ini file ?????? edit: lol nm |
Quote:
jDoG |
Quote:
|
* bump * for the day people
|
Anybody ever heard of this?
jDoG |
bump for afternoon crew!
jDoG |
What problem are you trying to solve?
"Active Links" is not a boolean operator. It will be how many active links php has (or thinks it has) to a mysql server. http://www.google.com/search?hl=en&l...e+Links+5%2 2 http://www.google.com/search?hl=en&l...e+Links+6%2 2 http://www.google.com/search?hl=en&l...e+Links+7%2 2 |
Quote:
jDoG |
Quote:
Is there a problem behind all this that you want help with? |
I had a friend a while back who wanted to do the same thing. I don't know how he did it but he figured it out. To bad i lost touch with him.
There was reason to set active links to 0, but i don't remember why that was. All jdog wants to do is turn "active links" off. So he wants to go from this, MySQL Support enabled Active Persistent Links 0 Active Links 1 to this: MySQL Support enabled Active Persistent Links 0 Active Links 0 this is viewable in the phpinfo.php page i believe |
I understand what he asked, I understand what you asked again, but do you understand what posted here ?
|
Quote:
jDoG |
Wonder if what is compiled in?
|
Quote:
jDoG |
Are you still trying to find a way to turn 'active links' off?
|
Quote:
This is the first time that I've been this confused on a PHP/MySQL install. jDoG |
All times are GMT -7. The time now is 12:23 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123