Home
last modified time | relevance | path

Searched refs:process (Results 1 – 25 of 103) sorted by relevance

12345

/PHP-8.1/ext/standard/tests/general_functions/
H A Dbug34794.phpt9 echo "Opening process 1\n";
12 echo "Opening process 2\n";
16 echo "Closing process 1\n";
21 echo "Closing process 2\n";
30 Opening process 1
31 Opening process 2
32 Closing process 1
33 Closing process 2
H A Dbug39322.phpt2 Bug #39322 (proc_terminate() losing process resource)
17 $process = proc_open('/bin/sleep 120', $descriptors, $pipes);
19 proc_terminate($process, 9);
20 sleep(1); // wait a bit to let the process finish
21 var_dump(proc_get_status($process));
/PHP-8.1/sapi/cli/tests/
H A D012-2.phpt33 string(57) "Either execute direct code, process stdin or use a file.
35 string(57) "Either execute direct code, process stdin or use a file.
38 string(57) "Either execute direct code, process stdin or use a file.
40 string(57) "Either execute direct code, process stdin or use a file.
42 string(57) "Either execute direct code, process stdin or use a file.
44 string(57) "Either execute direct code, process stdin or use a file.
46 string(57) "Either execute direct code, process stdin or use a file.
52 string(57) "Either execute direct code, process stdin or use a file.
H A Dcli_process_title_windows.phpt14 // command "get-process" is executed using shell_exec, it overwrites the ConsoleTitle with
15 // "Windows PowerShell" and this title ONLY clears away when the php.exe process exits
25 echo "*** Testing setting the process title ***\n";
39 …$loaded_title = shell_exec("PowerShell -NoProfile \"get-process cmd*,powershell* | Select-Object m…
43 echo "Reading title using get-process failed\n";
58 echo "Successfully verified title using get-process\n";
60 echo "Actually loaded from get-process: $loaded_title\n";
70 *** Testing setting the process title ***
72 Successfully verified title using get-process
H A Dcli_process_title_unix.phpt6 die("skip cli process title not available in non-cli SAPI");
8 die("skip process title not available (disabled or unsupported)");
19 echo "*** Testing setting the process title ***\n";
60 *** Testing setting the process title ***
H A Dcli_set_process_title_basic.phpt9 die("skip cli process title not available in non-cli SAPI");
11 die("skip process title not available (disabled or unsupported)");
H A Dcli_get_process_title_basic.phpt9 die("skip cli process title not available in non-cli SAPI");
11 die("skip process title not available (disabled or unsupported)");
H A D009.phpt18 string(57) "Either execute direct code, process stdin or use a file.
20 string(57) "Either execute direct code, process stdin or use a file.
/PHP-8.1/ext/pcntl/tests/
H A Dpcntl_fork_variation.phpt2 Test function pcntl_fork() by testing the process isolation in the forking hierarchy father -> son …
12 echo "*** Testing the process isolations between a process and its forks ***\n";
41 *** Testing the process isolations between a process and its forks ***
H A Dwaiting_on_sigchild_pcntl_wait.phpt24 // Sleeping ensures we get to add the process to the list before the signal is invoked.
25 $process = proc_open('sleep 1', [], $pipes);
26 $pid = proc_get_status($process)['pid'];
27 $processes[$pid] = $process;
/PHP-8.1/ext/posix/tests/
H A Dposix_getsid.phpt4 Get the current session id of a process pid (POSIX.1, 4.2.1)
16 echo "\n-- Testing posix_getsid() function with current process pid --\n";
23 -- Testing posix_getsid() function with current process pid --
H A Dposix_ttyname_error_wrongparams.phpt20 $process = proc_open('echo "foo";', $descriptors, $pipes);
23 var_dump(posix_ttyname($process)); // wrong resource type
/PHP-8.1/ext/standard/tests/streams/
H A Dproc_open_bug60120.phpt24 $process = proc_open(
40 if (!is_resource($process)) {
42 "could not open process \"%s\"",
65 proc_terminate($process);
H A Dbug61019.phpt14 $process=proc_open("echo testtext",$descriptorspec,$pipes);
15 if(is_resource($process))
29 $process_state=proc_get_status($process);
60 proc_close($process);
H A Dproc_open_bug51800_right.phpt43 $process = proc_open($cmd, $descriptors, $pipes);
45 if (is_resource($process))
56 $status = proc_close($process);
H A Dproc_open_bug51800_right2.phpt43 $process = proc_open($cmd, $descriptors, $pipes);
45 if (is_resource($process))
56 $status = proc_close($process);
H A Dproc_open_bug69900.phpt28 $process = proc_open(PHP_BINARY.' -n -f ' . $fl, $descriptorspec, $pipes, NULL, NULL, array("blocki…
50 proc_close($process);
53 * Allow two more to account for possible process switch, etc. */
/PHP-8.1/sapi/litespeed/
H A DREADME.md118 Connections" and greater than 1. Web Server will start one PHP process, this
131 `LSAPI_AVOID_FORK` specifies the policy of the internal process manager in
155 In Self Managed Mode, LSAPI_MAX_IDLE controls how long a idle child process
164 parent process immediately. When `LSAPI_AVOID_FORK` is set to 0, the default
171 time allowed when processing a request. If a child process can not finish
173 parent process. This option can help getting rid of dead or runaway child
174 process.
179 process will wait before exiting when there is no child process. This option
180 helps releasing system resources taken by an idle parent process.
185 exits automatically if the parent process died. This is to reduce orphan
[all …]
/PHP-8.1/ext/sysvsem/tests/
H A Dnowait.phpt11 echo "P: parent process running.\n";
47 // Fork process
87 echo "C: child process running.\n";
89 // Have the semaphore after process forked
98 // The child process did not wait to acquire the semaphore
119 P: parent process running.
123 C: child process running.
/PHP-8.1/TSRM/
H A Dtsrm_win32.c46 globals->process = NULL; in tsrm_win32_ctor()
67 if (globals->process) { in tsrm_win32_dtor()
68 free(globals->process); in tsrm_win32_dtor()
379 for (ptr = TWG(process); ptr < (TWG(process) + TWG(process_size)); ptr++) { in process_get()
394 TWG(process) = newptr; in process_get()
452 PROCESS_INFORMATION process; in popen_ex() local
576 CloseHandle(process.hThread); in popen_ex()
596 process_pair *process; in pclose() local
602 fflush(process->stream); in pclose()
603 fclose(process->stream); in pclose()
[all …]
/PHP-8.1/ext/opcache/tests/jit/
H A Dreg_alloc_002.phpt14 public function process($call) {
23 $a->process(function($i, $v) { var_dump($i); });
/PHP-8.1/Zend/tests/
H A Dbug48408.phpt6 public function process($x){
18 $b->process($c->generate(0));
/PHP-8.1/sapi/fpm/
H A Dwww.conf.in21 ; process running user is root. It is set after the child process is created.
77 ; process.priority = -19
79 ; Set the process dumpable flag (PR_SET_DUMPABLE prctl) even if the process user
80 ; or group is different than the master process user. It allows to create process
81 ; core dump and ptrace the process for the pool user.
83 ; process.dumpable = yes
159 ; process manager - static, dynamic or ondemand;
179 ; process manager: static
207 ; The Full status returns for each process:
208 ; pid - the PID of the process;
[all …]
/PHP-8.1/ext/opcache/tests/
H A Dlog_verbosity_bug.phpt2 Test ACCEL_LOG_FATAL will cause the process to die even if not logged
6 The process should die regardless of the log_verbosity_level.
/PHP-8.1/ext/standard/tests/file/
H A Dbug69442.phpt10 $process = proc_open('echo "foo";', $descriptors, $pipes);
29 $process = proc_open($cmd, $descriptors, $pipes);
53 proc_close($process);

Completed in 55 milliseconds

12345