Thread: sem_get

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

    Join Date
    Apr 2000
    Posts
    6
    Rep Power
    0
    I have trouble using sem_get(). I figure there must be something that I am not doing right, but I cannot figure out what. I put in

    <?PHP
    echo "entering PHP<BR>";
    $sem_id=sem_get('123');
    echo "exiting PHP<BR>";
    ?>

    and I get out

    entering PHP

    Fatal error: Call to undefined function: sem_get() in /home/[...]/sem1.php on line 3

    The web hosting firm insists that semaphore functions are available.

    Bill
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    10
    Rep Power
    0
    seems like your hosting provider has not compiled their PHP to support the semaphore functions


    ----------------------
    Kryogen WebHosting - when you want something MORE out of a host
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    6
    Rep Power
    0
    Does this work at Kryogen?
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    6
    Rep Power
    0
    Thanks, Vinay. The webhost provider recompiled and now we are able to get the semaphore function to execute.

    Bill

IMN logo majestic logo threadwatch logo seochat tools logo