Jul 14
Mod-Bandwidth + PHP5 = Not Good
Posted by jamersan | Posted in Porch Talk | Posted on 07-14-2008
I recently purchased an upgraded server, as I regularly do (at least once every year or two). My first move was to swap this site over to “test” everything and make sure the server was working as expected before I move over more important sites.
Unfortunately, I have been unable to login to this site since I made the swap and my time has been limited so I have been unable to find the problem. Over the weekend, I finally sat down and researched the issue.
My research found that mod bandwidth is breaking php5 and that when it is enabled, the _POST variable is not being filled and thus no form submissions work. A quick recompile of apache and php5 without mod bandwidth fixed this issue.
So, I guess most of this week will be spend moving websites.
Interesting article that solved the problem for me.
Different parameter though.
The parameter that worked for me was register_globals = on, which i put in the php.ini file.
This article addresses the situation.
http://php.net/manual/en/language.variables.external.php
Dave