rinal Posted June 15, 2012 Report Share Posted June 15, 2012 (edited) php-5.2.17 apache-2.2.22 windows XP uzinstaleju apache "it works!' uzkopeju c:/php nedaudz pamainiju php.ini un pec LoadModule php5_module "c:/php/php5apache2_2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/php" rindu pievienošanas apache config. failā vairs nerestartejas.. Starting the Apache2.2 service The Apache2.2 service is running. rmine the server's fully qualified domain name, using [iP address] for ServerName [Fri Jun 15 10:07:13 2012] [notice] Apache/2.2.22 (Win32) configured -- resuming normal operations [Fri Jun 15 10:07:13 2012] [notice] Server built: Jan 28 2012 11:16:39 [Fri Jun 15 10:07:13 2012] [notice] Parent: Created child process 3780 httpd.exe: Could not reliably determine the server's fully qualified domain name, using [iP address] for ServerName httpd.exe: Could not reliably determine the server's fully qualified domain name, using [iP address]for ServerName [Fri Jun 15 10:07:13 2012] [notice] Child 3780: Child process is running [Fri Jun 15 10:07:13 2012] [notice] Child 3780: Acquired the start mutex. [Fri Jun 15 10:07:13 2012] [notice] Child 3780: Starting 64 worker threads. [Fri Jun 15 10:07:13 2012] [notice] Child 3780: Starting thread to listen on port 80. [Fri Jun 15 10:18:33 2012] [notice] Parent: Received restart signal -- Restarting the server. [Fri Jun 15 10:18:33 2012] [notice] Child 3780: Exit event signaled. Child process is ending. [Fri Jun 15 10:18:33 2012] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP. Pre-configuration failed [Fri Jun 15 10:18:33 2012] [warn] (OS 995)The I/O operation has been aborted because of either a thread exit or an application request. : winnt_accept: Asynchronous AcceptEx failed. [Fri Jun 15 10:18:34 2012] [notice] Child 3780: Released the start mutex [Fri Jun 15 10:18:35 2012] [notice] Child 3780: All worker threads have exited. [Fri Jun 15 10:18:35 2012] [notice] Child 3780: Child process is exiting kur ir problema? Edited June 15, 2012 by rinal Quote Link to comment Share on other sites More sharing options...
blackhalt Posted June 15, 2012 Report Share Posted June 15, 2012 [Fri Jun 15 10:18:33 2012] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP. Pre-configuration failed Uzinstalē normāli PHP http://www.php.net/downloads.php Quote Link to comment Share on other sites More sharing options...
rinal Posted June 15, 2012 Author Report Share Posted June 15, 2012 (edited) kaa ir vēl normālaak kaa vnk atzipot failus? es pirms shiem postiem izmeginaju 3 php versijas... Edited June 15, 2012 by rinal Quote Link to comment Share on other sites More sharing options...
blackhalt Posted June 15, 2012 Report Share Posted June 15, 2012 (edited) Kaut ko nepareizi dari. Izmēģini uzinstalēt šito, ja viss ies, tad jau bus skaidrs kurā gala ir problēma: http://www.apachefri...pp-windows.html Ja, ne tad vienu dienu jāizlasa kāds manuālis vai pamācība, kā uzinstalēt Apache, PHP , MySQL. Varbūt secība nav pareiza? :) Vispirms uzinstalē MySQL, tad PHP un tad Apache. php.ini-recommend jāparsauc par php.ini ;) PHPIniDir "C:/php" rinda ir šausmīgi aizdomīga. Edited June 15, 2012 by blackhalt Quote Link to comment Share on other sites More sharing options...
Cibiņš Posted June 17, 2012 Report Share Posted June 17, 2012 Es lieku apache + zend un caur zend adminu var konfigurēt visu atbilstošāk.. Quote Link to comment Share on other sites More sharing options...
marrtins Posted June 17, 2012 Report Share Posted June 17, 2012 Paņemts ir nepareizais php5 apache dēlis. Threaded apacis, bet ne-thread-safe php. Paskaties akaties to, kas biedzas ar *ts.dll. Bet vēl labāk, paņem prefork apaci nevis threaded. PHP diezko nedraudzējas ar threadiem. Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted June 17, 2012 Report Share Posted June 17, 2012 Vispirms uzinstalē MySQL, tad PHP un tad Apache. nē sākumā Apache, tad PHP - tā kā Mysql nav saistīts ne ar PHP ne Apache tad nav svarīgi kad viņu instalēt. Es parasti daru sekojoši: uzinstalēju Apache, tad PHP - izmantoju to kuram ir instalātors , kurš parasti paprasa kāds HTTP serveris tiek lietots. Parasti tas max aizņem 30 min (ar visu vilkšnu ) Quote Link to comment Share on other sites More sharing options...
ieleja Posted June 17, 2012 Report Share Posted June 17, 2012 (edited) ne "svēto" karu dēļ, bet šis prasa tik cik laika, lai pakas atvilktos: apt-get install mysql-server mysql-client libmysqlclient15-dev apt-get install apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2-suexec libexpat1 ssl-cert apt-get install libapache2-mod-php5 libapache2-mod-ruby libapache2-mod-python php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-pspell php5-recode php5-snmp php5-sqlite php5-suhosin php5-tidy php5-xcache php5-xmlrpc php5-xsl a2enmod ssl a2enmod rewrite a2enmod suexec a2enmod include produkcija taču tāpat nestāvēs uz Windows vienīgais ērtums, labot projektu turpat, kur tas hostējas, nevis aploudoties caur ftp, scp Edited June 17, 2012 by ieleja 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.