Localhost:8090 shows a blank page in Chrome.
NICOLAS3377
Posted messages
52
Registration date
Status
Membre
Last intervention
-
jordane45 Posted messages 30426 Registration date Status Modérateur Last intervention -
jordane45 Posted messages 30426 Registration date Status Modérateur Last intervention -
Hello
I am learning PHP. After installing XAMPP and changing the listening port to 8090, when I created the index.php file, the browser does not display anything when I go to localhost:8090.
Thank you in advance for your help.
Nicolas
I am learning PHP. After installing XAMPP and changing the listening port to 8090, when I created the index.php file, the browser does not display anything when I go to localhost:8090.
Thank you in advance for your help.
Nicolas
1 réponse
Hello,
Where did you create your index file?
Did you create a directory in the htdocs of your XAMPP and then create your file in this directory?
Is your XAMPP running properly?
No error messages (either during the installation of your XAMPP)?
What do the access.log and error.log files from your XAMPP indicate?
Have you tried replacing "localhost" with the IP: 127.0.0.1?
Note: If you accidentally replaced the original index.php file (the one that is created during the installation of XAMPP), you can replace it with this one
Note²: Can you create a "phpinfo.php" file at the root of your site (in the htdocs directory, for example)
and place this in it:
then try to open the page in your browser to see?
http://localhost/phpinfo.php
Best regards,
Jordane
Where did you create your index file?
Did you create a directory in the htdocs of your XAMPP and then create your file in this directory?
Is your XAMPP running properly?
No error messages (either during the installation of your XAMPP)?
What do the access.log and error.log files from your XAMPP indicate?
Have you tried replacing "localhost" with the IP: 127.0.0.1?
Note: If you accidentally replaced the original index.php file (the one that is created during the installation of XAMPP), you can replace it with this one
<?php if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) { $uri = 'https://'; } else { $uri = 'http://'; } $uri .= $_SERVER['HTTP_HOST']; header('Location: '.$uri.'/dashboard/'); exit; ?> Note²: Can you create a "phpinfo.php" file at the root of your site (in the htdocs directory, for example)
and place this in it:
<?php phpinfos(); ?>
then try to open the page in your browser to see?
http://localhost/phpinfo.php
Best regards,
Jordane