Professional Documents
Culture Documents
file:///C/Users/masut/Downloads/Programs/sua - Rea - TXT (1/8/2022 8:02:05 AM)
file:///C/Users/masut/Downloads/Programs/sua - Rea - TXT (1/8/2022 8:02:05 AM)
---------------------------------------------------------------
* ATTENTION!!!!
For trouble with the mysql connection (via mysqlnd API in php) see also the startpage:
http://localhost/xampp/index.php
* QUICK INSTALLATION:
[NOTE: Unpack the package to your USB stick or a partition of your choice.
There it must be on the highest level like E:\ or W:\. It will
build E:\xampp or W:\xampp or something like this. Please do not use the "setup_xampp.bat" for an USB stick
installation!]
Step 1: Unpack the package into a directory of your choice. Please start the
"setup_xampp.bat" and beginning the installation. Note: XAMPP makes no entries in the windows registry and no
settings for the system variables.
Step 3: Start your browser and type http://127.0.0.1 or http://localhost in the location bar. You should see our pre-made
start page with certain examples and test screens.
Step 4: PHP (with mod_php, as *.php, *.php3, *.php4, *.php5, *.phtml), Perl by default with *.cgi, SSI with *.shtml are
all located in => C:\xampp\htdocs\.
Examples:
- C:\xampp\htdocs\test.php => http://localhost/test.php
- C:\xampp\htdocs\myhome\test.php => http://localhost/myhome/test.php
---------------------------------------------------------------
There are three ways to work with the PHP Mail function.
1) With XAMPP mailToDisk every mail sending via the PHP mail() function will written in the <xampp>\mailoutput
folder. MailToDisk is the default you do not have to change the php.ini. And please do not use mailToDisk for
production!
2) With fakemail (sendmail.exe) you will send all mail() to your personal mail account. Therefore you have to edit the
<xampp>\sendmail\sendmail.ini first. Then please activate fakemail (sendamil.exe) in the php.ini and comment out the
mailToDisk line.
3) You can use a SMTP Server like the Mercury Mail Server alternate. Therefore comment out all sendmail_path lines
in the php.ini. Now use the -> SMTP = localhost und -> smtp_port = 25 lines of course with your values in the php.ini.
---------------------------------------------------------------
* PASSWORDS:
1) MySQL:
User: root
Password:
(means no password!)
2) FileZilla FTP:
3) Mercury:
TestUser: newuser
Password: wampp
4) WEBDAV:
User: xampp-dav-unsecure
Password: ppmax2011
---------------------------------------------------------------
- \xampp\apache\apache_installservice.bat
===> Install Apache 2 as service
- \xampp\apache\apache_uninstallservice.bat
===> Uninstall Apache 2 as service
- \xampp\mysql\mysql_installservice.bat
===> Install MySQL as service
- \xampp\mysql\mysql_uninstallservice.bat
===> Uninstall MySQL as service
----------------------------------------------------------------
To fix most of the security weaknesses simply call the following URL:
http://localhost/security/
The root password for MySQL and phpMyAdmin, and also a XAMPP directory protection can being established here.
* NOTE: Some example sites can only access by the local systems, means over localhost.
---------------------------------------------------------------
* MYSQL NOTES:
(1) The MySQL server can be started by double-clicking (executing) mysql_start.bat. This file can be found in the same
folder you installed XAMPP in, most likely this will be C:\xampp\.
The exact path to this file is X:\xampp\mysql_start.bat, where "X" indicates the letter of the drive you unpacked
XAMPP into. This batch file starts the MySQL server in console mode. The first intialization might take a few minutes.
Do not close the DOS window or you'll crash the server! To stop the server, please use mysql_stop.bat, which is located
in the same directory. Or use the fine XAMPP Control Panel with double-click on "xampp-control.exe" for all these
things!
(2) To use MySQL as Service for NT / 2000 / XP, simply copy the "my.ini" file to "C:\my.ini". Please note that this file
has to be placed in C:\ (root), other locations are not permitted. Then execute the "mysql_installservice.bat" in the mysql
folder.
(3) MySQL starts with standard values for the user id and the password. The preset user id is "root", the password is ""
(= no password). To access MySQL via PHP with the preset values, you'll have to use the following syntax:
If you want to set a password for MySQL access, please use of MySQL Admin.
To set the passwort "secret" for the user "root", type the following:
After changing the password you'll have to reconfigure phpMyAdmin to use the new password, otherwise it won't be
able to access the databases. To do that, open the file config.inc.php in \xampp\phpmyadmin\ and edit the following
lines:
So first the 'root' password is queried by the MySQL server, before phpMyAdmin may access.
---------------------------------------------------------------