Preciso de ajuda com o PhPMyAdmin

13. Re: Preciso de ajuda com o PhPMyAdmin

Richardson Douglas
Richards0n

(usa CentOS)

Enviado em 22/06/2017 - 17:04h

amarildosertorio escreveu:

Você executou restart no apache?


Sim.
service httpd restart



  


14. Re: Preciso de ajuda com o PhPMyAdmin

Perfil removido
removido

(usa Nenhuma)

Enviado em 22/06/2017 - 17:09h

Acabei de testar em um CentOS7 / HTTPD 2.4. Copiou o conteúdo inteiro?

Teste a sintaxe:

# httpd -t


15. Re: Preciso de ajuda com o PhPMyAdmin

Richardson Douglas
Richards0n

(usa CentOS)

Enviado em 22/06/2017 - 17:10h

amarildosertorio escreveu:

Acabei de testar em um CentOS7 / HTTPD 2.4. Copiou o conteúdo inteiro?

Teste a sintaxe:

# httpd -t


Sim copiei tudo.
[root@vps135487 ~]# httpd -t
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using vps135487.vps.ovh.ca. Set the 'ServerName' directive globally to suppress this message
Syntax OK



16. Re: Preciso de ajuda com o PhPMyAdmin

Richardson Douglas
Richards0n

(usa CentOS)

Enviado em 22/06/2017 - 17:13h

Eu quando instalei o httpd eu liberei a porta de coneção SSL (Https)
pode ser que esse seja o problema?


17. Re: Preciso de ajuda com o PhPMyAdmin

Perfil removido
removido

(usa Nenhuma)

Enviado em 22/06/2017 - 17:13h

No apache 2.4 bastaria a configuração:

Require all granted 


Qual a versão do apache?

# httpd -v


18. Re: Preciso de ajuda com o PhPMyAdmin

Richardson Douglas
Richards0n

(usa CentOS)

Enviado em 22/06/2017 - 17:15h

amarildosertorio escreveu:

No apache 2.4 bastaria a configuração:

Require all granted 


Qual a versão do apache?

# httpd -v




AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using vps135487.vps.ovh.ca. Set the 'ServerName' directive globally to suppress this message
Syntax OK
[root@vps135487 ~]# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built: Apr 12 2017 21:03:28







19. Re: Preciso de ajuda com o PhPMyAdmin

Perfil removido
removido

(usa Nenhuma)

Enviado em 22/06/2017 - 17:18h

Continua dando cliente negado nos logs?


20. Re: Preciso de ajuda com o PhPMyAdmin

Richardson Douglas
Richards0n

(usa CentOS)

Enviado em 22/06/2017 - 17:22h

amarildosertorio escreveu:

Continua dando cliente negado nos logs?


AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using vps135487.vps.ovh.ca. Set the 'ServerName' directive globally to suppress this message
[Thu Jun 22 16:00:35.989122 2017] [auth_digest:notice] [pid 3333] AH01757: generating secret for digest authentication ...
[Thu Jun 22 16:00:35.989720 2017] [lbmethod_heartbeat:notice] [pid 3333] AH02282: No slotmem from mod_heartmonitor
[Thu Jun 22 16:00:35.992670 2017] [mpm_prefork:notice] [pid 3333] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Thu Jun 22 16:00:35.992694 2017] [core:notice] [pid 3333] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Jun 22 16:00:38.159223 2017] [autoindex:error] [pid 3334] [client 181.213.50.92:51752] AH01276: Cannot serve directory /usr/share/phpMyAdmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Thu Jun 22 16:03:20.799095 2017] [autoindex:error] [pid 3336] [client 181.213.50.92:51764] AH01276: Cannot serve directory /usr/share/phpMyAdmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Thu Jun 22 16:04:23.446444 2017] [mpm_prefork:notice] [pid 3333] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jun 22 16:04:42.478923 2017] [suexec:notice] [pid 802] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using vps135487.vps.ovh.ca. Set the 'ServerName' directive globally to suppress this message
[Thu Jun 22 16:04:42.493390 2017] [auth_digest:notice] [pid 802] AH01757: generating secret for digest authentication ...
[Thu Jun 22 16:04:42.494012 2017] [lbmethod_heartbeat:notice] [pid 802] AH02282: No slotmem from mod_heartmonitor
[Thu Jun 22 16:04:42.497184 2017] [mpm_prefork:notice] [pid 802] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Thu Jun 22 16:04:42.497215 2017] [core:notice] [pid 802] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Jun 22 16:04:54.430668 2017] [autoindex:error] [pid 1030] [client 181.213.50.92:51776] AH01276: Cannot serve directory /usr/share/phpMyAdmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Thu Jun 22 16:04:55.309251 2017] [autoindex:error] [pid 1030] [client 181.213.50.92:51776] AH01276: Cannot serve directory /usr/share/phpMyAdmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Thu Jun 22 16:06:12.681196 2017] [autoindex:error] [pid 1028] [client 181.213.50.92:51803] AH01276: Cannot serve directory /usr/share/phpMyAdmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Thu Jun 22 16:06:35.460277 2017] [mpm_prefork:notice] [pid 802] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jun 22 16:06:36.504487 2017] [suexec:notice] [pid 2368] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using vps135487.vps.ovh.ca. Set the 'ServerName' directive globally to suppress this message
[Thu Jun 22 16:06:36.516827 2017] [auth_digest:notice] [pid 2368] AH01757: generating secret for digest authentication ...
[Thu Jun 22 16:06:36.517597 2017] [lbmethod_heartbeat:notice] [pid 2368] AH02282: No slotmem from mod_heartmonitor
[Thu Jun 22 16:06:36.520340 2017] [mpm_prefork:notice] [pid 2368] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Thu Jun 22 16:06:36.520368 2017] [core:notice] [pid 2368] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Jun 22 16:06:40.807085 2017] [autoindex:error] [pid 2369] [client 181.213.50.92:51806] AH01276: Cannot serve directory /usr/share/phpMyAdmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Thu Jun 22 16:11:55.138208 2017] [mpm_prefork:notice] [pid 2368] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jun 22 16:11:56.204876 2017] [suexec:notice] [pid 2400] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using vps135487.vps.ovh.ca. Set the 'ServerName' directive globally to suppress this message
[Thu Jun 22 16:11:56.221645 2017] [auth_digest:notice] [pid 2400] AH01757: generating secret for digest authentication ...
[Thu Jun 22 16:11:56.222508 2017] [lbmethod_heartbeat:notice] [pid 2400] AH02282: No slotmem from mod_heartmonitor
[Thu Jun 22 16:11:56.226273 2017] [mpm_prefork:notice] [pid 2400] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Thu Jun 22 16:11:56.226304 2017] [core:notice] [pid 2400] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Jun 22 16:11:59.731067 2017] [autoindex:error] [pid 2402] [client 181.213.50.92:51876] AH01276: Cannot serve directory /usr/share/phpMyAdmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Thu Jun 22 16:13:54.148869 2017] [autoindex:error] [pid 2405] [client 181.213.50.92:51894] AH01276: Cannot serve directory /usr/share/phpMyAdmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Thu Jun 22 16:14:20.207957 2017] [autoindex:error] [pid 2409] [client 181.213.50.92:51898] AH01276: Cannot serve directory /usr/share/phpMyAdmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Thu Jun 22 16:14:26.703396 2017] [autoindex:error] [pid 2410] [client 181.213.50.92:51899] AH01276: Cannot serve directory /usr/share/phpMyAdmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Thu Jun 22 16:15:34.048709 2017] [autoindex:error] [pid 2404] [client 164.52.7.132:37095] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Thu Jun 22 16:16:22.625352 2017] [mpm_prefork:notice] [pid 2400] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jun 22 16:16:23.679432 2017] [suexec:notice] [pid 2433] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using vps135487.vps.ovh.ca. Set the 'ServerName' directive globally to suppress this message
[Thu Jun 22 16:16:23.699389 2017] [auth_digest:notice] [pid 2433] AH01757: generating secret for digest authentication ...
[Thu Jun 22 16:16:23.700387 2017] [lbmethod_heartbeat:notice] [pid 2433] AH02282: No slotmem from mod_heartmonitor
[Thu Jun 22 16:16:23.704807 2017] [mpm_prefork:notice] [pid 2433] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Thu Jun 22 16:16:23.704866 2017] [core:notice] [pid 2433] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Jun 22 16:16:27.412017 2017] [autoindex:error] [pid 2434] [client 181.213.50.92:51905] AH01276: Cannot serve directory /usr/share/phpMyAdmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive


21. Re: Preciso de ajuda com o PhPMyAdmin

Perfil removido
removido

(usa Nenhuma)

Enviado em 22/06/2017 - 17:28h

Cannot serve directory /usr/share/phpMyAdmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive 


Adicionar o "index.php"

# vim /etc/httpd/conf/httpd.conf

De:
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>


Para:
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>


# systemctl restart httpd



22. Re: Preciso de ajuda com o PhPMyAdmin

Richardson Douglas
Richards0n

(usa CentOS)

Enviado em 22/06/2017 - 17:44h

amarildosertorio escreveu:

Cannot serve directory /usr/share/phpMyAdmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive 


Adicionar o "index.php"

# vim /etc/httpd/conf/httpd.conf

De:
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>


Para:
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>


# systemctl restart httpd

Bem, agora quando entro no mesmo aparece isso:
http://vps.gamercraft.com.br/phpmyadmin/
só entrar no site e ver

Esse erro
Cannot serve directory /usr/share/phpMyAdmin/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive 

Só deu porque tentei entrar pelo link mais adicionando o index.html e depois o index.php


23. Re: Preciso de ajuda com o PhPMyAdmin

Perfil removido
removido

(usa Nenhuma)

Enviado em 22/06/2017 - 17:49h

O php está instalado?

# rpm -qa | grep php




24. Re: Preciso de ajuda com o PhPMyAdmin

Richardson Douglas
Richards0n

(usa CentOS)

Enviado em 22/06/2017 - 17:50h

amarildosertorio escreveu:

O php está instalado?

# rpm -qa | grep php



[root@vps135487 ~]# rpm -qa | grep php
php-tcpdf-dejavu-sans-fonts-6.2.13-1.el7.noarch
php71w-mbstring-7.1.6-1.w7.x86_64
php71w-bcmath-7.1.6-1.w7.x86_64
php-php-gettext-1.0.12-1.el7.noarch
php-tcpdf-6.2.13-1.el7.noarch
phpMyAdmin-4.4.15.10-1.el7.noarch
php71w-common-7.1.6-1.w7.x86_64
php71w-mysql-7.1.6-1.w7.x86_64
php71w-cli-7.1.6-1.w7.x86_64
php71w-tidy-7.1.6-1.w7.x86_64
php71w-xml-7.1.6-1.w7.x86_64
php-fedora-autoloader-1.0.0-1.el7.noarch
php71w-pdo-7.1.6-1.w7.x86_64
php71w-process-7.1.6-1.w7.x86_64
php71w-gd-7.1.6-1.w7.x86_64







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts