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.