From: ayor at evaseiya dot com Operating system: fedora core II PHP version: 4.3.8 PHP Bug Type: Semaphore related Bug description: sem_get undefined function
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" -- Edit bug report at http://bugs.php.net/?id=29672&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29672&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29672&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29672&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29672&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29672&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29672&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29672&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29672&r=support Expected behavior: http://bugs.php.net/fix.php?id=29672&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29672&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29672&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29672&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29672&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29672&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29672&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29672&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29672&r=float
