The following text is written by the younger brother because he has seen a lot of such titles on the forum recently. please give me some advice !!! In the common titles on this site, you have answers to some excess information about how to discard PHP4, however, strictly speaking, this information is divided into two parts. The text below is because the younger brother has seen many topics related to this type on the forum recently. please kindly advise !!!
Some excess information about how to remove PHP4 has been answered in the common titles on this site, but strictly speaking, this information is divided into two parts: one part indicates the message that PHP is running, is what X-POWERED-BY and so on; there is a part of the file's default content of the situation text/html. The answers in the common titles solve the first part of the title (as long as the corresponding line is added), but the forum is more about the next part of the title, I would like to discuss this title.
The first thing to be famous for is that this situation is likely to appear when PHP runs using CGI methods, so the younger brother thinks that most of them are WIN32 Platform errors.
First, the most challenging solution is to comment out all the expansion modules, that is, in php. ini will be those about the database, graphics, MAIL and other expansion modules are not loaded, part of the php. the INI file is similar to the following:
Windows Extensions
; Extension = php_mysql.dll
; Extension = php_nsmail.dll
; Extension = php_calendar.dll
; Extension = php_dbase.dll
; Extension = php_filepro.dll
; Extension = php_gd.dll
; Extension = php_dbm.dll
; Extension = php_mssql.dll
; Extension = php_zlib.dll
; Extension = php_filepro.dll
; Extension = php_imap4r2.dll
; Extension = php_ldap.dll
; Extension = php_crypt.dll
; Extension = php_msql2.dll
; Extension = php_odbc.dll
What if we need these modules? Younger brother, my solution is to dynamically load the corresponding page, that is, dl (). I used to think about the function. now, haha... If you have any good measures, you can post them and share them with you!
The second solution is to use the-q parameter of PHP. according to PHP, "Suppress HTTP Header Output" is used to disable HTTP Header Output. This is a hundred times, but none of your header () and setcookie () are useless-Hey, your PHP is basically scrapped. Therefore, this is just a Failover Solution.
Well, let's talk about this. we should be able to solve the above headers of PHP running using CGI methods. The above materials combine the relevant PHP section of www.faqts.com-the place can have top-level question points. there are often PHP/ZEND writers and some PHP book authors to answer your title, great !!!