PHP has encountered an Access Violation at 017DB326

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.
LVL 12
str_kaniAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RoonaanCommented:
Is this a memory intensive script? Many times errors like this mean that php runs out of memory.

-r-
0
str_kaniAuthor Commented:
This is for a payment gateway script, which uses some Jar files to connect to the gateway server,
0
str_kaniAuthor Commented:
is there any solution for this or only way is to go for the next version of PHP?
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

centralbCommented:
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
str_kaniAuthor Commented:
>>>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
centralbCommented:
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
str_kaniAuthor Commented:
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
str_kaniAuthor Commented:
i got the solution when i changed my php version... :) shall i close this now?
0
RoonaanCommented:
Yes, you can ask for a refund in community support area.

-r-
0
centralbCommented:
No worries here; refund is not a problem.
0
GranModCommented:
Closed, 500 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.