In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article shows you how to install PHP5 configuration under Windows, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
PHP is developing rapidly, and the emergence of PHP5 makes it more powerful. Let's teach you about PHP5 configuration. PHP5 includes the following important features:
◆ supports the new object model and many new features of the Zend engine.
◆ has completely rewritten XML support, extending performance around the excellent libxml2 library (http://www.xmlsoft.org/)).
◆ 's new SimpleXML extension makes PHP objects easy to access.
◆ 's new built-in SOAP extension supports the exchange of Web services.
◆ adds an extension of MySQL named MySQLi to support MySQL4.1 and later versions of the functionality.
◆ binds the SQLite database.
◆ greatly improves the design of streams, including manipulating the underlying socket through streams
Install PHP5 configuration under Windows system
First, click here to download PHP5 FOR win32, and then let's get started. Take the PHP for Apache as CGI binary approach as an example, I like it this way. Take the installation directory c:php as an example; delete the original php installation directory and extract php-5.0.0-Win32.zip to c:php. Rename php.ini-dist to php.ini (like php4) and modify Apache's httpd.conf file. Delete the original statements bound to php4.
Replace it with the following lines:
ScriptAlias / php/ "c:/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "/ php/php-cgi.exe"
To modify the php.ini, remove the ";" before the extension=php_mysql.dll. There is one by default!
If it's PHP for Apache as module, it's the same. Modify the httpd.conf of Apache
LoadModule php5_module c:/php/php5apache.dll AddModule mod_php5.c AddType application/x-httpd-php .php
However, in this way, you have to copy all the dll files to the windows system directory, php.ini and php.exe to the windows system directory.
I have tried both of these ways. Any program written by php4 can run!
It is easy to write PHP static pages
Easy to master how to use PHP Session
Summarize the classification and use of PHP operators
Easy to master the syntax and usage techniques of PHP logical operators
How to determine the precedence of PHP operators
For apache2 settings:
Do not AddModule mod_php5.c,LoadModule php5_module c:/php/php5apache2.dll, it is php5apache2.dll, you need to copy the dll file in the php directory (the following files do not need to be copied: php5activescript.dll, php5apache.dll, php5apache_hooks.dll, php5apache2.dll, php5isapi.dll, php5nsapi.dll) to the directory mentioned above (98, me is system). The above are the PHP5.0 configuration steps, I hope it will be helpful to you.
The above is what it is like to install PHP5 configuration under Windows. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.