Jump to content
php.lv forumi

Problēma ar XAMP 2.0


davishs

Recommended Posts

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: 7b73ab70417f24bdfde02d259b14231c.jpg

Edited by davishs
Link to comment
Share on other sites

[..]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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...