davishs Posted February 14, 2009 Report Share Posted February 14, 2009 (edited) Labdien! Meklēju dažādās vietās, taču neizdevās atrisināt problēmu, tādēļ ceru uz jūsu palīdzību. Es uzinstalēju XAMP serveri, taču kad eju localhost, tad parādās errors, ka lapa neeksistē. Konfigurācijā vēl neko neesmu mainījis. Itkā vajadzēja strādāt. 80. portu nekas man nebloķē. Taču no sākuma 80. portu izmantoja Internet Information Service. Taču šo problēmu atrisināju, tam uzliekot 88. portu. Arī XAMP`ā devos Apache>Service>Test Port 80 un rāda, ka "Your port 80 is not actually used". Kāds var, lūdzu, palīdzēt? [14-Feb-2009 22:10:57] PHP Notice: Undefined variable: mywampfp in C:\wamp\scripts\refresh.php on line 252[14-Feb-2009 22:10:57] PHP Notice: Undefined variable: i in C:\wamp\scripts\refresh.php on line 252 [14-Feb-2009 22:10:57] PHP Notice: Undefined variable: mywampini in C:\wamp\scripts\refresh.php on line 252 [14-Feb-2009 22:10:58] PHP Notice: Undefined offset: 1 in C:\wamp\scripts\refresh.php on line 385 [14-Feb-2009 22:10:58] PHP Notice: Undefined offset: 1 in C:\wamp\scripts\refresh.php on line 385 [14-Feb-2009 22:10:58] PHP Notice: Undefined variable: list in C:\wamp\scripts\wampserver.lib.php on line 33 [14-Feb-2009 22:10:58] PHP Warning: Invalid argument supplied for foreach() in C:\wamp\scripts\refresh.php on line 497 [14-Feb-2009 22:11:20] PHP Notice: Undefined variable: mywampfp in C:\wamp\scripts\refresh.php on line 252 [14-Feb-2009 22:11:20] PHP Notice: Undefined variable: i in C:\wamp\scripts\refresh.php on line 252 [14-Feb-2009 22:11:20] PHP Notice: Undefined variable: mywampini in C:\wamp\scripts\refresh.php on line 252 [14-Feb-2009 22:11:20] PHP Notice: Undefined offset: 1 in C:\wamp\scripts\refresh.php on line 385 [14-Feb-2009 22:11:20] PHP Notice: Undefined offset: 1 in C:\wamp\scripts\refresh.php on line 385 [14-Feb-2009 22:11:20] PHP Notice: Undefined variable: list in C:\wamp\scripts\wampserver.lib.php on line 33 [14-Feb-2009 22:11:20] PHP Warning: Invalid argument supplied for foreach() in C:\wamp\scripts\refresh.php on line 497 Apache error logā nekas nerādās. ;) Wamp ikonas krāsa: Edited February 14, 2009 by davishs Quote Link to comment Share on other sites More sharing options...
yeahz Posted February 14, 2009 Report Share Posted February 14, 2009 instalē AppServ Quote Link to comment Share on other sites More sharing options...
bubu Posted February 14, 2009 Report Share Posted February 14, 2009 Es tagad nesaprotu - kas tev neiet? http serveris, jeb php skripts. Jo pēc tava iepostētā loga izskatās, ka apache serveris strādā, taču problēmas ir php skriptā, tb skripts ir uzrakstīts ar kļūdām. Quote Link to comment Share on other sites More sharing options...
davishs Posted February 14, 2009 Author Report Share Posted February 14, 2009 [..]kas tev neiet? http serveris, jeb php skripts.[..] Es nezinu. Es tajā C:/wamp/www/ mapē ieliku index.html failu. Mēģināju ieiet localhost, taču arī tas pats. Gāju http://localhost/index.html Domā vajag kādu citu PHP versiju? phpMyAdmin arī neiet - tā pat kā viss pārējais. Yeahz, man jau ir bijis diezgan sen Appserv. Tomēr gribētu, lai šis arī strādā kā nākas. Nemeklēšu taču vislaik alternatīvus veidus, lai izvairītos no problēmām. Sākumā jāpamēģina to atrisināt. Quote Link to comment Share on other sites More sharing options...
bubu Posted February 14, 2009 Report Share Posted February 14, 2009 Tad nelieto "alternatīvos" veidus (appserv, wamp). Paņem kārtīgi apachi un php atsevišķi, un izliec tos katru pa savam un nonkonfigurē kā nākas. Quote Link to comment Share on other sites More sharing options...
davishs Posted February 15, 2009 Author Report Share Posted February 15, 2009 Mēģināju arī visu pa vienam ierakstīt. Nebiju nekur tālu ticis, sākot ar Apache, kad secināju, ka arī šī programmatūra man nestrādā. Apache serveris vienkārši nestartējās! Vēl gribēju piezīmēt, ka instalācijas procesā bija piedāvāti šādi default varianti, kurus nomainīju uz localhost. Network domain: asus.lan Server name: asus.lan Notestēju arī konfogurāciju, kur teica, ka viss esot kārtībā. Jābūt taču kādam atrisinājumam. Quote Link to comment Share on other sites More sharing options...
bubu Posted February 15, 2009 Report Share Posted February 15, 2009 Kapēc nestartējas? Kādas kļūdas saka (laid no konsoles) vai arī ko ieraksta error.log failā? Quote Link to comment Share on other sites More sharing options...
davishs Posted February 15, 2009 Author Report Share Posted February 15, 2009 Error log fails. [Sun Feb 15 19:51:19 2009] [notice] Child 3204: Acquired the start mutex. [Sun Feb 15 19:51:19 2009] [notice] Child 3204: Starting 64 worker threads. [Sun Feb 15 19:51:19 2009] [notice] Child 3204: Starting thread to listen on port 8080. [Sun Feb 15 19:52:41 2009] [notice] Parent: Received shutdown signal -- Shutting down the server. [Sun Feb 15 19:52:41 2009] [notice] Child 3204: Exit event signaled. Child process is ending. [Sun Feb 15 19:52:42 2009] [notice] Child 3204: Released the start mutex [Sun Feb 15 19:52:43 2009] [notice] Child 3204: All worker threads have exited. [Sun Feb 15 19:52:43 2009] [notice] Child 3204: Child process is exiting [Sun Feb 15 19:52:43 2009] [notice] Parent: Child process exited successfully. [Sun Feb 15 19:53:02 2009] [notice] Apache/2.2.11 (Win32) configured -- resuming normal operations [Sun Feb 15 19:53:02 2009] [notice] Server built: Dec 10 2008 00:10:06 [Sun Feb 15 19:53:02 2009] [notice] Parent: Created child process 1688 Apache server shutdown initiated... Child 1688: Child process is running [Sun Feb 15 19:53:02 2009] [notice] Child 1688: Acquired the start mutex. [Sun Feb 15 19:53:02 2009] [notice] Child 1688: Starting 64 worker threads. [Sun Feb 15 19:53:02 2009] [notice] Child 1688: Starting thread to listen on port 8080. [Sun Feb 15 19:54:07 2009] [notice] Parent: Received shutdown signal -- Shutting down the server. [Sun Feb 15 19:54:07 2009] [notice] Child 1688: Exit event signaled. Child process is ending. [Sun Feb 15 19:54:08 2009] [notice] Child 1688: Released the start mutex [Sun Feb 15 19:54:09 2009] [notice] Child 1688: All worker threads have exited. [Sun Feb 15 19:54:09 2009] [notice] Child 1688: Child process is exiting [Sun Feb 15 19:54:09 2009] [notice] Parent: Child process exited successfully. [Sun Feb 15 19:55:41 2009] [notice] Apache/2.2.11 (Win32) configured -- resuming normal operations [Sun Feb 15 19:55:41 2009] [notice] Server built: Dec 10 2008 00:10:06 [Sun Feb 15 19:55:41 2009] [notice] Parent: Created child process 1020 Apache server shutdown initiated... Child 1020: Child process is running [Sun Feb 15 19:55:41 2009] [notice] Child 1020: Acquired the start mutex. [Sun Feb 15 19:55:41 2009] [notice] Child 1020: Starting 64 worker threads. [Sun Feb 15 19:55:41 2009] [notice] Child 1020: Starting thread to listen on port 80. [Sun Feb 15 19:56:09 2009] [notice] Parent: Received shutdown signal -- Shutting down the server. [Sun Feb 15 19:56:09 2009] [notice] Child 1020: Exit event signaled. Child process is ending. [Sun Feb 15 19:56:10 2009] [notice] Child 1020: Released the start mutex [Sun Feb 15 19:56:11 2009] [notice] Child 1020: All worker threads have exited. [Sun Feb 15 19:56:11 2009] [notice] Child 1020: Child process is exiting [Sun Feb 15 19:56:11 2009] [notice] Parent: Child process exited successfully. Ā izskatās, ka viņš konektējās caur 8080 portu. Taču vajadzēja iet anyway. Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted February 16, 2009 Report Share Posted February 16, 2009 Līdzīgu problēmu man izraisīja kļūdaina PHP versija. Taču XAMPā vajadzēja jau nu būt strādājošai. Man parasti šādi eksperimenti beidzas ar atgriešanos pie pirmsākumiem - Apache un PHP instalēšanas no httpd.apache.org un lv.php.net Quote Link to comment Share on other sites More sharing options...
davishs Posted February 16, 2009 Author Report Share Posted February 16, 2009 Paldies par padomiem. Atkārtoti mēģināju ierakstīt Apache un šoreiz sanāca. Vienkārši instalācijā var norādīt piekļuvi tikai caur 80 portu (nevis 8080), tikai ar Administratora privilēģijām. Tādēļ gāju instalācijai cauri no Administratora. Drošības apsvērumu dēļ ir izveidots lietotājs ar ierobežotām privilēģijām, jo neesmu vienīgais, kas sēž pie PC. Problēma atrisināta! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.