Accessing PHP projects with WampServer
gamepaulinegameretour
Posted messages
13
Status
Member
-
Pitet Posted messages 2845 Status Member -
Pitet Posted messages 2845 Status Member -
Hey,
A friend installed WampServer on her new computer with Windows 8.1 but she is encountering issues.
The localhost page displays fine, but when she clicks on one of her projects, the browser redirects her to a page like http://projet/ and she gets the message that the webpage is inaccessible.
We uninstalled WampServer and reinstalled different versions but the problem persists.
She remembers that when she installed the new version of WampServer, she had to check a box (private network or public network), and she doesn't know if that's due to that wrong choice.
When we install WampServer, it no longer asks to choose that option.
Without WampServer, she doesn't know how to test her PHP projects anymore.
Do you have a solution?
KISSES AND THANK YOU
A friend installed WampServer on her new computer with Windows 8.1 but she is encountering issues.
The localhost page displays fine, but when she clicks on one of her projects, the browser redirects her to a page like http://projet/ and she gets the message that the webpage is inaccessible.
We uninstalled WampServer and reinstalled different versions but the problem persists.
She remembers that when she installed the new version of WampServer, she had to check a box (private network or public network), and she doesn't know if that's due to that wrong choice.
When we install WampServer, it no longer asks to choose that option.
Without WampServer, she doesn't know how to test her PHP projects anymore.
Do you have a solution?
KISSES AND THANK YOU
5 answers
Hi,
If the homepage displays normally, then the problem likely comes from the project you are trying to access!
Check if this project has any redirects.
Mark it as resolved when it is fixed...
If the homepage displays normally, then the problem likely comes from the project you are trying to access!
Check if this project has any redirects.
Mark it as resolved when it is fixed...
Hey JooS,
I checked and even a simple project like this one doesn't work:
<?php
$paragraph = "My paragraph is small!";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Simple php project</title>
</head>
<body>
<h1>Simple php project</h1>
<p><?php echo $paragraph; ?></p>
</body>
</html>
So, maybe it's because she checked the private network. On my computer, WampServer has been installed for a long time and I don't remember having to check a box during installation, but it might not have been the same version.
KISSES AND THANK YOU
I checked and even a simple project like this one doesn't work:
<?php
$paragraph = "My paragraph is small!";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Simple php project</title>
</head>
<body>
<h1>Simple php project</h1>
<p><?php echo $paragraph; ?></p>
</body>
</html>
So, maybe it's because she checked the private network. On my computer, WampServer has been installed for a long time and I don't remember having to check a box during installation, but it might not have been the same version.
KISSES AND THANK YOU
Don't pay attention to the Wamp project system, just focus on the structure of your directory.
___/\_canarder_/\___
~Waterfox|Palemoon~
___/\_canarder_/\___
~Waterfox|Palemoon~
Hey there,
On my computer, I copy the project into wamp/www and it works.
So far, neither she nor I have had any issues with wampserver.
She got a new computer on which she installed the new wampserver.
Since she has Windows 8.1 on her computer, maybe when we uninstall wampserver to install a different version some settings are retained.
We've been searching for over a week but can't find the cause of the issue.
As a result, she is falling behind in class because she doesn't know how to work.
HUGS AND THANK YOU
On my computer, I copy the project into wamp/www and it works.
So far, neither she nor I have had any issues with wampserver.
She got a new computer on which she installed the new wampserver.
Since she has Windows 8.1 on her computer, maybe when we uninstall wampserver to install a different version some settings are retained.
We've been searching for over a week but can't find the cause of the issue.
As a result, she is falling behind in class because she doesn't know how to work.
HUGS AND THANK YOU
This is not a bug but a recommendation from the Wamp developer to use Apache's virtual hosts. Everything is explained here: http://forum.wampserver.com/read.php?1,124502