Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] problem z wersją PHP
mungo28
post
Post #1





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 17.08.2017

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


Witam,

Mam problem ze stroną www.
Strona była stworzona kilka lat temu w PHP wersja 5.2 i ostatnio przestała działać.
Mamy hosting w OVH i nie wspiera on już tej wersji (min 5.4).
Czy jest możliwość zmiany silnika strony na wersję 5.4, czy jest to niemożliwe?
Jeśli nie ma takiej możliwości to, czy są może jeszcze firmy hostingowe, które wspierają tą wersję (sprawdzałem OVH, nazwa.pl, kei i 1and1) i wszyscy wspierają min. 5.4.

Z góry dziękuję za pomoc
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
mungo28
post
Post #2





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 17.08.2017

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


Za żadne skarby nie potrafię znaleźć nic podobnego w skrypcie jak w podanym linku.
W pliku config.php który jest w folderze application/config znajdują się moim zdaniem jakieś dziwne ogólniki, jakby samouczek, czy coś w tym stylu.

<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* Base path of the web site. If this includes a domain, eg: localhost/kohana/
* then a full URL will be used, eg: http://localhost/kohana/. If it only includes
* the path, and a site_protocol is specified, the domain will be auto-detected.
*/
$config['site_domain'] = 'cork-system.pl/';

/**
* Force a default protocol to be used by the site. If no site_protocol is
* specified, then the current protocol is used, or when possible, only an
* absolute path (with no protocol/domain) is used.
*/
$config['site_protocol'] = '';

/**
* Name of the front controller for this application. Default: index.php
*
* This can be removed by using URL rewriting.
*/
$config['index_page'] = '';

/**
* Fake file extension that will be added to all generated URLs. Example: .html
*/
$config['url_suffix'] = '.html';

/**
* Length of time of the internal cache in seconds. 0 or FALSE means no caching.
* The internal cache stores file paths and config entries across requests and
* can give significant speed improvements at the expense of delayed updating.
*/
$config['internal_cache'] = FALSE;

/**
* Internal cache directory.
*/
$config['internal_cache_path'] = APPPATH.'cache/';

/**
* Enable internal cache encryption - speed/processing loss
* is neglible when this is turned on. Can be turned off
* if application directory is not in the webroot.
*/
$config['internal_cache_encrypt'] = FALSE;

/**
* Encryption key for the internal cache, only used
* if internal_cache_encrypt is TRUE.
*
* Make sure you specify your own key here!
*
* The cache is deleted when/if the key changes.
*/
$config['internal_cache_key'] = 'foobar-changeme';

/**
* Enable or disable gzip output compression. This can dramatically decrease
* server bandwidth usage, at the cost of slightly higher CPU usage. Set to
* the compression level (1-9) that you want to use, or FALSE to disable.
*
* Do not enable this option if you are using output compression in php.ini!
*/
$config['output_compression'] = FALSE;

/**
* Enable or disable global XSS filtering of GET, POST, and SERVER data. This
* option also accepts a string to specify a specific XSS filtering tool.
*/
$config['global_xss_filtering'] = TRUE;

/**
* Enable or disable hooks.
*/
$config['enable_hooks'] = TRUE;

/**
* Log thresholds:
* 0 - Disable logging
* 1 - Errors and exceptions
* 2 - Warnings
* 3 - Notices
* 4 - Debugging
*/
$config['log_threshold'] = 1;

/**
* Message logging directory.
*/
$config['log_directory'] = APPPATH.'logs';

/**
* Enable or disable displaying of Kohana error pages. This will not affect
* logging. Turning this off will disable ALL error pages.
*/
$config['display_errors'] = FALSE;

/**
* Enable or disable statistics in the final output. Stats are replaced via
* specific strings, such as {execution_time}.
*
* @see http://docs.kohanaphp.com/general/configuration
*/
$config['render_stats'] = TRUE;

/**
* Filename prefixed used to determine extensions. For example, an
* extension to the Controller class would be named MY_Controller.php.
*/
$config['extension_prefix'] = 'MY_';

/**
* Additional resource paths, or "modules". Each path can either be absolute
* or relative to the docroot. Modules can include any resource that can exist
* in your application directory, configuration files, controllers, views, etc.
*/
$config['modules'] = array
(
// MODPATH.'auth', // Authentication
// MODPATH.'kodoc', // Self-generating documentation
// MODPATH.'gmaps', // Google Maps integration
// MODPATH.'archive', // Archive utility
// MODPATH.'payment', // Online payments
// MODPATH.'unit_test', // Unit testing
);
Go to the top of the page
+Quote Post

Posty w temacie
- mungo28   [PHP] problem z wersją PHP   17.08.2017, 08:59:55
- - viking   Nic o stronie nie wiadomo ale najbardziej oczywist...   17.08.2017, 09:03:34
- - mungo28   Jakie informacje o stronie są potrzebne?   17.08.2017, 09:22:50
- - viking   Zależy co chcesz z tym zrobić. Jeśli chcesz doprow...   17.08.2017, 09:24:08
- - Pyton_000   Uruchamiasz stronę na np. php 5.6 i przeglądasz lo...   17.08.2017, 09:34:02
- - mungo28   Główny błąd jaki występuje w logach to Primary scr...   17.08.2017, 10:33:18
- - viking   framework_error sugeruje że to Kohana. Zmień sobie...   17.08.2017, 10:47:49
- - mungo28   Można coś jaśniej? Jest to dla mnie czarna magia. ...   17.08.2017, 11:00:54
- - Pyton_000   W skrypcie... przeważnie config.php. Poszukaj.   17.08.2017, 11:13:20
- - viking   A najlepiej zleć to komuś. Jeśli nie masz pojęcia ...   17.08.2017, 11:17:12
- - mungo28   Mam "localhost/kohana/" zamienić na ...   17.08.2017, 11:25:50
- - sabat24   Komunikat (ten drugi) wskazuje, że masz problem z ...   17.08.2017, 11:39:59
- - mungo28   Za żadne skarby nie potrafię znaleźć nic podobnego...   18.08.2017, 11:57:13
- - Pyton_000   $config['display_errors'] = FALSE; :...   18.08.2017, 11:59:59
- - mungo28   Przeczytałem, tylko niewiele mi to wszystko mówi. ...   18.08.2017, 12:09:19
- - viking   Ustaw tam true zamiast false i zobacz co się stani...   18.08.2017, 12:12:36
- - Pyton_000   Skoro sie nie znasz to po co się udzielasz? Skoro ...   18.08.2017, 12:13:08
- - mungo28   Wpisałem to tam wcześniej, ale efekt jest ten sam....   18.08.2017, 12:22:59
- - viking   Nikt tego systemu nie zna więc nikt ci nie powie z...   18.08.2017, 12:37:15
- - Pyton_000   @viking to chyba najtańsze rozwiązanie   18.08.2017, 12:38:38


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: 10.10.2025 - 19:17