Easyphp does not open the homepage
Solved
BernG49
Posted messages
13
Status
Membre
-
yessine -
yessine -
Hello
I am new to PHP and I just installed EasyPHP 5.4.6 on Windows 10.
I read in the documentation and various forums that one should start EasyPHP and then click F7 or enter in the browser (Opera or Internet Explorer) http://127.0.0.1 to reach the server's homepage.
However, with Internet Explorer I get the message:
This page cannot be displayed
• Check that the web address http://127.0.0.1:8080 is correct.
With Opera, I get the message:
This site is unreachable
127.0.0.1 does not allow the connection.
Did I install EasyPHP incorrectly or is there a particular setting that needs to be configured?
I am new to PHP and I just installed EasyPHP 5.4.6 on Windows 10.
I read in the documentation and various forums that one should start EasyPHP and then click F7 or enter in the browser (Opera or Internet Explorer) http://127.0.0.1 to reach the server's homepage.
However, with Internet Explorer I get the message:
This page cannot be displayed
• Check that the web address http://127.0.0.1:8080 is correct.
With Opera, I get the message:
This site is unreachable
127.0.0.1 does not allow the connection.
Did I install EasyPHP incorrectly or is there a particular setting that needs to be configured?
3 réponses
I just found the solution by looking at the configuration files
For Apache in: C:\program files \EasyPHP-12.1\apache\conf\httpd.conf
I read in the configuration lines:
Listen 127.0.0.1: 8887
Server Name 127.0.0.1: 8887
For EasyPHP in: C:\program files \EasyPHP-12.1\conf_files\httpd.conf
I read in the configuration lines:
Listen 127.0.0.1: 8080
Server Name 127.0.0.1: 8080
Solution:
If I change the Apache httpd.conf to have the same values as for the EasyPHP one, everything works correctly.
Warning: if we change the EasyPHP one, it doesn't work.
Note: localhost does not work, I get a blank page.
Problem solved.
For Apache in: C:\program files \EasyPHP-12.1\apache\conf\httpd.conf
I read in the configuration lines:
Listen 127.0.0.1: 8887
Server Name 127.0.0.1: 8887
For EasyPHP in: C:\program files \EasyPHP-12.1\conf_files\httpd.conf
I read in the configuration lines:
Listen 127.0.0.1: 8080
Server Name 127.0.0.1: 8080
Solution:
If I change the Apache httpd.conf to have the same values as for the EasyPHP one, everything works correctly.
Warning: if we change the EasyPHP one, it doesn't work.
Note: localhost does not work, I get a blank page.
Problem solved.
pomme
Thank you for this solution. There are indeed two httpd.conf files: the values indicated after "Listen" were not the same.
yessine
Thank you very much. He walked properly.