Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DocumentRoot "C:\xampp\htdocs\HTTP"

PORT:

Iz datoteke C:\xampp\apache\conf\httpd.conf izbriši vrstici:

Listen 80
ServerName localhost:80

Port na katerem deluje server lahko spremeniš v: (pazi, da uporabiš porte, ki so prosti)

C:\xampp\apache\conf\httpd.conf

...

<VirtualHost *:8090>
DocumentRoot "C:\xampp\htdocs\HTTP\stranka2"
</VirtualHost>

Image RemovedImage Added

SERVICE:

Da je apache nameščen kot service se nastavi tako da xamp odpreš kot admin in klikneš na ikono:

...

Če se apache zaganja na portu 443 v "\apache\conf\extra" v datoteki http-ssl.conf zakomentiraš Listen 443 (VIR:https://superuser.com/questions/374279/stopping-apache-from-listening-in-port-443)

Pod windows services se še preveri, da je startup type “Automatic”

...

pri meni se php.ini nahaja na:

C:\xampp\php\php.ini

nekam v ini file dodaš spodnjo vrstico:

...

C:\xampp\htdocs\

View file
nameindex.php
View file
name.htaccess
View file
nameendpoints(run as admin).bat
View file
nameDBconnect.php
View file
nameindex.php

Zaženemo “endpoints(run as admin).bat“, prilagodimo DBConnect.php in testiramo tako v brskalniku kličemo url, navodila:

Nakoncu mapa izgleda nekako takole:
Contract prices SHOPAMINE

...

Seveda je treba urediti še DBconnect.php

(port se piše z vejico ala ip,port)

...


/wiki/spaces/DeveloperWebStore/pages/1594621953