readme_en | Superuser | Php

###### ApacheFriends XAMPP Version 1.8.1 ###### Important!

PHP in this package needs the Microsoft Visual C++ 2008 Redistributab le package from http://www.microsoft.com/en-us/download/details.aspx?id=5582. Please ensure that the VC++ 2008 runtime libraries are installed on your system. Apache 2.4.3 MySQL 5.5.27 (Community Server) PHP 5.4.7 (VC9 X86 32bit thread safe) + PEAR phpMyAdmin 3.5.2.2 OpenSSL 1.0.1c ADOdb 5.17 Mercury Mail Transport System v4.62 (not included in the portable version) FileZilla FTP Server 0.9.41 (not included in the portable version) Webalizer 2.23-04 (not included in the portable version) Strawberry Perl 5.16.1.1 Portable Tomcat 7.0.30 XAMPP Control Panel Version 3.1.0 by hackattack142 (Great Thanks!!)) See: http://www.apachefriends.org/f/viewtopic.php?f=16&t=46743 + XAMPP Security + XAMPP mailToDisk 1.0 (write emails via PHP on local disk in <xampp>\mailoutp ut. Activated in the php.ini as mail default.) --------------------------------------------------------------* System Requirements: + 64 MB RAM (RECOMMENDED) + 750 MB free fixed disk + Windows 2003, XP (RECOMMENDED), VISTA, Windows 7 --------------------------------------------------------------* ATTENTION!!!! For trouble with the mysql connection (via mysqlnd API in php) see also the star tpage: 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 i n the windows registry and no settings for the system variables. Step 2: If installation ends successfully, start the Apache 2 with "apache_start".bat", MySQL with "mysql_start".bat". Stop the MySQL Server with " mysql_stop.bat". For shutdown the Apache HTTPD, only close the Apache Command (C MD). Or use the fine XAMPP Control Panel with double-click on "xampp-control.exe "! 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 + + + + + + + + + + + +

ini and comment out the mail ToDisk line. *. Now use the -> SMTP = localho st und -> smtp_port = 25 lines of course with your values in the php.ini.php4. Therefore you have to edit the <xampp>\sendmail\sendmail.shtml are all located in => C:\xampp\htdocs\.start page with certain examples and test screens.php => http://localhost/myhome/test. C:\sendmail) and use this for sendmail_path.ini. *. In this case plea se copy the sendmail or mailtodisk folder in your root folder (e.C:\xampp\htdocs\test.phtml).php => http://localhost/test.php Step 5: XAMPP UNINSTALL? Simply remove the "xampp" Directory.php5. Then please activate fakemail (sendamil. Perl by d efault with *.g. 3) You can use a SMTP Server like the Mercury Mail Server alternate. And please do not use mailToDisk for production! 2) With fakemail (sendmail. --------------------------------------------------------------* PASSWORDS: 1) MySQL: User: root Password: (means no password!) 2) FileZilla FTP: [ You have to create a new user on the FileZilla Interface ] 3) Mercury: Postmaster: postmaster (postmaster@localhost) Administrator: Admin (admin@localhost) TestUser: newuser Password: wampp 4) WEBDAV: User: xampp-dav-unsecure Password: ppmax2011 . SSI with *. Step 4: PHP (with mod_php.cgi.php . *. 1) With XAMPP mailToDisk every mail sending via the PHP mail() function will wri tten in the <xampp>\mailoutput folder. c:\progr am files\xampp) fakemail and mailtodisk do not work correctly. *.ini. But before please shutdown the apache and mysql.php. as *.exe) you will send all mail() to your personal mail a ccount. Therefore c omment out all sendmail_path lines in the php. MailToDisk is the default you do not have to change the php.exe) in the php.g. Examples: . --------------------------------------------------------------* PHP MAIL FUNCTION: There are three ways to work with the PHP Mail function.ini first.C:\xampp\htdocs\myhome\test.php3. Attention : If XAMPP is installed in a base directory with spaces (e.

/ installations of services. Examples are accessible via network.bat. To fix most of the security weaknesses simply call the following URL: http://localhost/security/ The root password for MySQL and phpMyAdmin.\xampp\apache\apache_uninstallservice.--------------------------------------------------------------* ONLY FOR NT SYSTEMS! (NT4 | Windows 2000 | Windows XP): . means over loca lhost. This file can be found in the same folder you installed XAMPP in. The first intialization might take a few minutes. most likel y this will be C:\xampp\. * NOTE: Some example sites can only access by the local systems.\xampp\mysql\mysql_installservice.ini" file to . This batch file starts the MySQL s erver in console mode.\xampp\mysql\mysql_uninstallservice. simply copy the "my. plea se use mysql_stop.bat ===> Uninstall Apache 2 as service . Do not close the DOS window or you'll crash the server! To stop the server.bat ===> Uninstall MySQL as service ==> After all un. and also a XAMPP directory protectio n can being established here.b at. The MySQL daemon is accessible via network.bat ===> Install Apache 2 as service . where "X" indicates the letter of the drive you unpacked XAMPP into.bat ===> Install MySQL as service .bat. better restart system! ---------------------------------------------------------------A matter of security (A MUST READ!) As mentioned before. XAMPP is not meant for production use but only for develope rs in a development environment. The exact path to this file is X:\xampp\mysql_start. which is located in the same directory. phpMyAdmin is accessible via network.exe" for all these things ! (2) To use MySQL as Service for NT / 2000 / XP. Or use the fine X AMPP Control Panel with double-click on "xampp-control.\xampp\apache\apache_installservice. For development environ ments this is great but in a production environment it could be fatal. The way XAMPP is configured is to be open as po ssible and allowing the developer anything he/she wants. Here a li st of missing security in XAMPP: The MySQL administrator (root) has no password. --------------------------------------------------------------* MYSQL NOTES: (1) The MySQL server can be started by double-clicking (executing) mysql_start.

exe -u root -p secret After changing the password you'll have to reconfigure phpMyAdmin to use the new password. If you want to set a password for MySQL access. To access MySQL via PH P with the preset values."C:\my.ini". // MySQL User // HTTP authentificat . Then execute the "mysql_installservice. "root". (3) MySQL starts with standard values for the user id and the password. you'll have to use the following syntax: mysql_connect("localhost". please use of MySQL Admin. before phpMyAdmin m ay access. other l ocations are not permitted. "").inc. To do that. type the following: C:\xampp\mysql\bin\mysqladmin. To set the passwort "secret" for the user "root". Please note that this file has to be placed in C:\ (root). the password is "" (= no password). otherwise it won't be able to access the databases. The pres et user id is "root". = 'http'. open the file config.bat" in the m ysql folder. --------------------------------------------------------------Have a lot of fun! | Viel Spaß! | Bonne Chance! = 'root'.php in \xampp\phpmyadmin\ and edit the following lines: $cfg['Servers'][$i]['user'] $cfg['Servers'][$i]['auth_type'] ion So first the 'root' password is queried by the MySQL server.

Sign up to vote on this title
UsefulNot useful