Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> disabled for security reasons
lovefool
post
Post #1





Grupa: Zarejestrowani
Postów: 51
Pomógł: 0
Dołączył: 19.05.2003
Skąd: Millhaven

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


Witam!

Mam problem z zainstalowaniem galerii. Przy przesyłaniu zdjęc pojawia się szereg komunikatów - każdy zakończony "has been disabled for security reasons ".

Co poradzić ? Oczywiście poza zmianą serwera bo takie porady już też widziałem (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
lovefool
post
Post #2





Grupa: Zarejestrowani
Postów: 51
Pomógł: 0
Dołączył: 19.05.2003
Skąd: Millhaven

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


Na pewno nic się nie da poradzić ? Bo co prawda mam faq ale niewiele z niego rozumiem ... Miałbym zamienić php na CGI:

1 Obtain a CGI version of php for your platform. You can downloads php binaries for various platforms on the Gallery SourceForge Download Page. If you can't find a binary for your platform, but you have access to compile programs, you can configure php with this configure line.

./configure --enable-force-cgi-redirect --disable-safe-mode
--with-config-file-path=/usr/local/lib/php-cgi

Then run make. The resulting binary will be called php in the sapi/cgi/ directory of the php source. Please submit the binary to Andrew Lindeman, so he can include it on the download page. Please only submit binaries that use that exact configure line, for consistancy reasons.

2 Upload the CGI version of php to the cgi-bin directory and call it php.cgi. Upload it in BINARY FTP mode.

3 Chmod php.cgi 755 (chmod 755 php.cgi)

4 Create a new directory in your webserver root called php-cgi

5 Create a new .htaccess file in your php-cgi directory and put the following lines in it:

RemoveHandler .php
AddType application/cgi-php php
Action application/cgi-php /cgi-bin/php.cgi




Czyli sposób jest ... ale bez pomocy lub innej metody nie dam sobie rady ...
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: 24.09.2025 - 02:08