2011-04-23 18:10:57 |
Katyo |
description |
Binary package hint: php5
I wrote simple script /var/www/nginx-default/test.php with contents:
<?php
syslog(LOG_NOTICE, 'TEST.PHP RUN! '.time());
sleep(1);
syslog(LOG_NOTICE, 'TEST.PHP EXITED! '.time());
?>
Here is the part of my nginx config /etc/nginx/sites-available/default for php5-fpm:
location ~ \.php$ {
root /var/www/nginx-default;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
I can see next lines in my /var/log/syslog:
Apr 23 22:55:57 illumium php5-fpm: TEST.PHP RUNNED! 1303577757
Apr 23 22:55:58 illumium php5-fpm: TEST.PHP EXITED! 1303577758
Apr 23 22:55:58 illumium php5-fpm: TEST.PHP RUNNED! 1303577758
Apr 23 22:55:59 illumium php5-fpm: TEST.PHP EXITED! 1303577759 |
Binary package hint: php5-fpm
I wrote simple script /var/www/nginx-default/test.php with contents:
<?php
syslog(LOG_NOTICE, 'TEST.PHP RUN! '.time());
sleep(1);
syslog(LOG_NOTICE, 'TEST.PHP EXITED! '.time());
?>
Here is the part of my nginx config /etc/nginx/sites-available/default for php5-fpm:
location ~ \.php$ {
root /var/www/nginx-default;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
I can see next lines in my /var/log/syslog:
Apr 23 22:55:57 illumium php5-fpm: TEST.PHP RUNNED! 1303577757
Apr 23 22:55:58 illumium php5-fpm: TEST.PHP EXITED! 1303577758
Apr 23 22:55:58 illumium php5-fpm: TEST.PHP RUNNED! 1303577758
Apr 23 22:55:59 illumium php5-fpm: TEST.PHP EXITED! 1303577759 |
|
2011-04-23 18:12:53 |
Katyo |
description |
Binary package hint: php5-fpm
I wrote simple script /var/www/nginx-default/test.php with contents:
<?php
syslog(LOG_NOTICE, 'TEST.PHP RUN! '.time());
sleep(1);
syslog(LOG_NOTICE, 'TEST.PHP EXITED! '.time());
?>
Here is the part of my nginx config /etc/nginx/sites-available/default for php5-fpm:
location ~ \.php$ {
root /var/www/nginx-default;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
I can see next lines in my /var/log/syslog:
Apr 23 22:55:57 illumium php5-fpm: TEST.PHP RUNNED! 1303577757
Apr 23 22:55:58 illumium php5-fpm: TEST.PHP EXITED! 1303577758
Apr 23 22:55:58 illumium php5-fpm: TEST.PHP RUNNED! 1303577758
Apr 23 22:55:59 illumium php5-fpm: TEST.PHP EXITED! 1303577759 |
Binary package hint: php5-fpm
I wrote simple script /var/www/nginx-default/test.php with contents:
<?php
syslog(LOG_NOTICE, 'TEST.PHP RUN! '.time());
sleep(1);
syslog(LOG_NOTICE, 'TEST.PHP EXITED! '.time());
?>
Here is the part of my nginx config /etc/nginx/sites-available/default for php5-fpm:
location ~ \.php$ {
root /var/www/nginx-default;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
I can see next lines in my /var/log/syslog:
Apr 23 22:55:57 illumium php5-fpm: TEST.PHP RUN! 1303577757
Apr 23 22:55:58 illumium php5-fpm: TEST.PHP EXITED! 1303577758
Apr 23 22:55:58 illumium php5-fpm: TEST.PHP RUN! 1303577758
Apr 23 22:55:59 illumium php5-fpm: TEST.PHP EXITED! 1303577759 |
|