[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

PHP has encountered an Access Violation at 017DB326

Posted on 2006-03-25
12
Medium Priority
?
332 Views
Last Modified: 2012-05-05
On a windows 2003 machine,
PHP 4.4.2

throws
PHP has encountered an Access Violation at 017DB326  
Warning: Unknown list entry type in request shutdown (0)

sounds like a bug, but i like to know how can i fix this? I welcome any kind of solution.
0
Comment
Question by:str_kani
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 49

Expert Comment

by:Roonaan
ID: 16288260
Is this a memory intensive script? Many times errors like this mean that php runs out of memory.

-r-
0
 
LVL 12

Author Comment

by:str_kani
ID: 16288268
This is for a payment gateway script, which uses some Jar files to connect to the gateway server,
0
 
LVL 12

Author Comment

by:str_kani
ID: 16288655
is there any solution for this or only way is to go for the next version of PHP?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Expert Comment

by:centralb
ID: 16288764
How are you using or accessing the .jar files?

Is it possible that there are many objects or large amounts of data created or discarded in the course of the scripts' run?

If your .jar files are tested and bulletproof (meaning that they operate reliably and consistently outside of PHP use), consider any constraints in PHP memory allocation or, depending on how those .jar files are being used, your Java VM.

Consider checking your scripts' resource usage and garbace collection; if there aren't obvious gains to be made there, consider increasing PHP's memory limit.

Also, many gateways offer PHP-based code for interfacing, as well as alternatives for Java, ASP, and so on.
0
 
LVL 12

Author Comment

by:str_kani
ID: 16289058
>>>How are you using or accessing the .jar files?

I am not sure about this, they have provided the jar and php files.

>>> Is it possible that there are many objects or large amounts of data created or discarded in the course of the scripts' run?

I don't think so, this is just a small connection bettween the payment gateway server and my server


>>> Consider checking your scripts' resource usage and garbace collection; if there aren't obvious gains to be made there, consider increasing PHP's memory limit.

can you please tell me how to increase the memory
0
 
LVL 1

Expert Comment

by:centralb
ID: 16290777
If you own or manage the system on which the code is running (and it's not in a shared hosting environment), the most direct and reliable way is via php.ini. In a clean install of PHP, you might see something like this:

memory_limit = 8M

And if you're including an number of classes or .jar files with dependencies, you can quickly reach that limit even for a short script run. You may want to increase it to something like:

memory_limit = 32M

Once you do this, be sure to save the file (take care not to accidentally type over anything else in the file).

If you're comfortable restarting your web server, do so; otherwise, reboot your system to ensure the changes take place.

If your memory limit is already 32M or higher and you're having the described problem, you can try increasing it using the same format ("XXM" for XX megabytes), but if your memory limit is already 32MB, memory probably isn't the problem.
0
 
LVL 12

Author Comment

by:str_kani
ID: 16431326
have the memory size to 50 MB still no change... people say this is a bug in PHP..!
is there any other fix other than going for a higher version?
0
 
LVL 12

Author Comment

by:str_kani
ID: 16469243
i got the solution when i changed my php version... :) shall i close this now?
0
 
LVL 49

Expert Comment

by:Roonaan
ID: 16469536
Yes, you can ask for a refund in community support area.

-r-
0
 
LVL 1

Expert Comment

by:centralb
ID: 16473457
No worries here; refund is not a problem.
0
 

Accepted Solution

by:
GranMod earned 0 total points
ID: 16510264
Closed, 500 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses
Course of the Month19 days, 2 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question