joomla not working in wampserver
Posted by: ravikanth (---.beamtele.com)
Date: July 23, 2010 05:47PM

Hi

I am using wampserver & Apache with port no "Localhost:85".

Now i am trying to install the joomla in Wampserver but at host name i given a localhost.

its showing unable to connect mysql.

I tried localhost:85 also but its not installing.


Please give the solution.

Options: ReplyQuote
Re: joomla not working in wampserver
Posted by: Beachhouse (---.sub-75-210-131.myvzw.com)
Date: July 25, 2010 06:11PM

Have you tried to use PHP/MySQL without installing joomla?

Check and see if a simple php page processes:


<?PHP

print "This will only show if PHP is working!";

?>



You can also check to see if mySQL is working -- just fill in the login details for your MySql server, and then a table name:

<?php


$db_username = "root";
$db_password = "";
$db_name = "test";
$db_host = "localhost";

$dbh=mysql_connect($db_host, $db_username, $db_password);

mysql_select_db($db_name);


$strSQL = "SELECT * FROM test_table;";
$result = mysql_query($strSQL) or die(mysql_error()."<br/>".$strSQL);
while ($row = mysql_fetch_assoc($result)) {

// print "show some data here: $row[dta1] ";

}


?>

Options: ReplyQuote
Re: joomla not working in wampserver
Posted by: yfastud (Moderator)
Date: July 25, 2010 08:44PM


Options: ReplyQuote


Sorry, only registered users may post in this forum.