Home
Home Page
Algorithm of calculation PageRank
Complex Denwer: Apache+PHP+MySQL+Perl for 5 minutes
Protection against automatic registration by means of a picture
PageRank from Google
Effect of smooth transition on JavaScript
Some criteria of a choice of a hosting
Definition of the size of the removed file
Loading of files on FTP
Preloading of pictures
Animation underlining
Kiberskvoting and kiberskvotery
Third type XSS: Mezhsajtovyj skripting through DOM
IPv6: expansion of report IP
Job with SQLite
Transformation of hyperlinks by means of Apache server
Animation Favicon
All about meta tegakh
Beautiful code on PHP
Links
 

Complex Denwer: Apache+PHP+MySQL+Perl for 5 minutes

As a rule, to establish and adjust Apache server, and also to connect to job PHP, databases MySQL and Perl, it is necessary, first to establish each of these programs separately, and second - to adjust a configuration file that all this worked in a complex.


For the newbie installation and adjustment Apache is complex{difficult} enough process, therefore with the purpose of economy of time and convenience of using the server had been developed a so-called complex "Denver", which includes the necessary set of distribution kits used by Web-developers (programmers and designers) for debugging sites by the "domestic" (local) Windows-machine without necessity of Internet connection.


The complex "Denver" will consist of the following elements:


* Apache: carried out files, distributive and adapted configuration files.


* PHP: carried out files, the module for Apache web - server, a distributive and adapted configuration file, library GD - while without support of format GIF.


* MySQL: carried out files, files of error messages in Russian and English, a database mysql.


* The control panel database MySQL - phpMyAdmin, and also a script simplifying addition of new user MySQL.


* Perl: carried out files.


* The emulator sendmail (debugging "zaglushka", putting{folding} coming letters in/tmp); job together with PHP and Perl is supported.


* System of automatic search of virtual hosts and updating of a system file hosts, and also configurations Apache. Due to her addition of a new virtual host (or the domain of the third level) consists in simple creation of the catalogue in/home (see by analogy to already existing hosts) and restart of a complex. All changes are brought in configuration and system files automatically, but you can operate this process by means of the mechanism of patterns of hosts (see/usr/local/apache/conf/httpd.conf behind detailed explanations).



At installation of a package "Denver" the disk which will be is created virtual will be connected at zapuse operational system. All files on this disk rasspolozheny by analogy with Unix system:


*/etc - contains files of start, a suspension and a stop of the server.


*/home - actually all hosts of the server. For addition of a virtual host (domain) it is necessary to create simply the catalogue in the given folder with the necessary name.


*/tmp - in particular, the letters sent through Apache the server here are stored{kept}.


*/usr - all established programs of a complex, and also a file of a configuration of the server.