APACHE_CHILD_TERMINATE(3) 1 APACHE_CHILD_TERMINATE(3)apache_child_terminate - Terminate apache process after this requestSYNOPSIS
bool apache_child_terminate (void )
DESCRIPTION apache_child_terminate(3) will register the Apache process executing the current PHP request for termination once execution of PHP code is
completed. It may be used to terminate a process after a script with high memory consumption has been run as memory will usually only be
freed internally but not given back to the operating system.
RETURN VALUES
Returns TRUE if PHP is running as an Apache 1 module, the Apache version is non-multithreaded, and the child_terminate PHP directive is
enabled (disabled by default). If these conditions are not met, FALSE is returned and an error of level E_WARNING is generated.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.4.0 | |
| | |
| | This function became available under FastCGI. |
| | Previously, it was supported only when PHP was |
| | installed as an Apache module. |
| | |
+--------+---------------------------------------------------+
NOTES
Note
This function is not implemented on Windows platforms.
SEE ALSO exit(3).
PHP Documentation Group APACHE_CHILD_TERMINATE(3)
Check Out this Related Man Page
VIRTUAL(3) 1 VIRTUAL(3)virtual - Perform an Apache sub-requestSYNOPSIS
bool virtual (string $filename)
DESCRIPTION virtual(3) is an Apache-specific function which is similar to <!--#include virtual...--> in mod_include. It performs an Apache sub-request.
It is useful for including CGI scripts or .shtml files, or anything else that you would parse through Apache. Note that for a CGI script,
the script must generate valid CGI headers. At the minimum that means it must generate a Content-Type header.
To run the sub-request, all buffers are terminated and flushed to the browser, pending headers are sent too.
This function is supported when PHP is installed as an Apache module or by the NSAPI server module in Netscape/iPlanet/SunONE webservers.
PARAMETERS
o $filename
- The file that the virtual command will be performed on.
RETURN VALUES
Performs the virtual command on success, or returns FALSE on failure.
EXAMPLES
See apache_note(3) for an example.
NOTES
Warning
The query string can be passed to the included file but $_GET is copied from the parent script and only $_SERVER['QUERY_STRING'] is
filled with the passed query string. The query string may only be passed when using Apache 2. The requested file will not be listed
in the Apache access log.
Note
Environment variables set in the requested file are not visible to the calling script.
Note
This function may be used on PHP files. However, it is typically better to use include(3) or require(3) for PHP files.
SEE ALSO apache_note(3).
PHP Documentation Group VIRTUAL(3)
Ok..i've installed Apache 1.3.14, and it runs... BUT...I can't figure out how to get the php-4.0.4 module to run, and i've read through the install file and EVERYTYHING, aafter about 10 attempts I pissed myself off enough to goto sleep...Can anyone suggest a place to look for a lil bit more help?... (10 Replies)
I have installed Apache lots of times before. I have recently installed apache on FreeBSD. And it gives me all the time 403 Frobidden - you don't have permittion to access / directory. I have checked permitions. I've got -rwxrwxr-x for for all Apache DocumentRoot. I've checked Files directive in... (6 Replies)
Hi all
I am really need your hand in my critical problem , I want to install PHP and My SQL on my Solaris 9 station , I am already have Apache Webserver on it .
This is my system specs , I think it means some thing for who will help me :
SunOS STATION_NAME 5.9 Generic_112233-08 sun4u sparc... (6 Replies)
I have done charts in PHP with following environment;
1) PHP 5.2.x
2) Webserver Apache 2.2.4 or higher
3) Perl 5.8.7
4) GD 2.0.1
5) JPgraph 2.1.1
It works fine in Windowx XP, Red hat linux 3.x.Now I need to move this PHP programs to AIX machine which has following environment:
PHP 4.0.6... (6 Replies)
I tried executing the following command to check the version of Apache installed
byfusp01 $ swlist | grep -i apache
ksh: swlist: not found
Do I need root permission to execute this command?
how about lvdisplay / pvdisplay?
Please help me. Thanks (6 Replies)
Hello,
Does anyone know or know how to check if the Apache 2.2 version you can get with the Synaptic Package manager in Ubuntu 8.10has been optimized for 486 or higher processors?
I would think one would have to optimize the executable for 486 or higher processer baed on the Apache... (8 Replies)
Here is my situation...
System - HP UNIX (HP-UX hq5 B.11.00 U 9000/800 (td))
I have an HL7 (Health Level Seven) pipe-delimied file that does not have any carriage returns/line feeds. I need to insert a line feed before each segment type (MSH, PID, PV1, OBX, etc.) so that my PROGRESS program... (16 Replies)
Great tins massive!
Im Manqoba from Midrand, South Africa...
I have installed Apache and PHP on a solaris 9 box, using the packages below:
apache-2.2.14-sol9-sparc-local
php-5.2.13-sol9-sparc-local
After installing the packages I edited my httpd.conf file, to load the php5 module when... (10 Replies)
Hi guys
I'm trying to configure a collaboration suit (PHP, PostgreSQL, Apache) plus a mail server(Sendmail and Dovecot) on a single box. It will be used heavily 24*7. So having a long up time is really needed. I'm looking for 3 to 6 month up time. I want to know about kernel update... (6 Replies)
hi, ok having here some code like:
#!/bin/bash
echo " hello " # say hello to the user
echo " $HOME "
echo " $HOSTNAME "
echo " $(uname) "
echo " today is $(date) "
echo " $(whoami) is currently logged in "
now my question is how to change the code so that the info is not... (12 Replies)
So I have this PHP script that takes info from HTML form and saves the info to a txt file.
Here is the code
<?php
$input = $_POST;
$dateposted = date("m-d-Y-His");
$fp = fopen("/some/location/public_html/sh/$dateposted.txt", "w");
fwrite($fp, $input.).' ';
fclose($fp);... (16 Replies)
Hello!
I'm about to embark on a new project to port the VPM (Variable Permability Model) for decompression diving from some old BASIC code (attached, "VPM.txt") to PHP.
Then, I plan to create a plugin for this site where folks can run VPM on the web.
Then, I plan to improve VPM based on... (15 Replies)
Hi,
I want to ask something about server that has been compromised. Recently, one of my VPS server has been hacked and the attacker install somekind like "IRC" script.
Everytime I killed the process or close the port, it can open again .. and again ..I'm sure the attacker has installed... (14 Replies)
I am totally new to PHP and I am trying to create a script that will as a user for a hostname and then use the "hostname" variable to generate a report using REST API.
I am able to create the html script and php script to GET the "hostname" but I am having trouble passing the hostname variable... (10 Replies)