I have installed correctly php and xampp with pamac, but I open the index.php file with vscode and liveserver with path to php and to php.ini file. How can I declare my site as a virtualhost and open it correctly?
Put the php file into htdocs
of xampp and open it like that? http://127.0.0.1/index.php
Maybe a real LAMP helps also: [HowTo] Install Apache, MariaDB (Mysql), PHP (LAMP)
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.