Xampp,当我的htdocs在dropbox中时,如何进入phpmyadmin?

时间:2021-09-21 20:25:20

I was searching for a way to sync all my xampp prodject between different computers and find a guide that showed how to sync it with dropbox.

我正在寻找一种方法来在不同的计算机之间同步我的所有xampp产品,并找到一个指南,显示如何与dropbox同步。

But now to the problem, when I write "localhost/phpadmin" in my brower so normaly I get to the phpadmin page but I don't. I guess it searches for a map in the htdocs and find nothing.

但是现在问题是,当我在我的浏览器中写“localhost / phpadmin”这么规范时,我会进入phpadmin页面,但我没有。我猜它在htdocs中搜索一个地图而什么都没发现。

Iam woundering if there is anyone out there that also uses dropbox and have find a way to get to the phpadmin page. I really need to get there to configer stuff and edit my database.

我想知道是否有人也使用Dropbox并找到了一种方法来访问phpadmin页面。我真的需要到那里来调配和编辑我的数据库。

Thanks and sorry for my bad english...

谢谢,抱歉我的英语不好......

2 个解决方案

#1


0  

Probably you changed some paths, while changing you htdocs directory to point to the dropbox folder.

可能你改变了一些路径,同时改变你的htdocs目录指向dropbox文件夹。

In XAMPP (1.8.3 - can't check other versions right now), there is an alias defined for phpmyadmin. You can find it at

在XAMPP(1.8.3 - 目前无法检查其他版本)中,为phpmyadmin定义了一个别名。你可以找到它

[yourXAMPPdirectory]/apache/conf/extra/httpd-xampp.conf

There should be something like this:

应该是这样的:

<IfModule alias_module>

  <!-- some other stuff -->

    Alias /phpmyadmin "[yourXAMPPdirectory]/phpMyAdmin/"
    <Directory "[yourXAMPPdirectory]/phpMyAdmin">
        AllowOverride AuthConfig
        Require all granted
    </Directory>

  <!-- some other stuff -->


</IfModule>

Make sure this points to the correct folder of phpmyadmin.

确保这指向phpmyadmin的正确文件夹。


Another solution would be to just install a new phpMyAdmin instance to the dropbox folder and use that one. You would have to configure the auth properly, so you can enter the respective credentials for each machine.

另一种解决方案是将新的phpMyAdmin实例安装到dropbox文件夹并使用该实例。您必须正确配置身份验证,以便为每台计算机输入相应的凭据。

#2


0  

I relized that I was trying to go to localhost/phpadmin but the correct link is localhost/phpmyadmin xD After trying that link, everything worked, sorry for taking you time but thank you for helping :)

我重申,我试图去localhost / phpadmin,但正确的链接是localhost / phpmyadmin xD尝试该链接后,一切正常,抱歉花时间,但谢谢你的帮助:)

Joakim

#1


0  

Probably you changed some paths, while changing you htdocs directory to point to the dropbox folder.

可能你改变了一些路径,同时改变你的htdocs目录指向dropbox文件夹。

In XAMPP (1.8.3 - can't check other versions right now), there is an alias defined for phpmyadmin. You can find it at

在XAMPP(1.8.3 - 目前无法检查其他版本)中,为phpmyadmin定义了一个别名。你可以找到它

[yourXAMPPdirectory]/apache/conf/extra/httpd-xampp.conf

There should be something like this:

应该是这样的:

<IfModule alias_module>

  <!-- some other stuff -->

    Alias /phpmyadmin "[yourXAMPPdirectory]/phpMyAdmin/"
    <Directory "[yourXAMPPdirectory]/phpMyAdmin">
        AllowOverride AuthConfig
        Require all granted
    </Directory>

  <!-- some other stuff -->


</IfModule>

Make sure this points to the correct folder of phpmyadmin.

确保这指向phpmyadmin的正确文件夹。


Another solution would be to just install a new phpMyAdmin instance to the dropbox folder and use that one. You would have to configure the auth properly, so you can enter the respective credentials for each machine.

另一种解决方案是将新的phpMyAdmin实例安装到dropbox文件夹并使用该实例。您必须正确配置身份验证,以便为每台计算机输入相应的凭据。

#2


0  

I relized that I was trying to go to localhost/phpadmin but the correct link is localhost/phpmyadmin xD After trying that link, everything worked, sorry for taking you time but thank you for helping :)

我重申,我试图去localhost / phpadmin,但正确的链接是localhost / phpmyadmin xD尝试该链接后,一切正常,抱歉花时间,但谢谢你的帮助:)

Joakim