Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> PHP5 + Apache2
Wooya
post
Post #1





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 2.02.2006

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


Przerylem, naczytalem sie i nic (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) Nie jestem newbie, ale wymieklem, przy aktualizacji php4.3 do php5 na moim localhoscie. Mam apache 2.0.46 i chodzilo mi wsio wraz z php4.3, mysql 4.0.13. Sciezki:
- Apache - c:\apache2
- mySQL - c:\apache2\mysql
- php - c:\apache2\php
No i:
- aktualizacja mysql 4 do mysql5.1 - bez problemow
- aktualizacja php4.3 do 4.4 - bez problemow
- aktualizacja php4.4 do php5.1 - kicha (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)

Robie wszystko zgodnie z manualem (ustawiam jako CGI), czyli podmieniam:
Cytat
ScriptAlias /php/ "C:/Apache2/php/"
AddType application/x-httpd-php .php .php3 .phtml
Action application/x-httpd-php "/php/php.exe"


na:

Cytat
ScriptAlias /php/ "C:/Apache2/php5/"
AddType application/x-httpd-php .php .php3 .phtml
Action application/x-httpd-php "/php/php-cgi.exe"

oraz dodaje PATH w ustawieniach windy dla biblioteki php5ts.dll (c:\apache2\php5)

Przy tescie jakiegos skryptu php mam pusciutki screen w przegladarce (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)

Nie poddaje sie i ustawiam jako modul:
Cytat
LoadModule php5_module "c:/Apache2/php5/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/Apache2/php5"


i... to samo (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)

I badz tu madry? Zadnych bledow. Jedyne co mam w logu apache'a to:
Cytat
[Thu Feb 02 08:09:21 2006] [notice] Child 1076: Child process is running
[Thu Feb 02 08:09:21 2006] [notice] Child 1076: Acquired the start mutex.
[Thu Feb 02 08:09:21 2006] [notice] Child 1076: Starting 250 worker threads.
[Thu Feb 02 08:17:52 2006] [notice] Parent: Received restart signal -- Restarting the server.
[Thu Feb 02 08:17:52 2006] [notice] Child 1076: Exit event signaled. Child process is ending.
[Thu Feb 02 08:17:53 2006] [notice] Child 1076: Released the start mutex
[Thu Feb 02 08:17:54 2006] [notice] Child 1076: Waiting for 250 worker threads to exit.


Ktos jest w stanie pomoc. Z gory dzieki...
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: 22.08.2025 - 19:49