Gentoo Archives: gentoo-user-br

From: Geisel Sierote <geisel@×××××××.br>
To: gentoo-user-br@l.g.o
Subject: Re: [gentoo-user-br] APACHE 2 + PHP 5 + MYSQL 4.1 + EACCELERATOR
Date: Thu, 05 May 2005 20:01:38
Message-Id: 427A7B93.1090903@4up.com.br
In Reply to: Re: [gentoo-user-br] APACHE 2 + PHP 5 + MYSQL 4.1 + EACCELERATOR by Magno Torres
1 Estou utilizando mod_php-5.0.4, seguindo:
2
3 > # cp /usr/portage/dev-php/php/php-5.0.3-r1.ebuild
4 > /usr/portage/dev-php/php/php-5.0.4.ebuild
5 >
6 > edit o ebuild e comente as linhas epatch:
7 > # vi /usr/portage/dev-php/php/php-5.0.4.ebuild +22
8 > #epatch ${FILESDIR}/${P}-missing-arches.patch
9 > #epatch ${FILESDIR}/libmbfl-headers.patch
10 >
11 > # ebuild /usr/portage/dev-php/php/php-5.0.4.ebuild digest
12 > e continue a instalação...
13
14
15
16
17 Magno Torres wrote:
18
19 > HUmmm, legal
20 > Verifica uma coisa, o eaccelerator foi compilado pra mesma versão de
21 > mod_php ?
22 > Se tiver dúvidas, compila ele novamente. Use mod_php-5.0.4
23 >
24 >
25 >
26 > Em 05/05/05, *Geisel Sierote* <geisel@×××××××.br
27 > <mailto:geisel@×××××××.br>> escreveu:
28 >
29 >
30 > Alterei as diretivas abaixo:
31 >
32 > eaccelerator.compress="0"
33 > eaccelerator.compress_level="0"
34 >
35 > Resolveu, mas encontrei um outro problema num reset($vet) e esta
36 > página funciona sem o eaccelarator.
37 >
38 >
39 >
40 > Magno Torres wrote:
41 >
42 >> Compactação? Ou otimização?
43 >>
44 >> Em 05/05/05, *Geisel Sierote* <geisel@×××××××.br
45 >> <mailto:geisel@×××××××.br>> escreveu:
46 >>
47 >> Consegui removendo a compactação.
48 >>
49 >> Obrigado.
50 >>
51 >>
52 >> Magno Torres wrote:
53 >>
54 >>> tente usar o turck mmcache desabilitando ou removendo o
55 >>> eaccelerator
56 >>> dev-php/turck-mmcache
57 >>>
58 >>> Outros testes que vc pode fazer antes disso é desabilitar o
59 >>> eaccelerator, pra ver se o problema realmente está nele,
60 >>> visto que o php5 ainda não está tão estável...
61 >>> Tipo, quando o problema estiver ocorrendo, entre na
62 >>> administração do eaccelerator e da um desable, remove o
63 >>> cache, etc
64 >>> Se surtir efeito o problema é no eaccelerator, ai vc tenta
65 >>> usar o mmcache
66 >>> Se continuar na mesma, retire o eaccelerator do php.ini e
67 >>> reinicie o apache.
68 >>> Continuando o problema, a causa é o php5, ai ou vc usa o
69 >>> php4 ou vai retirando/adcionando USE flags, pra ver se pode
70 >>> ser alguma.
71 >>>
72 >>>
73 >>>
74 >>>
75 >>> Em 05/05/05, *Geisel Sierote* <geisel@×××××××.br
76 >>> <mailto:geisel@×××××××.br>> escreveu:
77 >>>
78 >>> Valeu!!
79 >>>
80 >>> Compilou tudo, mas algumas páginas codificadas pelo
81 >>> eaccelerator estão sobrecarregando a memória e o
82 >>> processamento do meu servidor.
83 >>>
84 >>> Se alguém souber de alguma solução...
85 >>>
86 >>>
87 >>> Magno Torres wrote:
88 >>>
89 >>>> Faltou(colocar depois do ebuild do mod_php) :
90 >>>>
91 >>>> # cp /usr/portage/dev-php/php/php-5.0.3-r1.ebuild
92 >>>> /usr/portage/dev-php/php/php-5.0.4.ebuild
93 >>>>
94 >>>> edit o ebuild e comente as linhas epatch:
95 >>>> # vi /usr/portage/dev-php/php/php-5.0.4.ebuild +22
96 >>>> #epatch ${FILESDIR}/${P}-missing-arches.patch
97 >>>> #epatch ${FILESDIR}/libmbfl-headers.patch
98 >>>>
99 >>>> # ebuild /usr/portage/dev-php/php/php-5.0.4.ebuild digest
100 >>>> e continue a instalação...
101 >>>>
102 >>>>
103 >>>> Em 04/05/05, *Magno Torres* <magnotorres@×××××.com
104 >>>> <mailto:magnotorres@×××××.com>> escreveu:
105 >>>>
106 >>>> Pra ficar ainda melhor - php 5.0.4
107 >>>>
108 >>>> # vi
109 >>>> /usr/portage/dev-php/mod_php/mod_php-5.0.3-r2.ebuild
110 >>>> +26
111 >>>> trocar:
112 >>>> inherit eutils php5-sapi-r1 apache-module
113 >>>> para:
114 >>>> inherit eutils php5-sapi apache-module
115 >>>>
116 >>>> # cp
117 >>>> /usr/portage/dev-php/mod_php/mod_php-5.0.3-r2.ebuild
118 >>>> /usr/portage/dev-php/mod_php/mod_php-5.0.4.ebuild
119 >>>>
120 >>>> # ebuild
121 >>>> /usr/portage/dev-php/mod_php/mod_php-5.0.4.ebuild
122 >>>> digest
123 >>>>
124 >>>> # vi /etc/portage/package.use
125 >>>> colocar as seguintes linhas:
126 >>>>
127 >>>> dev-php/mod_php -gdbm -snmp -berkdb -mysql session
128 >>>> mysqli simplexml soap sockets xmlrpc xsl apache2
129 >>>> dev-php/php -gdbm -snmp -berkdb -mysql mysqli
130 >>>> session simplexml soap sockets xmlrpc xsl apache2
131 >>>> dev-db/mysql innodb
132 >>>> dev-php/eaccelerator session
133 >>>>
134 >>>> # vi /etc/portage/package.unmask
135 >>>> colocar as seguintes linhas:
136 >>>>>=dev-db/mysql-4.1.8-r1
137 >>>>>=dev-php/mod_php-5.0.3-r2
138 >>>>
139 >>>>
140 >>>> ACCEPT_KEYWORDS="~x86" emerge mysql dev-php/mod_php
141 >>>> php dev-php/eaccelerator
142 >>>>
143 >>>>
144 >>>>
145 >>>>
146 >>>>
147 >>>> Em 04/05/05, *Magno Torres* <magnotorres@×××××.com
148 >>>> <mailto:magnotorres@×××××.com>> escreveu:
149 >>>>
150 >>>> Agora vai :)
151 >>>>
152 >>>> # vi
153 >>>> /usr/portage/dev-php/mod_php/mod_php-5.0.3-r2.ebuild
154 >>>> +26
155 >>>> trocar:
156 >>>> inherit eutils php5-sapi-r1 apache-module
157 >>>> para:
158 >>>> inherit eutils php5-sapi apache-module
159 >>>>
160 >>>> # ebuild
161 >>>> /usr/portage/dev-php/mod_php/mod_php-5.0.3-r2.ebuild
162 >>>>
163 >>>> vi /etc/portage/package.use
164 >>>> colocar as seguintes linhas:
165 >>>>
166 >>>> dev-php/mod_php -gdbm -snmp -berkdb -mysql
167 >>>> session mysqli simplexml soap sockets xmlrpc
168 >>>> xsl apache2
169 >>>> dev-php/php -gdbm -snmp -berkdb -mysql mysqli
170 >>>> session simplexml soap sockets xmlrpc xsl apache2
171 >>>> dev-db/mysql innodb
172 >>>> dev-php/eaccelerator session
173 >>>>
174 >>>> # vi /etc/portage/package.unmask
175 >>>> colocar as seguintes linhas:
176 >>>>>=dev-db/mysql-4.1.8-r1
177 >>>>>=dev-php/mod_php-5.0.3-r2
178 >>>>
179 >>>>
180 >>>> ACCEPT_KEYWORDS="~x86" emerge mysql
181 >>>> dev-php/mod_php php dev-php/eaccelerator
182 >>>>
183 >>>>
184 >>>> Agora deve ir :)
185 >>>>
186 >>>>
187 >>>>
188 >>>> Em 04/05/05, *Geisel Sierote*
189 >>>> <geisel@×××××××.br <mailto:geisel@×××××××.br>>
190 >>>> escreveu:
191 >>>>
192 >>>> Valeu, mas esta dica não funcionou com o
193 >>>> USE mysqli. :-(
194 >>>>
195 >>>>
196 >>>> Magno Torres wrote:
197 >>>>
198 >>>>> mais uma coisa que esqueci, no USE,
199 >>>>> colocar mysql
200 >>>>> no meu ja esta no /etc/make.conf
201 >>>>>
202 >>>>> Em 03/05/05, *Magno Torres* <
203 >>>>> magnotorres@×××××.com
204 >>>>> <mailto:magnotorres@×××××.com>> escreveu:
205 >>>>>
206 >>>>> Não fazer emerge -n apache, o ultimo
207 >>>>> emerge ja instala o versão mais nova.
208 >>>>> Então fica assim:
209 >>>>>
210 >>>>> echo ">=dev-db/mysql-4.1.8-r1" >>
211 >>>>> /etc/portage/package.unmask
212 >>>>> echo ">=dev-php/mod_php-5.0.3-r2" >>
213 >>>>> /etc/portage/package.unmask
214 >>>>>
215 >>>>> emerge -C php mod_php mysql
216 >>>>>
217 >>>>> ACCEPT_KEYWORDS="~x86" USE="apache2"
218 >>>>> emerge dev-php/mod_php mysql
219 >>>>> dev-php/eaccelerator
220 >>>>>
221 >>>>>
222 >>>>>
223 >>>>>
224 >>>>> Em 03/05/05, *Magno Torres* <
225 >>>>> magnotorres@×××××.com
226 >>>>> <mailto:magnotorres@×××××.com>> escreveu:
227 >>>>>
228 >>>>> echo ">=dev-db/mysql-4.1.8-r1" >>
229 >>>>> /etc/portage/package.unmask
230 >>>>> echo ">=dev-php/mod_php-5.0.3-r2"
231 >>>>> >> /etc/portage/package.unmask
232 >>>>>
233 >>>>> emerge -n apache
234 >>>>> emerge -C php mod_php mysql
235 >>>>>
236 >>>>> ACCEPT_KEYWORDS="~x86"
237 >>>>> USE="apache2" emerge
238 >>>>> dev-php/mod_php mysql
239 >>>>> dev-php/eaccelerator
240 >>>>>
241 >>>>>
242 >>>>> Em 02/05/05, *Geisel Sierote* <
243 >>>>> geisel@×××××××.br
244 >>>>> <mailto:geisel@×××××××.br>> escreveu:
245 >>>>>
246 >>>>> As dicas se referem ao MYSQL 4.0.
247 >>>>>
248 >>>>> Só estou conseguindo fazer a
249 >>>>> instalação na mão até agora.
250 >>>>>
251 >>>>> Instalo o MySQL 4.1, depois
252 >>>>> compilo o apache e o PHP na mão.
253 >>>>>
254 >>>>> Quando tento instalar o 4.1,
255 >>>>> não rola.
256 >>>>>
257 >>>>>
258 >>>>> William wrote:
259 >>>>>
260 >>>>>>http://gentoo-wiki.com/HOWTO_Apache2_with_PHP_MySQL
261 >>>>>>
262 >>>>>>
263 >>>>>>
264 >>>>>>
265 >>>>>>
266 >>>>>>
267 >>>>>>
268 >>>>>>
269 >>>>>>
270 >>>>>>http://www.destination-linux.org/article3.html
271 >>>>>>
272 >>>>>>
273 >>>>>>
274 >>>>>>>APACHE 2 + PHP 5(com módulo mysqli) + MYSQL 4.1(mysqli)
275 >>>>>>>
276 >>>>>>>Alguém???
277 >>>>>>>
278 >>>>>>>
279 >>>>>>>Geisel Sierote wrote:
280 >>>>>>>
281 >>>>>>>
282 >>>>>>>
283 >>>>>>>>Alguém já conseguiu instalar a combinação explosiva:
284 >>>>>>>>
285 >>>>>>>>APACHE 2 + PHP 5(com módulo mysqli) + MYSQL 4.1(mysqli) +
286 >>>>>>>>
287 >>>>>>>>
288 >>>>>>>EACCELERATOR
289 >>>>>>>
290 >>>>>>>
291 >>>>>>>>Pelo portage?
292 >>>>>>>>
293 >>>>>>>>
294 >>>>>>>>
295 >>>>>>
296 >>>>>>
297 >>>>>>
298 >>>>>>Yahoo! Acesso Grátis - Internet rápida e grátis.
299 >>>>>>Instale o discador agora!
300 >>>>>>
301 >>>>>>
302 >>>>>>http://br.acesso.yahoo.com/
303 >>>>>>
304 >>>>>>
305 >>>>>>
306 >>>>>>
307 >>>>>>
308 >>>>>> <http://br.acesso.yahoo.com/>
309 >>>>>>
310 >>>>>>
311 >>>>>
312 >>>>>
313 >>>>>
314 >>>>>
315 >>>>>
316 >>>>> --
317 >>>>> []s Magno
318 >>>>> Linux user: #123834
319 >>>>> http://counter.li.org
320 >>>>>
321 >>>>>
322 >>>>>
323 >>>>>
324 >>>>> --
325 >>>>> []s Magno
326 >>>>> Linux user: #123834
327 >>>>> http://counter.li.org
328 >>>>>
329 >>>>>
330 >>>>>
331 >>>>>
332 >>>>> --
333 >>>>> []s Magno
334 >>>>> Linux user: #123834
335 >>>>> http://counter.li.org
336 >>>>
337 >>>>
338 >>>>
339 >>>>
340 >>>>
341 >>>>
342 >>>> --
343 >>>> []s Magno
344 >>>> Linux user: #123834
345 >>>> http://counter.li.org
346 >>>>
347 >>>>
348 >>>>
349 >>>>
350 >>>> --
351 >>>> []s Magno
352 >>>> Linux user: #123834
353 >>>> http://counter.li.org
354 >>>>
355 >>>>
356 >>>>
357 >>>>
358 >>>> --
359 >>>> []s Magno
360 >>>> Linux user: #123834
361 >>>> http://counter.li.org
362 >>>
363 >>>
364 >>>
365 >>>
366 >>>
367 >>>
368 >>> --
369 >>> []s Magno
370 >>> Linux user: #123834
371 >>> http://counter.li.org
372 >>
373 >>
374 >>
375 >>
376 >>
377 >>
378 >> --
379 >> []s Magno
380 >> Linux user: #123834
381 >> http://counter.li.org
382 >
383 >
384 >
385 >
386 >
387 >
388 > --
389 > []s Magno
390 > Linux user: #123834
391 > http://counter.li.org

Attachments

File name MIME type
geisel.vcf text/x-vcard