Hi, if you have had a problem with windows that php uses 99% of your cpu..here is the fix. first, you must add the following line:
$irc->setUseSockets(TRUE);
Next and most importantly, you must edit php.ini to dynamically add the php_sockets.dll extension
Open php.ini
Find:
;extension=php_sockets.dll
Just take the ; off the beginning (to disable comment):
extension=php_sockets.dll
there you go, it should now use 0.01% of your cpu :)
Havoc Bond <irc.ei-planet.com>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks. Are there any solutions to this when running linux ? top shows the apache2 processes spliting all availiable cpu time between them. System works fine otherwise.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, if you have had a problem with windows that php uses 99% of your cpu..here is the fix. first, you must add the following line:
$irc->setUseSockets(TRUE);
Next and most importantly, you must edit php.ini to dynamically add the php_sockets.dll extension
Open php.ini
Find:
;extension=php_sockets.dll
Just take the ; off the beginning (to disable comment):
extension=php_sockets.dll
there you go, it should now use 0.01% of your cpu :)
Havoc Bond <irc.ei-planet.com>
Thanks. Are there any solutions to this when running linux ? top shows the apache2 processes spliting all availiable cpu time between them. System works fine otherwise.