PHP won't run after install
Posted: Wed Oct 24, 2007 1:25 am
I recently tried to install PHP 5.2.4 on my laptop with Apache 2.2.6 (also tried Apache 2.0 but that failed as well with the same issue) on Windows XP Pro SP2. What happens is I basically go to start the apache server, and it will either fail to load, or it will crash whenever a php page is accessed with the following (or similar) error:
In my apache httpd.conf I use php5apache2_2_filter.dll because php5apache2_2.dll tries to use close to a gig of ram (my laptop only has a gig installed), but for some reason the _filter.dll only tries to use about 350mB of ram. PHP.ini contains nothing special, I had to up the memory limit to 512M (could probably be lower) or it'd return a different error. I ran Memtest86+ and everything is fine with that. The error I get with the regular .dll is:
Thanks in advance.
It used to spit up a bunch of other errors, like "Cannot load dynamic library" etc but I fixed those, and I've narrowed it to the point where that is the ONLY error I get in the apache logs when I attempt to start it.PHP Fatal error: Possible integer overflow in memory allocation (3224591711 * 4 + 0) in Unknown on line 0
In my apache httpd.conf I use php5apache2_2_filter.dll because php5apache2_2.dll tries to use close to a gig of ram (my laptop only has a gig installed), but for some reason the _filter.dll only tries to use about 350mB of ram. PHP.ini contains nothing special, I had to up the memory limit to 512M (could probably be lower) or it'd return a different error. I ran Memtest86+ and everything is fine with that. The error I get with the regular .dll is:
Should I just try an older PHP5 version?PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 1074993672 bytes) in Unknown on line 0
Thanks in advance.