3/10/2024 0 Comments Xampp linux install directoryThe installation of XAMPP on Ubuntu 20.0422.04 should start. Make sure you have free space in /opt mount directory. In my case, I have saved my file inside the php-examples folder so, I will put this folder name before the file name. Agree to the default installation directory. So to run the above-saved file you will need to open your browser then just type. PHP scripts always run into a web browser. In my case, I am going to save it with the name index.php.ĭependent Dropdown Selection Filter in PHP Using jQuery and Ajax How to Execute PHP Scripts.In my case, I am going to save it inside a new folder named php-examples inside the htdocs.So, save your PHP scripts in the htdocs folder. PHP scripts always required to save inside its installation directory.Paste the above code inside the C:\xampp\htdocs.I recommend you to choose some advanced editor apart from Notepad and Notepad++.ĭownload some advanced editor which supports the plugins and library of multiple languages like Sublime, Atom, PHP Storm, VS Code, etc. I would love to help □ Don’t forget me if you find any bug.For creating a PHP file you will need a text editor in which you will write the PHP scripts. htdocs = workspace where you create your web projects (always make a new directory for each project with in this folder).įeel free to comment below if you have any suggestions or issue with getting started.myFirstProject = Your Project Directory.Viola! You just created your first php page! Remember the following things. Now type the following url in your browser “ You will be able to see something like: Save this as “ myPage.php” in “…/ XAMPP /htdocs /myFirstProject /” folder. Open an editor and write the following code Create a new folder and call it “ myFirstProject” (or whatever you like). Locate the directory where you installed your XAMPP application. It has been reported that the MYSQL database of xampp 1.7.4 does not work with Joomla 1.5.22 This installs. Okay so here is the most interesting step. Open Terminal and enter: sudo tar xvfz xampp-linux-1.7.7.tar.gz -C /opt (replace xampp-linux-1.7.7.tar.gz with the version of xampp you downloaded). Dreamweaver is a lot more than an editor and has some extra nice features but it’s not free. ![]() Notepad++ is the simplest (my first editor). Sublime has pretty nice interface and is quiet efficient. It’s totally up to you to decide which editor to download. Step 4: Download an Editor/IDE to code your programs:. ![]() This means your services are running successfully and now you may start web application development in PHP – MySQL. Now open your browser (IExplorer/Chrome/Firefox… etc) and type in “ You will see XAMPP logo or home page. Quit all the applications like Hamachi, Skype and any other network service. Start the service again. ![]() If you are not able to start it and the server shows “busy” status, it means that you are already using the port required by MySQL and Apache. Once started successfully, it will show you the status (green means running). Start MySQL as well Apache Services by clicking on the start/run button beside. You will see a control panel for the XAMPP server. (In case of Mac, find it in your applications folder.) Run the XAMPP application by clicking the shortcut on your desktop. Install this application in a separate directory the one you made during download. Check on the MySQL, Apache services and install them all (though not recommended as it may sometimes clash with other network services running on your system) Step 2: Intall XAMPP server:- Xampp Installation.Ĭlick on the application you just downloaded and follow the installation procedure step by step. So as to keep things organised and free from hassel. (In case of windows user,) make sure you download it in separate directory other than the one where you have your windows installed. Pick up the latest XAMPP installation version and download it to your system. I want to keep everything simple and step by step guide for beginners. This is an introductory tutorial where we setup our first PHP-MySQL project using XAMPP. Follow the following steps to get started with web application development without any hassel.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |