Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [inne]Instalacja zend framework na linux
borpaw
post 10.02.2012, 08:49:35
Post #1





Grupa: Zarejestrowani
Postów: 439
Pomógł: 0
Dołączył: 3.06.2010

Ostrzeżenie: (50%)
XXX--


Mam problem z instalacją zend framework na linux, wcześniej mialem na windows serwer.
Działało. Przeniosłem to samo na linux i jest problem. Co może być nie dobrze?
Komunikat "Page Not Found"

Struktura katalogów
/application
/library
/public_html -> index.php


Plik index.php
  1. <?php
  2. ini_set('display_errors', 1);
  3. defined('APPLICATION_PATH')
  4. || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
  5.  
  6. defined('APPLICATION_ENV')
  7. || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
  8.  
  9. set_include_path(implode(PATH_SEPARATOR, array(
  10. realpath(APPLICATION_PATH . '/../library'),
  11. )));
  12.  
  13. require_once 'Zend/Application.php';
  14.  
  15. $application = new Zend_Application(
  16. APPLICATION_ENV,
  17. APPLICATION_PATH . '/configs/application.ini'
  18. );
  19. $application->bootstrap()
  20. ->run();
  21. ?>


Ten post edytował borpaw 10.02.2012, 08:50:03
Go to the top of the page
+Quote Post
IceManSpy
post 10.02.2012, 09:09:17
Post #2





Grupa: Zarejestrowani
Postów: 1 006
Pomógł: 111
Dołączył: 23.07.2010
Skąd: Kraków

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


1. Linijka 7 -> ustaw na development
2. Masz ustawionego vhosta?
3. Jak odpalasz projekt w przeglądarce?
4. Masz podstawowy indexController + widok do niego?

Ten post edytował IceManSpy 10.02.2012, 09:09:46


--------------------
Go to the top of the page
+Quote Post

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

 



RSS Wersja Lo-Fi Aktualny czas: 25.07.2025 - 09:58