We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

Nie działa php


ruty
08-02-2009, 11:07
Problem rozwiązany!

ruty
07-02-2009, 13:45
[Fri Feb 06 16:05:05 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Feb 06 16:05:05 2009] [notice] Apache/2.2.9 (Debian) mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Fri Feb 06 16:12:23 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 06 16:30:36 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Feb 06 16:30:36 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Feb 06 16:30:36 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Fri Feb 06 16:38:44 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 06 16:38:45 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Feb 06 16:38:45 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Feb 06 16:38:45 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Fri Feb 06 16:39:29 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 06 16:39:31 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Feb 06 16:39:31 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Feb 06 16:39:31 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations





Tydzień już dedyk stygnie pomóżcie... bardzo proszę...

ruty
07-02-2009, 13:44
@up
chodzi o apache2.conf?

@2x up
Nie chce czytać kiedy wchodzę na testową stronę html to normalnie się otwiera a jakąkolwiek php to wywala zawsze: 403 - Forbidden.
plik access.log jest pusty

a w error.log
[Thu Feb 05 21:50:26 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Thu Feb 05 21:50:26 2009] [notice] mod_python: using mutex_directory /tmp
[Thu Feb 05 21:50:26 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Thu Feb 05 21:50:27 2009] [notice] caught SIGTERM, shutting down
[Thu Feb 05 21:50:28 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Thu Feb 05 21:50:28 2009] [notice] mod_python: using mutex_directory /tmp
[Thu Feb 05 21:50:28 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Thu Feb 05 21:50:36 2009] [notice] caught SIGTERM, shutting down
[Thu Feb 05 21:50:37 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Thu Feb 05 21:50:37 2009] [notice] mod_python: using mutex_directory /tmp
[Thu Feb 05 21:50:37 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Thu Feb 05 21:50:41 2009] [notice] caught SIGTERM, shutting down
[Thu Feb 05 21:50:42 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Thu Feb 05 21:50:42 2009] [notice] mod_python: using mutex_directory /tmp
[Thu Feb 05 21:50:42 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Thu Feb 05 21:50:45 2009] [notice] caught SIGTERM, shutting down
[Thu Feb 05 21:50:46 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Thu Feb 05 21:50:46 2009] [notice] mod_python: using mutex_directory /tmp
[Thu Feb 05 21:50:46 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Thu Feb 05 21:51:22 2009] [notice] caught SIGTERM, shutting down
[Thu Feb 05 21:51:23 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Thu Feb 05 21:51:23 2009] [notice] mod_python: using mutex_directory /tmp
[Thu Feb 05 21:51:23 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Thu Feb 05 21:51:29 2009] [notice] caught SIGTERM, shutting down
[Thu Feb 05 21:51:30 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Thu Feb 05 21:51:30 2009] [notice] mod_python: using mutex_directory /tmp
[Thu Feb 05 21:51:30 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Thu Feb 05 21:51:47 2009] [notice] caught SIGTERM, shutting down
[Thu Feb 05 21:52:04 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Thu Feb 05 21:52:04 2009] [notice] mod_python: using mutex_directory /tmp
[Thu Feb 05 21:52:04 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Thu Feb 05 21:52:07 2009] [notice] caught SIGTERM, shutting down
[Thu Feb 05 21:52:08 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Thu Feb 05 21:52:08 2009] [notice] mod_python: using mutex_directory /tmp
[Thu Feb 05 21:52:08 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Thu Feb 05 21:52:11 2009] [notice] caught SIGTERM, shutting down
[Thu Feb 05 21:52:12 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Thu Feb 05 21:52:12 2009] [notice] mod_python: using mutex_directory /tmp
[Thu Feb 05 21:52:12 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Fri Feb 06 14:13:32 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 06 14:13:33 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Feb 06 14:13:33 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Feb 06 14:13:33 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Fri Feb 06 14:14:46 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 06 14:30:22 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Feb 06 14:30:22 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Feb 06 14:30:22 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Fri Feb 06 14:30:26 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 06 14:30:27 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Feb 06 14:30:27 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Feb 06 14:30:27 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Fri Feb 06 14:30:30 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 06 14:30:31 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Feb 06 14:30:31 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Feb 06 14:30:31 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Fri Feb 06 14:30:35 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 06 14:30:36 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Feb 06 14:30:36 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Feb 06 14:30:36 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Fri Feb 06 14:30:37 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 06 14:30:38 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Feb 06 14:30:38 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Feb 06 14:30:38 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Fri Feb 06 14:31:11 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 06 14:31:25 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Feb 06 14:31:25 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Feb 06 14:31:25 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Fri Feb 06 14:31:28 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 06 14:31:29 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Feb 06 14:31:29 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Feb 06 14:31:29 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Fri Feb 06 14:43:59 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 06 14:44:00 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Feb 06 14:44:00 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Feb 06 14:44:01 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Fri Feb 06 15:30:17 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 06 15:30:18 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Fri Feb 06 15:30:18 2009] [notice] mod_python: using mutex_directory /tmp
[Fri Feb 06 15:30:18 2009] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 configured -- resuming normal operations
[Fri Feb 06 16:05:04 2009] [notice] caught SIGTERM, shutting down
[Fri Feb 06 16:05:05 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.

giasek
06-02-2009, 20:05
W konfigu apache dodałeś: ?

AddType application/x-httpd-php .inc .php .php5 .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps

Cuddles
06-02-2009, 18:16
Co znaczy 'nie chce wczytać'?

Pokaż końcówkę /var/log/apache2/error.log i /var/log/apache2/access.log

ruty
06-02-2009, 17:13
Witam
Mam serwer dedykowany(debian), zainstalowałem apache2, mysql, phpmyadmin, php5, php-pear, php5-mysql itp.

Nie wiem czemu, ale jak zrobię zwykły testowy plik test.php w var/www po wejściu na stronie nie chce mi się w ogóle ten plik wczytać... Przez ten problem nie działa mi phpmyadmin, a jest mi on bardzo potrzebny

Pomocy