Jump to content
thirty bees forum
  • 0

Reinstalled XAMMP to update to PHP 7.3, localhost now blank


Steve

Question

9 answers to this question

Recommended Posts

  • 0

I'm finding this in an error.log:

``` [ssl:warn] [pid 11468:tid 672] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

[ssl:warn] [pid 11468:tid 672] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name ```

Link to comment
Share on other sites

  • 0

I have this in my hosts file:

```

localhost name resolution is handled within DNS itself.

127.0.0.1 localhost

::1 localhost

127.0.0.4 webshop

```

And this in my C:\xampp\apache\conf\extra directory:

```

##ServerAdmin webmaster@dummy-host.example.com
##DocumentRoot "C:/xampp/htdocs"
##ServerName webshop
##ServerAlias webshop
##ErrorLog "logs/dummy-host.example.com-error.log"
##CustomLog "logs/dummy-host.example.com-access.log" common

##ServerAdmin webmaster@dummy-host2.example.com
##DocumentRoot "C:/xampp/htdocs/dummy-host2.example.com"
##ServerName dummy-host2.example.com
##ErrorLog "logs/dummy-host2.example.com-error.log"
##CustomLog "logs/dummy-host2.example.com-access.log" common

``` I have no idea what to exactly change though, php 5.6 was different if I remember correctly.

Link to comment
Share on other sites

  • 0

It's fixed: DocumentRoot should be "C:/xammp/htdocs/webshop". And the lines were comments.

Last question:

I see these errors now: on top of my webpage:

``` Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\xampp\htdocs\webshop\classes\Tools.php on line 5278

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in C:\xampp\htdocs\webshop\vendor\smarty\smarty\libs\sysplugins\smartyinternalcompilebase.php on line 75 ```

Can I ingore those or should I fix them?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...