Ravin Shah
Ravin Shah

Reputation: 5

Basic PHP program not running in in XAMPP

When I try to running following PHP script in my web browser :

<?php
    phpinfo();
?>

Its showing me following error, which I cannot understand as I am beginner and this error makes no sense.

Notice: Undefined index: HTTPS in /Applications/XAMPP/xamppfiles/htdocs/xampp/test.php on line 1

P.S. I am using XAMPP on MAC OS X machine. And, executing script via this URL http://localhost/xampp/test.php

Upvotes: 1

Views: 1343

Answers (1)

ar em
ar em

Reputation: 444

you can put your file on

/Applications/XAMPP/htdocs/test.php

and run it

http://localhost/test.php

Upvotes: 1

Related Questions