Asked  8 Months ago    Answers:  5   Viewed   37 times

I have created a website for mobile using PHP and jQuery. It works on my PC but now I want to test it with my Android device. How can I do that?

How can I access a WAMP server's IP from my Android device?

My mobile and PC are connected within the same router. Should I directly connect to my PC or can I do that through the router?

I have searched about it and found that I have to change permissions in phpmyadmin.conf but still it does not work. Any ideas why doesn't it work?

My httpd.config has something like this.

<Directory />
    Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from
</Directory> is my android device's IP.



I assume you are using windows. Open the command prompt and type ipconfig and find out your local address (on your pc) it should look something like or where the end digit is the one that changes. It should be next to IPv4 Address.

If your WAMP does not use virtual hosts the next step is to enter that IP address on your phones browser ie If you have a virtual host then you will need root to edit the hosts file.

If you want to test the responsiveness / mobile design of your website you can change your user agent in chrome or other browsers to mimic a mobile.


Edit: Chrome dev tools now has a mobile debug tool where you can change the size of the viewport, spoof user agents, connections (4G, 3G etc).

If you get forbidden access then see this question WAMP error: Forbidden You don't have permission to access /phpmyadmin/ on this server. Basically, change the occurrances of deny,allow to allow,deny in the httpd.conf file. You can access this by the WAMP menu.

To eliminate possible causes of the issue for now set your config file to

<Directory />
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
        Require all granted

As thatis working for my windows PC, if you have the directory config block as well change that also to allow all.

Config file that fixed the problem:

Problem was that the /www apache directory config block still had deny set as default and only allowed from localhost.

Wednesday, March 31, 2021
answered 8 Months ago

In order to remotely access a PostgreSQL database, you must set the two main PostgreSQL configuration files:


Here is a brief description about how you can set them (note that the following description is purely indicative: To configure a machine safely, you must be familiar with all the parameters and their meanings)

First of all configure PostgreSQL service to listen on port 5432 on all network interfaces in Windows 7 machine:
open the file postgresql.conf (usually located in C:Program FilesPostgreSQL9.2data) and sets the parameter

listen_addresses = '*'

Check the network address of WindowsXP virtual machine, and sets parameters in pg_hba.conf file (located in the same directory of postgresql.conf) so that postgresql can accept connections from virtual machine hosts.
For example, if the machine with Windows XP have IP address, add in the pg_hba.conf file:

host all all md5

this way, PostgreSQL will accept connections from all hosts on the network 192.168.1.XXX.

Restart the PostgreSQL service in Windows 7 (Services-> PosgreSQL 9.2: right click and restart sevice). Install pgAdmin on windows XP machine and try to connect to PostgreSQL.

Wednesday, June 9, 2021
answered 5 Months ago

Basically you can't. The whole point of MainFormOnTaskBar is to have Vista compatibility. If you don't set it, compatibility is gone.., if you set it, z-order is done. The following excerpt is from D2007's readme:

The property controls how Window's TaskBar buttons are handled by VCL. This property can be applied to older applications, but it affects the Z-order of your MainForm, so you should ensure that you have no dependencies on the old behavior.

But see this QC report, which describes the exact same problem (and closed as AsDesigned). The report states a workaround involving overriding CreateParams of a form to set the WndParent to '0'. It also describes a few problems which this workaround causes and a possible workaround for those problems too. Beware, it wouldn't be easy/possible to find and workaround all complications. See Steve Trefethen's article to have a feeling of what could be involved.

Friday, July 30, 2021
answered 3 Months ago

One from the PHP folder is for Command Line interaction, the other is for Apache itself (Web browser).

I use the CLI for my IDE (netbeans).

Thursday, August 5, 2021
answered 3 Months ago

sadly this probably won't ever help anyone else who has this same problem, but I was able to get everything working by just changing the port to 465.

Monday, August 16, 2021
Justin Charles
answered 3 Months ago
Only authorized users can answer the question. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :