i am new to xampp. i just moved a small php project from cpanel to xampp for some updates. Now this way of referring files are no longer working in xampp. Please help me to find a fix without having to edit this in many many places.
cpanel
require_once(“/includes/pdo_connection.php”);
xampp
require_once(“includes/pdo_connection.php”);
now i have to fix like this in many of the places. i have no idea how do i manage it manually. please help an easy way.
i ll look in to both options. and i also just found for the first time that there is search and replace local files option too in notepad ++ which might help if i were to adjust the links.
also ill check the option for modifying the configuraiton file as stated in the last reply.
after some reading on relative paths, i am now just doing a seach and replace of all
paths to relative paths using notepad ++ search and replace in files option.