Xampp HOT!

0 views
Skip to first unread message

Gunvor Nazarian

unread,
Jan 20, 2024, 9:48:04 PM1/20/24
to glanevucrei

I'm using XAMPP and opening my html file using localhost/filename.html. So both my html document and .js file are in the same directory, in C:/xampp/htdocs. When I open the html file using localhost/filename.html in the browser window, it does not include the changes to the code. It's using the same version of the .js file before I saved the changes. But when I open the html document locally (offline, not running on localhost), the changes to the .js are there.

xampp


DOWNLOADhttps://t.co/PpS5fWKSKa



But at first you have to set/change the MySQL Root password. Start the Apache server and type localhost or 127.0.0.1 in your browser's address bar. If you haven't deleted anything from the htdocs folder the xampp status page appears. Navigate to security settings and change your mysql root password.

(You may run phpinfo.php to know your settings (you can create a simple script file with that name , check for extension_path. It should point to the 'php\ext' folder (that's where mine is)) I set the path in php.ini to c:\xampp\php\ext. You can get to this file from the XAMPP control panel by clicking on CONFIGURE button corresponding to APACHE web server then, select 'php.ini' from the pop list. Search for extension_path and remove the comment directive (';').

XAMPP isn't in PortableApps.com Format, but it easily integrates with the PortableApps.com Menu by using the XAMPP Launcher (linked above) and installing XAMPP in the root directory of your portable device or creating an XAMPP\App\xampp directory within the launcher path and placing it there. The root directory is preferred. You can open the zip/7z archive of the portable version with 7-Zip Portable.

I have migrated an osTicket instance from production server to local environment for testing purposes. R.synced files, dumped database, created virtual server on xampp's Apache, imported database and started local instance. Everything is working just fine except I cannot log in to /scp/login.php on local instance. I get "invalid login" every time, even though my credentials are the same. I have compared production and test database - the password hashes are the same. I am able to log into production without problems but no locally. There are no php errors. The OsTicket version I am using is 1.7-RC6+. Any ideas?

I seem to have solved the problem, but in a strange way, so I will post it here in case this helps others.

I asked my university for help in upgrading my symantec, and they sent me a link to their current symantec download. They claimed it would be the version you all recommended. I uninstalled Symantec and re-installed with the new download. I got exactly the same version, judging by the version number.

However, I stopped getting the warnings, even without defining an exception.

My working hypothesis is that I could have avoided the whole mess if I had turned off symantec temporarily before installing xampp.

Installation for Windows is very simple. You can use the XAMPP installer executable (for example, xampp-windows-x64-7.4.4-0-VC15-installer.exe). Detailed installation instructions for Windows are available here.

For Windows, it is recommended that you install XAMPP in c:\xampp (not in c:\program files). If you do this, your Joomla! (and any other local website folders) will go into the folder c:\xampp\htdocs. (By convention, all web content goes under the htdocs folder.)

If you have multiple HTTP servers (such as IIS) you can change the XAMPP listening port. In xamppDir\apache\conf\httpd.conf, modify the line Listen 80 to Listen [portnumber] (for example: Listen 8080).

Many Mac users have a little difficulty at this stage when trying to set up another instance of Apache on their machine. If you cannot start XAMPP's Apache, you have two options:
Change the listening port of XAMPP. In \Applications\XAMPP\xamppfiles\etc\httpd.conf, modify the Listen 80 line to Listen [portNumber]. For example: Listen 8080

Depending on your security settings, Windows 7 users will probably have a small window open, asking if you want to allow xampp-control.exe to make modifications to your computer. Click Yes to allow Apache or MySQL to start.

Edit the php.ini file, it is located at C:\xampp\php\php.ini. It can be edited with Notepad or a similar program. We recommend Notepad++ to avoid issues with line endings. Append at the end of the file:

After you complete the steps, the package manager will download the package from the specified source, and it will proceed to install the application. The device may restart automatically during this process. The installation will set up the app inside the C:\xampp folder.

Within the installation directory, you'll find a program named Port Check (xampp-portcheck.exe). Double-clicking on this tool will display the status of the ports required for Apache, MySQL, and other software components included with XAMPP. If the essential ports are already occupied, the program will show the names of the services running on those ports.

df19127ead
Reply all
Reply to author
Forward
0 new messages