introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

EasyPHP over network not working.



Posted by: ShannenName
March 28, 2010 04:28AM
I went into cmd and ran ipconfig.
The results were:
"Connection-specific DNS Suffix . : home.gateway
IPv4 Address. . . . . . . . . . . : 192.168.2.101
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.1"

My IP would be 192.168.2.101 but when I type this into a web browser it doesn't work on my computer or a computer on the network. Help?
Options: ReplyQuote
Posted by: Thierry
March 28, 2010 08:56PM
EasyPHP is not supposed to used in production: FAQ
Options: ReplyQuote
Posted by: ShannenName
March 29, 2010 05:48AM
I am not using it in production. I a using it development but sometimes I use a downstairs computer and easyphp is on the upstairs one and it is a large hassle to get all my open pages, programs and whatnot to be opened in the other computer just so I can work on code.

Anyway problem solved. I installed xampp.
Options: ReplyQuote
April 01, 2010 05:40PM
Dears,

I agree with both Thierry and ShannenName.

Indeed, Thierry, EasyPHP was created for development, not for production.
We can observe that, for example: in the defaults chosen in the apache config,
and the php.ini configurations (error_reporting = 32767)

But ShannenName has also a point, wanting to access the EasyPHP webserver
from another macine on his local lan. (As I also do)

The reason is the Apache config, with the statements
Order deny,allow
Deny from all
for the whole server, followed by the statements
Order allow,deny
Allow from all
for the inidividual directories.

But the statement
Listen 127.0.0.1:80
is the real culprit.

Only the browser running in the same machine as the EasyPHP webserver
has access to this (fake) loop-back IP address.

When that machine has a IP address that is always the same,
the solution may be the creation of a VirtualHost.

Example: the EasyPHP machine has IP address 10.11.12.13 on the local lan.

° Create you development root folder (C:\www.mydomain.lan\)
° Create a folder for the logging files (C:\www.mydomain.lan_logs\)
° Make these apache httpd.conf statement:

Listen 10.11.12.13:80
<VirtualHost www.mydomain.lan:80>
ServerAdmin moileplusfort@mydomain.lan
DocumentRoot "C:\www.mydomain.lan"
ServerName www.mydomain.lan
ErrorLog "C:/www.mydomain.lan_logs/error.log"
CustomLog "C:/www.mydomain.lan_logs/access.log" common
<Directory />
Options Indexes
Order allow;deny
Allow from all
</Directory>
</VirtualHost>

Added bonus: you can install a brand new EasyPHP version (or other)
without fear for losing your work...

Remember that the mysqladmin still has to be done from the
[localhost]
because of the
allow from 127.0.0.1

Greetings,
Augusin.
Options: ReplyQuote
Posted by: ShannenName
April 07, 2010 03:36AM
Seems a bit of a long work around when I installed XAMPP in a few seconds and it automatically came accessable over the network. Some might say this is insecure but when you first visit your local server and click on the security link (as one would do if you were looking for security) it says "If your computer is blocked by a firewall or not online, your servers are SECURE against outside attacks".
Options: ReplyQuote
Posted by: kvic
January 12, 2012 06:18PM
problem solved to me. I need to change using Xampp. Now i know why i can't view my web project using IP address because EasyPHP not allow it.
Options: ReplyQuote
November 22, 2011 04:46AM
Repair must be the priority of the creator of this EasyPHP.
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.