Cum instalez Xampp+ cum il securizezi
4Metin2 :: Cabal-Online :: Tutoriale :: site
Pagina 1 din 1
Cum instalez Xampp+ cum il securizezi
Pentru a instala CabalWeb Trebuie sa folosesti XAMPP (cu excepţia cazului în care doriţi să instalaţi Zend Optimizer manual de pe alte servere ca EasyPHP, Apache şi aşa, eu prefer XAMPP atât de acest ghid se bazează pe XAMPP)
* Click ->> http://www.softpedia.com/get/Internet/Servers/Server-Tools/XAMPP.shtml <<- Pentru a descărca XAMPP
* După ce aţi descărcat XAMPP apoi instalaţi-l. Instalaţi-l la: (C: \\ XAMPP) - ca implicit.
* Acum, du-te la folderul XAMPP (C: \\ XAMPP), apoi veţi vedea un folder numit htdocs acolo, faceţi dublu clic pe ea şi ştergeţi toate fişierele cu excepţia cazului în folderele de "contrib, forbidden, xampp, restirected" <- Acestea sunt nume de folder , Nu le stergeti.
Apache ce trebuie modificate :
Enable MOD REWRITE - Go to (c:\xampp\apache\conf\httpd.conf) , open it, find #LoadModule rewrite_module modules/mod_rewrite.so, delete # from the front save and restart the webserver.
GD Image Library - Can be enabled from (c:\xampp\apache\bin\php.ini, search for ;extension=php_gd2.dll, delete ; from the front close document and save
Zend Optimizer - Can be enabled from php.ini (in xampp\apache\bin\php.ini), search for zend.ze1_compatibility_mode = Off, change Off to On (that means delete "Off" and write "On")
Search zend_optimizer.enable_loader = 0, change 0 to 1, close document and save. (Can be enabled from php.ini (in c:\xampp\apache\bin\php.ini)
Zlib - Can be enabled from (c:\xampp\apache\bin\php.ini), search for ;extension=php_zlib_filter.dll, delete ; from the front close document and save.
Mssql - Can be enabled from (c:\xampp\apache\bin\php.ini), search for ;extension=php_mssql.dll, delete ; from the front close document and save.
Cum Sa Securizezi Xammp:
Go to:
When you are there you will see a text like this:
=> http://localhost/security/xamppsecurity.php <= [allowed only for localhost]
Enter there.
Now you will see a new page.. Input your password at the MySQL Section.
After you are done click at the valid button.
(Your SQL server is safe now, it cant get hacked by the security folder anymore!)
Under the MySQL Section will you also see "XAMPP Directory PROTECTION (.htaccess)
Enter the user and password you want
(write this down somewhere because you will need this to login to the security page again.
(This will block peoples to enter the security page - so the peoples with the correct username and password can get into the security page ONLY
Now go to (c:\xampp\apache\bin) and open php.ini and search for: safe_mode = Off
Delete Off and write On there.
Now will your PHP run in a safe mode.
Si asa ar trebuii sa arate :
https://2img.net/r/ihimizer/img361/3435/tip1uj5.jpg
Credist : RageZone , tradus de mine , iar cuvintele care le-am lasat in engleza am hotarat ca e mai bine asa , e mai usor de inteles
* Click ->> http://www.softpedia.com/get/Internet/Servers/Server-Tools/XAMPP.shtml <<- Pentru a descărca XAMPP
* După ce aţi descărcat XAMPP apoi instalaţi-l. Instalaţi-l la: (C: \\ XAMPP) - ca implicit.
* Acum, du-te la folderul XAMPP (C: \\ XAMPP), apoi veţi vedea un folder numit htdocs acolo, faceţi dublu clic pe ea şi ştergeţi toate fişierele cu excepţia cazului în folderele de "contrib, forbidden, xampp, restirected" <- Acestea sunt nume de folder , Nu le stergeti.
Apache ce trebuie modificate :
Enable MOD REWRITE - Go to (c:\xampp\apache\conf\httpd.conf) , open it, find #LoadModule rewrite_module modules/mod_rewrite.so, delete # from the front save and restart the webserver.
GD Image Library - Can be enabled from (c:\xampp\apache\bin\php.ini, search for ;extension=php_gd2.dll, delete ; from the front close document and save
Zend Optimizer - Can be enabled from php.ini (in xampp\apache\bin\php.ini), search for zend.ze1_compatibility_mode = Off, change Off to On (that means delete "Off" and write "On")
Search zend_optimizer.enable_loader = 0, change 0 to 1, close document and save. (Can be enabled from php.ini (in c:\xampp\apache\bin\php.ini)
Zlib - Can be enabled from (c:\xampp\apache\bin\php.ini), search for ;extension=php_zlib_filter.dll, delete ; from the front close document and save.
Mssql - Can be enabled from (c:\xampp\apache\bin\php.ini), search for ;extension=php_mssql.dll, delete ; from the front close document and save.
Cum Sa Securizezi Xammp:
Go to:
When you are there you will see a text like this:
=> http://localhost/security/xamppsecurity.php <= [allowed only for localhost]
Enter there.
Now you will see a new page.. Input your password at the MySQL Section.
After you are done click at the valid button.
(Your SQL server is safe now, it cant get hacked by the security folder anymore!)
Under the MySQL Section will you also see "XAMPP Directory PROTECTION (.htaccess)
Enter the user and password you want
(write this down somewhere because you will need this to login to the security page again.
(This will block peoples to enter the security page - so the peoples with the correct username and password can get into the security page ONLY
Now go to (c:\xampp\apache\bin) and open php.ini and search for: safe_mode = Off
Delete Off and write On there.
Now will your PHP run in a safe mode.
Si asa ar trebuii sa arate :
https://2img.net/r/ihimizer/img361/3435/tip1uj5.jpg
Credist : RageZone , tradus de mine , iar cuvintele care le-am lasat in engleza am hotarat ca e mai bine asa , e mai usor de inteles
4Metin2 :: Cabal-Online :: Tutoriale :: site
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum