SoWhat Posted June 21, 2012 Author Report Share Posted June 21, 2012 Kāds tam sakars ar xampp vai wamp? Jo moduļus pieslēdz un atslēdz php.ini vai apaches konfig failos. Tu taču saproti, ka viņi abi, tev uzliek jau pre-konfigurētus apache, php un mysql un vēl visu ko, lai tev pašam nebūtu katrs atsevišķi jāliek un jākonfigurē? ērtumā sakars. WAMPā to visu var eleganti darīt saliekot ķeksīšus kontrolpanelī, nav jārakņājās pa failiem. Spaiņa ieteikums bija "vislabākais" :D :D :D Quote Link to comment Share on other sites More sharing options...
SoWhat Posted June 21, 2012 Author Report Share Posted June 21, 2012 (edited) Var mēģinat atkomentēt visus extension=php_ un skatīties kas notiek slēdzot pa vienam klāt. Aizkomentēju pilnīgi visus paplašinājumus httpd.conf (arī php tajā skaitā), kā arī pārsaucu F:\wamp\bin\apache\apache2.2.22\conf\extra uz F:\wamp\bin\apache\apache2.2.22\conf\extra111 tāpat nepalīdzēja. Edited June 21, 2012 by SoWhat Quote Link to comment Share on other sites More sharing options...
404 Posted June 21, 2012 Report Share Posted June 21, 2012 (edited) Vēl šādi brīnumi gadās,kad kaut kas ir aizsitis ciet 80 portu,piemēram skype vai IIS. Ja aizverot visus liekos procesus un ieliekot firewallā exception arī situācija neuzlabojas,tad,vienīgais kas nāk prātā-mēģināt palaist no komandrindas F:\wamp\bin\apache\apache2.2.22\bin\httpd.exe un skatīties vai kaut ko derīgu neizvada. Edit: Nepamanīju ka šis jau tika iepriekš pārbaudīts :) Edited June 21, 2012 by 404 Quote Link to comment Share on other sites More sharing options...
SoWhat Posted June 21, 2012 Author Report Share Posted June 21, 2012 (edited) hmm, no komandrindas palaižās normāli bez erroriem, vienīgi http://localhost atgriež Forbidden You don't have permission to access / on this server. EDIT: šo izdevās atrisināt Allow from 127.0.0.1 nomainot uz Allow from all Izskatās, ka apache no komandrindas strādā normāli, bet Wamp control panelis joprojām uzvedas tāpat Edited June 21, 2012 by SoWhat Quote Link to comment Share on other sites More sharing options...
SoWhat Posted June 21, 2012 Author Report Share Posted June 21, 2012 (edited) ievēroju divas lietas, kas, manuprāt, ir mazliet aizdomīgas: 1) Task managerī process wampmanager.exe tiek uzrādīts kā 32 bitu aplikācija, lai gan WAMPs skaitās 64bitu 2) Aplūkojot wampmanager.conf pamanīju, ka "phpIniDir = .", "phpExeDir = .", "mysqlConfDir = ." ir ar punktiem nevis pilnu direktorijas ceļu. Varat iečekot kā tas fails izskatās uz jūsu kompja? [main] language = english status = offline wampserverVersion = 2.2 wampserverLastKnown = 2.2 installDir = "f:/wamp" navigator = "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" defaultLanguage = english [php] phpVersion = "5.4.3" phpLastKnown = 5.4.3 phpIniDir = . phpConfFile = php.ini phpExeDir = . [phpCli] phpCliVersion = 5.4.3 phpExeFile = php.exe phpCliFile = php-win.exe [apache] apacheVersion = "2.4.2" apacheLastKnown = 2.4.2 apacheExeDir = bin apacheConfDir = conf apacheExeFile = httpd.exe apacheConfFile = httpd.conf apacheServiceInstallParams = -n wampapache -k install apacheServiceRemoveParams = -n wampapache -k uninstall [mysql] mysqlVersion = "5.5.24" mysqlLastKnown = 5.5.24 mysqlConfDir = . mysqlConfFile = my.ini mysqlExeDir = bin mysqlExeFile = mysqld.exe mysqlServiceInstallParams = --install-manual wampmysqld mysqlServiceRemoveParams = --remove wampmysqld [apps] phpmyadminVersion = 3.5.1 sqlbuddyVersion = 1.3.3 webgrindVersion = 1.0 Edited June 21, 2012 by SoWhat Quote Link to comment Share on other sites More sharing options...
daGrevis Posted June 21, 2012 Report Share Posted June 21, 2012 Tak noņem to WAMP/XAMP perversiju un uzliec Apache, PHP & MySQL kā cilvēks! Quote Link to comment Share on other sites More sharing options...
ieleja Posted June 21, 2012 Report Share Posted June 21, 2012 vēl var iznesties padsmit veidos: http://habrahabr.ru/post/144242/ 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.