If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > object requires restarting of apache!

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-04-10, 01:35
Vikrant_M Vikrant_M is offline
Registered User
 
Join Date: Apr 2007
Posts: 23
Unhappy object requires restarting of apache!

I am using one com object with php. It is working fine for some no. of files (random), and then it stops working. After I restart apache server it again works fine.
I tried using: ob_start() before using com object and at the end of code: ob_end_flush(),ob_flush() and flush() functions.
But still not able to solve my problem.
Reply With Quote
  #2 (permalink)  
Old 03-04-10, 03:36
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 8,768
so go back to the author and or vendor of the com object and find out what they suggest
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 03-04-10, 08:15
Vikrant_M Vikrant_M is offline
Registered User
 
Join Date: Apr 2007
Posts: 23
I test my code. It works fine up to initialization of com object, after that it hangs without giving any error. Just by restarting of apache, apache releases that memory and my code works fine.
I want to release that same memory from my PHP code.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On