Thread: PHP memory

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    22
    Rep Power
    0
    I've using PHP 3.0 to program a database study using a database in MySQL. The task at the moment is to go through the database of 1000 records and check all the datas valid. The problem is, the program gets to about record 500 and then just stops without any error message. I believe it to be a memory problem, but with 128Mb of RAM, I also believe to be suitable. Can anyone please help!
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    43
    Rep Power
    15
    Yes, the problem might be that PHP will by default run only 30 seconds. So you are running out of time with your script. You can change the default time in your php3.ini file.

    ------------------
    PHP, Perl, SQL Programming at http://www.mentalobjects.com

Similar Threads

  1. Replies: 2
    Last Post: August 18th, 2004, 11:45 PM
  2. How to see the Memory used by a PHP script?
    By Pardall in forum PHP Development
    Replies: 4
    Last Post: February 13th, 2004, 04:54 PM
  3. Q: PHP memory footprint in include() & RW
    By Clan admin in forum PHP Development
    Replies: 0
    Last Post: January 25th, 2004, 05:43 AM
  4. PHP with UnixODBC
    By coder4hire in forum PHP Development
    Replies: 2
    Last Post: January 20th, 2004, 02:14 PM
  5. UnixODBC + PHP + Apache + Empress
    By coder4hire in forum Database Management
    Replies: 0
    Last Post: January 15th, 2004, 02:41 PM

IMN logo majestic logo threadwatch logo seochat tools logo