|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29672 sem_get undefined function
Submitted: 2004-08-14 08:38 UTC Modified: 2004-08-16 08:41 UTC
From: ayor at evaseiya dot com Assigned:
Status: Not a bug Package: Semaphore related
PHP Version: 4.3.8 OS: fedora core II
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
18 - 15 = ?
Subscribe to this entry?

 [2004-08-14 08:38 UTC] ayor at evaseiya dot com
I have rebuild apache on my dedicated server to fork some process (fork... with "--enable-pcntl"), and it's ok now. late I rebuild apache a second time to get some functions like sem_get, sem_acquire... (--enable-sysvsem), and I don't know what's happened

When I execute the php script from my browser, all it's ok. And when I execute it from the command line (ssh), there is no problem too.

but when I try to plan a cron like (
php /home/a/b/c/the_php_script.php

I get a error message which says : ""PHP Fatal error:  Call to undefined function:  sem_get() in /home/nva0404/public_html/a/b/notify.php on line 19""

if somebodys know anything about this pb, please tell me about the solutions I had to install, cause after many tries, I ve no idea anymore

I'm french, so can you excuse my broken english 

Expected result:
no message "PHP Fatal error:  Call to undefined function:  sem_get() in /home/nva0404/public_html/a/b/notify.php on line 19"

Actual result:
"PHP Fatal error:  Call to undefined function:  sem_get() in /home/nva0404/public_html/a/b/notify.php on line 19"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-16 08:41 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat Aug 13 21:05:45 2022 UTC