tailieunhanh - Securing and Optimizing Linux RedHat Edition phần 9

chúng ta phải thử nghiệm các tính năng mới PHP4 để chắc chắn nó làm việc. Chúng tôi sẽ tạo một file PHP nhỏ có tên "" trong DocumentRoot của chúng tôi, và sau đó điểm broswer web của chúng tôi để tài liệu này để xem PHP4 PHP làm việc | Server Software Web Network Services CHAPTER 1 9 Step 2 You must restart the Apache web server for the changes to take effect To restart Apache use the following commands root@deep etc httpd restart Shutting down http OK Starting httpd OK Step 3 Once the above lines have been included in our file we must test the new PHP4 feature to be sure it s working. We ll create a small PHP file named in our DocumentRoot and then point our web broswer to this PHP document to see if PHP4 work on the server. Create the file in your DocumentRoot touch home httpd ona and add the following lines in the PHP file body bgcolor FFFFFF php phpinfo body NOTE These lines will inform PHP4 program to display various pieces of information about the configuration of our Linux server. Step 4 Now point your web browser to the following address http my-web-server The my-web-server is the address where your Apache web server lives and is the PHP document we have created above to display the information and configuration of our Linux server. 386 Copyright 1999 - 2000 Gerhard Mourani Open Network Architecture and OpenDocs Publishing Server Software Web Network Services CHAPTER 1 9 If you see something like the above page appearing in your web browser. congratulations Your PHP module is working. Perl module Devel Symdump If you intend to use the mod_perl programming language support with your Apache web server it can be interesting to install the small perl module program named Devel Symdump . This third party module will allow you to inspect perl s symbol table and the class hierarchies within a running program. To build and install it follow these steps. Packages Devel-Symdump Homepage http CPAN modules by-module Devel You must be sure to download Devel-Symdump version number is root@deep cp var tmp root@deep cd var tmp root@deep tmp tar xzpf .

TỪ KHÓA LIÊN QUAN