. Otherwise, the program will run incorrectly.
// If the iis log file is too large, the program may Time out! We do not recommend that you use it!
The following is the PHP source code:
[Code]
/*
Cowboy IIS log spider crawling log analyzer V1.1 (
protected] ~]# chkconfig--levels 235 httpd onAfter configuration, start Apache:[[email protected] ~]#/etc/init.d/httpd startNow that you have access to your server, you can see the test page "Apache 2 test page powered by CentOS", without any surprises. Note that if the other machine accesses the service and cannot display this page, it can be accessed directly on this server, which is normally forbidden b
Linux apache + mysql + php development environment pure source code compilation and setup record all the processes of the apache + mysql + php development environment compiled by source code under fedoracore1
Generally, installing a server with rpm is the most convenient. you can easily obtain the desired environment
; mysqladmin ping
Mysqld is alive
C: mysqlin> mysqlshow
+ ----------- +
| Databases |
+ ----------- +
| Mysql |
| Test |
+ ----------- +
The above is normal!
Enter mysql to log on!
C: mysqlin> mysql-u root-p
Welcome to the MySQL monitor. Commands end with; or g.
Your MySQL connection id is 8 to server version: 3.23.21-beta-debug
Type help for help.
Mysql>
Remember to run mysqld before logging on. Otherwise, the following error occurs:
Cant connect
Objective:
Combining Apache and Tomcat enables both Java Engineering and PHP engineering to share 80 ports, and when you visit a Web site, you don't need to add a port number to the address bar.
Environment Description:
Linux CentOS 32-bit
Apache 2.2.2
Tomcat 7.0.37
preparatory work:
Download mod_jk.so
http://archive.apache.org/dist/tomcat/tomcat-connector
, enter command: sudo vim/etc/apache2/httpd.conf
Find the following two places DocumentRoot "/library/webserver/documents"
Replace the directories in quotation marks in two places with a custom directory
After completing the three steps above, restart Apache, copy the previously created index.php file to the custom directory, then enter localhost in the browser, and if a PHP info page appears
PHP and Nginx Integration
PHP-FPM is also a third-party fastcgi process manager, which is developed as a patch in PHP, also need to compile with the PHP source code when installing, that is to say, PHP-FPM is compiled into the PHP
PHP Learning Server--apache Server detailed
Iis servers : Primarily for Microsoft, based on Internet basic services running Microsoft Windows
Lighttpd Server: open source software, for high-performance, bottom memory overhead, CPU footprint, maturity is not enough
Introduction to Apache Server
1, grasping the package software: Httpwatch.rar, understands sends
default, such as in the error log file Error.log of the Apache server. Of course, the error log can be logged to the specified file or sent to Syslog, respectively, described as follows:1. Log error reports using the specified fileUse the specified file to record the error report
Two servers required firstA server-installed Apache+php+php-mysql websiteb Server Install MySQLa server uses Yum to install Apache and PHP+php----b server yum install MySQL // Install database service MySQL restart/ / Restart da
For PHP developers, once a product has been put into use, the display_errors option should be turned off immediately to avoid hacking attacks for information such as the path, database connection, data sheet, etc. that were revealed by these errors. However, after any product is put into use, will inevitably have errors, then how to record some of the developers useful error reports?
We can use error reporting as a
installation directory where apache is located, hit the directory htdocs to which it points, then write an index. the PHP file content is When the installation is complete, many components are not enabled. Next we can enable common components (remove the semicolon ):
Extension = php_bz2.dllExtension = php_gd2.dll; gd libraryExtension = php_mysql.dllExtension = php_mysqli.dllExtension = php_pdo_mysql.dll
Mavericks with the previous OSX like the apache2.2.24 and php5.4.17, but by default, does not open the terminalsudo apachectl startWhen you enter localhost in the browser, the Apache standard it works! should appear.Open PHP below to modify Apache configuration filesudo vim/etc/apache2/httpd.confFound it#LoadModule php5_module libexec/apache2/libphp5.so, get rid
Label:I want to install WinXP and Linux on VM VMs and then Mount Apache+php+ftp+mysql on a Linux machine, here's my reload process:1 : Connect virtual machine : Two virtual machines are selected Host-onl, view host VirtualBox host-only Network IP address is 192.168.56.1, then I let Linux, WindowsXP all let 192.168.56.2,192.168.56.3 for the URL,You can then ping each of the two virtual machines in the follow
. php Action php-fastcgi/fcgi-bin/php-cgiAddType application/x-httpd-php. phpFinally, configure nginx to implement reverse proxy. Here we will focus on configuring the server.
Server {listen 80; server_name localhost; access_log/var/log/nginx/access.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.