php.net |  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
 [2004-08-14 08:38 UTC] ayor at evaseiya dot com
Description:
------------
Hi,
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 (
Code:
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

thanks
__________________
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"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-16 08:41 UTC] derick@php.net
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 http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Sep 29 03:03:33 2021 UTC