Error After Upgrading PHP To 4.3.11
January 8th, 2009 |I just upgrade my php to version 4.3.11. I got this message when I try to run the phpinfo
Invalid access to memory location
Would you please help me to rectify this problem
Thanks
Now that those are removed. Edit php.ini.recommended in php 4.3.11 dir. After you get it edited copy it to F:WINDOWS overwriting the old one.
One last thing. Add php to your path.
To do that, right click my computer, select advanced, click environment variables, slelect path in bottom box and add ;F:phpbin to the end of what is already there.
Now reboot the box to clear php out of memory.
When you reboot you will be using the new version of php. What is happening now and what is causing the errors is 4.3.11 is still using the old 4.3.9 dlls. It is no longer required that the dlls be in Windowssystem32 any longer as long as you add phpbin to your path. This makes upgrading much easier.
...or Zend accelerator 2.5.7 - I get the exact same error after a while if I try to use it.
No it doesn't work
Here is my server config
Before the upgrade
IIS 6
Server 2003
PHP 4.3.9 / Runs in ISAPI mode.
After the upgrade
IIS 6
Server 2003
PHP 4.3.11 / Runs in ISAPI mode.
Both config run on the php.ini on 4.3.9. I narrow it down to the extension_dir problem.
When I use extension_dir = "./" I don't have any problem. However I miss a lot of features like gd2. As a result, I cannot use the image verification system
When I use extension_dir = "F:PHPEXTENSIONS" (F is my operating system drive), I got the "Invalid Memory Access Location"
Add the backslash - "F:PHPEXTENSIONS"
I have to load
extension=php_mbstring.dll
extension=php_exif.dll
in that order.
Thanks
I have to go a lengthy elimination process. It narrows down to the php_exif.dll doesn't work. Everytime I try to load it it give me an " Invalid access to memory location"
This feature used to work on 4.3.9.
Also I have to comment out the doc_root = "c:inetwwww" or I will get the "Invalid File Specified" or "Invalid Modules Specified"
Thanks all
#If you have any other info about this subject , Please add it free.# |