Page 1 of 2

Proplem in local host

PostPosted: 08. September 2009 11:14
by lordgzar
hi.
Please i have windows Xp sp2 iam using xampp 1.7.2 i run apache and mysql but still lacolhost cant come and my firewall is closed so please need help

Re: Proplem in local host

PostPosted: 08. September 2009 12:58
by lordgzar
when i click checkport when iam not running any thing it say that all free
but when i run mysql and apache it say

XAMPP PortCheck v1.4 by (c) 2009 Carsten Wiedmann (FreeBSD License)
Send bug reports to the author at <carsten_sttgt@gmx.de>,
or go to the XAMPP homepage at http://www.apachefriends.org/.

This script uses openport.exe:
Copyright (C) 2005 Diamond Computer Systems Pty. Ltd.
Official website: http://www.diamondcs.com.au/

Please wait a moment...


RESULT
------

Service Port Status
==============================================================================
Apache (HTTP) 80 G:\xampp\apache\bin\httpd.exe
Apache (WebDAV) 81 free
Apache (HTTPS) 443 G:\xampp\apache\bin\httpd.exe

MySQL 3306 G:\xampp\mysql\bin\mysqld.exe

FileZilla (FTP) 21 free
FileZilla (Admin) 14147 free

Mercury (SMTP) 25 free
Mercury (POP3) 110 free
Mercury (IMAP) 143 free
Mercury (HTTP) 2224 free
Mercury (Finger) 79 free
Mercury (PH) 105 free
Mercury (PopPass) 106 free

Tomcat (AJP/1.3) 8009 free
Tomcat (HTTP) 8080 free

Press <Return> to continue.
but still cant go to localhost :S:S

Re: Proplem in local host

PostPosted: 08. September 2009 13:02
by lordgzar
and thats the content of index.php
Code: Select all
<?php
   if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
      $uri = 'https://';
   } else {
      $uri = 'http://';
   }
   $uri .= $_SERVER['HTTP_HOST'];
   header('Location: '.$uri.'/xampp/');
   exit;
?>
Something is wrong with the XAMPP installation :-(

Re: Proplem in local host

PostPosted: 08. September 2009 13:09
by Wiedmann
but still cant go to localhost :S:S

Instead what happens? (e.g. an error message...)

Re: Proplem in local host

PostPosted: 08. September 2009 18:27
by lordgzar
it done the prop was cuz i use an ipchanger so it dosent go to local host by the way the other proplem now that when i go to security page it say that mysql is not runing but iam already runing it

Re: Proplem in local host

PostPosted: 08. September 2009 18:41
by lordgzar
it dont log with the localhost ip it log with
egyptot.no-ip.org

Re: Proplem in local host

PostPosted: 08. September 2009 19:17
by lordgzar
it say that mysql is stell closed dont know why please help
Code: Select all
XAMPP SECURITY [Security Check 1.1]

This page gives you a quick overview of the security status of your XAMPP installation. (Please continue reading after the table.)   
Subject   
Status   

   These XAMPP pages are accessible through the network by anyone      UNSECURE    
   Every XAMPP demo page you are looking at right now is accessible by everyone over the network. Everyone who knows your IP address can see these pages.
      

   The MySQL server is not running or is blocked by a firewall!      UNKNOWN    

   PhpMyAdmin is freely accessible by network      UNSECURE    
   PhpMyAdmin is accessible by network without a password. The configuration 'httpd' or 'cookie' in the "config.inc.php" can help.
      

   A FTP server is not running or is blocked by a firewall!      UNKNOWN    

   A POP3 server like Mercury Mail is not running or is blocked by a firewall!      UNKNOWN    

   The Tomcat add-on is not installalled.      UNKNOWN    
      


The green marked points are secure; the red marked points are definitively unsecure and the yellow marked points couldn't be checked (for example because the sofware to check isn't running).

To fix the problems for mysql, phpmyadmin and the xampp directory simply use

=> http://localhost/security/xamppsecurity.php <=   [allowed only for localhost]

Re: Proplem in local host

PostPosted: 08. September 2009 19:30
by Wiedmann
when i go to security page it say that mysql is not runing but iam already runing it

How did you know that MySQL is running?

Re: Proplem in local host

PostPosted: 08. September 2009 19:46
by lordgzar
in xampp controlpanel he say that it's running

Re: Proplem in local host

PostPosted: 08. September 2009 19:54
by lordgzar
Wiedmann wrote:
when i go to security page it say that mysql is not runing but iam already runing it

How did you know that MySQL is running?

then what i can do now?and how to make it open with localhost not with this ip:Egyptot.no-ip.org

Re: Proplem in local host

PostPosted: 08. September 2009 20:11
by Wiedmann
in xampp controlpanel he say that it's running

So there is a green "Running" next to the MySQL start button.

BTW:
In the XAMPP status page MySQL is also "Deactivated"?

Re: Proplem in local host

PostPosted: 09. September 2009 02:42
by lordgzar
it say that its deactivated :S But how!?

    Component
    Status
    Hint

    MySQL database DEACTIVATED

    PHP DEACTIVATED

    Perl with mod_perl DEACTIVATED

    Apache::ASP DEACTIVATED

    HTTPS (SSL) DEACTIVATED

    Common Gateway Interface (CGI) DEACTIVATED

    Server Side Includes (SSI) DEACTIVATED

    IPv4 DEACTIVATED

    IPv6 DEACTIVATED

    SMTP Service DEACTIVATED

    FTP Service DEACTIVATED

Re: Proplem in local host

PostPosted: 09. September 2009 02:46
by lordgzar
Wiedmann wrote:
in xampp controlpanel he say that it's running

So there is a green "Running" next to the MySQL start button.

BTW:
In the XAMPP status page MySQL is also "Deactivated"?


It say that in phpadmin cant connect
Code: Select all
أهلاً بك في phpMyAdmin
خطأ

MySQL قال: 
#2003 - Can't connect to MySQL server on 'localhost' (10060)
Connection for controluser as defined in your configuration failed.

Re: Proplem in local host

PostPosted: 09. September 2009 03:07
by Wiedmann
The MySQL server is not running or is blocked by a firewall! UNKNOWN

You should check your firewall settings...

Re: Proplem in local host

PostPosted: 09. September 2009 03:08
by lordgzar
Wiedmann wrote:
The MySQL server is not running or is blocked by a firewall! UNKNOWN

You should check your firewall settings...


its already closed