• Hello All

    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


  • Shutdown IIS. Remove all the dlls that you put in WINDOWS/system32 when you first installed php 4.3.9. Look in the 4.3.9/dll folder to see the names of them. You'll also need to remove php4ts.dll.
    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.


  • Weird - are you running mmcache? I couldn't get mmcache to work with 4.3.11


  • sounds like memory issue... some server /hardware setup info would help us.. how was php installed prior and upgraded ?




  • sounds like memory issue... some server /hardware setup info would help us.. how was php installed prior and upgraded ?

    ...or Zend accelerator 2.5.7 - I get the exact same error after a while if I try to use it.


  • thanks


  • http://bugs.php.net/bug.php?id=32552


  • Add the backslash - "F:PHPEXTENSIONS"


    No it doesn't work


  • I ran IIS 6 under window 2003 server


  • sounds like memory issue... some server /hardware setup info would help us.. how was php installed prior and upgraded ?

    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"


  • 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"


  • Uh I got the exif works too

    I have to load

    extension=php_mbstring.dll
    extension=php_exif.dll

    in that order.

    Thanks


  • phew I got it to work now.

    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.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Error After Upgrading PHP To 4.3.11 , Please add it free.