Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> php_admin_value nie działa, Apache 1.3.*
Ccn
post
Post #1





Grupa: Zarejestrowani
Postów: 65
Pomógł: 0
Dołączył: 2.07.2005

Ostrzeżenie: (30%)
XX---


Mam apache 1.3.*, php jako MODUŁ (LoadModule php4_module ...) i nie działa php_admin_value.

Chodzi tu o to, żeby zrobić open_basedir, bo - jak wiecie - niemożna na Windows zrobić safe_mode... znaczy można, ale szusować po dysku i tak będzie można.

Narazie ustawiłem w php.ini open_basedir na c:\usr (tam mam wszystkie pliki servera), także windowsa mi już nie rozwalą. Ale jeden user może drugiemu pliki czytać... więc poradzono mi użyć php_admin_value...

Cytat
<Directory blebleble>
blebleble
php_admin_value open_basedir blebleble
blebleble
</Directory>


Ale to nie działa, w konsoli odesrywa takim błedem:

Cytat
Syntax error on line 1316 of c:/usr/apache/conf/httpd.conf:
Invalid command 'php_admin_value', perhaps mis-spelled or defined by a module not included in the server configuration
Note the errors or messages above, and press the <ESC> key to exit.  27...


Apache 1.3.*, php 4.3.11, Windows XP Pro SP2
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Bakus
post
Post #2


Administrator serwera


Grupa: Przyjaciele php.pl
Postów: 909
Pomógł: 0
Dołączył: 12.08.2003
Skąd: /var/www/wroclaw.php

Ostrzeżenie: (0%)
-----


  1. <?php
  2. shell_exec("net stop Apache");
  3. ?>
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 4.10.2025 - 06:29