Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
2.1k views
in Q2A Core by

MySQL ok, ok qa-config.php,PHP installed ok, installation error, someone help?

I've made several attempts, I'm already two days, trying to do something, said to be done in 5 minutes.
I have already installed the two different servers, the error CentOS 5.2 has given up and I saw a tutorial on Ubuntu Server 4.10 installed, still in error.
I do not know what else to do since I tried a lot.

In CentOS after all configured

Directory: /var/www/html/p

Configuration qa-config.php
define('QA_MYSQL_HOSTNAME', '127.0.0.1'); // try '127.0.0.1' or 'localhost' if MySQL on same server
    define('QA_MYSQL_USERNAME', 'root');
    define('QA_MYSQL_PASSWORD', '123456');
    define('QA_MYSQL_DATABASE', 'answer');

I access the web http://localhost/p





In Ubuntu after all configured

Directory: /var/www/p

Configuration qa-config.php
define('QA_MYSQL_HOSTNAME', '127.0.0.1'); // try '127.0.0.1' or 'localhost' if MySQL on same server
    define('QA_MYSQL_USERNAME', 'root');
    define('QA_MYSQL_PASSWORD', '123456');
    define('QA_MYSQL_DATABASE', 'answer');


I access the web http://localhost/p


The screen does not appear to start configuring the database, I have seen many tips chi and the Internet, nothing resolved, follow this step by step and nothing resolved. link

Someone help me in any system, I know I have seen other problems, the more I need to get out of that stage.
Thank you.

I'm putting the same text in Portuguese.

 

Eu fiz várias tentativas, eu já estou dois dias, tentando fazer uma coisa, que dissem ser feito em 5 minutos.
Eu já instalei os dois servidores diferentes, o erro CentOS 5.2 desisti e eu fui seguir um tutorial sobre o Ubuntu instalado, ainda no erro.
Eu não sei mais o que fazer desde que eu tentei muito.

No CentOS, afinal configurado

Diretório: /var/www/html/p

Configuração config.php qa-
define('QA_MYSQL_HOSTNAME', '127.0.0.1'); // try '127.0.0.1' or 'localhost' if MySQL on same server
    define('QA_MYSQL_USERNAME', 'root');
    define('QA_MYSQL_PASSWORD', '123456');
    define('QA_MYSQL_DATABASE', 'answer');

Eu acesso o http://localhost/p





No Ubuntu depois de tudo configurado

Diretório: /var/www/p

Configuração config.php qa-
define('QA_MYSQL_HOSTNAME', '127.0.0.1'); // try '127.0.0.1' or 'localhost' if MySQL on same server
    define('QA_MYSQL_USERNAME', 'root');
    define('QA_MYSQL_PASSWORD', '123456');
    define('QA_MYSQL_DATABASE', 'answer');


Eu acesso o http://localhost/p


A tela não aparece para começar a configurar o banco de dados, tenho visto muitas dicas aqui e da Internet em geral, nada resolvido, siga este passo a passo e nada resolvido. link

Alguém me ajuda em qualquer sistema, eu sei que tenho visto outros problemas, mais eu preciso sair dessa fase.
Obrigado.

by
After a long break your head, get up and find out what was wrong.
The error was because the php is not configured, and I could not integrate it with Apache.
I started all over again, this time I installed ubuntu desktop 10:10.
It followed that step by Oassis to install PHP, MySQL and Apache on Ubuntu.

http://www.joomlaavancado.eti.br/site/index.php?option=com_content&view=article&id=26:instalando-php-mysql-e-apache-no-ubuntu&catid=9:linux&Itemid=9

Then follow this step by step installation Question2Answer

http://www.stepwise.hk/blog/install-question2answer-on-ubuntu/

No one answered me, but I did my question and kept running back to resolve, thanks.


Depois de muito quebrar a cabeça, consegui instalar e saber qual era o erro.
O erro era por causa do php não configurado, e eu não consegui integrar ele com o apache.
Comecei tudo de novo, instalei dessa vez o ubuntu 10.10 desktop.
É segui esse passo a oasso para instalação o PHP, MySQL e Apache no Ubuntu.

http://www.joomlaavancado.eti.br/site/index.php?option=com_content&view=article&id=26:instalando-php-mysql-e-apache-no-ubuntu&catid=9:linux&Itemid=9

Depois segui esse passo a passo para instalação do question2answer

http://www.stepwise.hk/blog/install-question2answer-on-ubuntu/


Ninguém me respondeu, mais eu fiz minha pergunta e continuei correndo atrás de resolver, valeu.
by
You also could try WAMP or LAMP (Windows or Linux + Apache + MySQL + PHP) package. The installation is as simple as possible. And don't cause such troubles.
by
Are options, I found this and I am pleased, really, I spent about 15 minutes because I installed everything again, php mysql, php_myadmin and Question2Answer.
For me the best way is the way that I can do no wrong, that I attended, most of the tips apply colleague, who tries to solve a similar problem, you get the tips there.
The difference is that WAMP is the complete package with php mysql, php_myadmin all together.
I made two more commands:

1 command

apt-get install apache2 mysql-server-5.0 php5 php5-mysql

2 command

apt-get install phpmyadmin

---------------------------------------

Valeu!!

Please log in or register to answer this question.

...