PHP study notes (1) ---- Establishment of the operating environment [original]

xiaoxiao2021-03-06  109

Hey, I saw the simpleness of PHP, I can't stand the temptation, I decided to start learning PHP. First of all, of course, let the machine can run the PHP file on the machine. From the Internet, PHP-5.0.1-Win32.zip, unzipped to G: / PHP5 (I installed dual system, Win2003 is installed in the G disk, so I decompressed to the G disk). Next, the php.ini-distth to the G: / PHP5 directory is renamed for php.ini, not any modification, copy to g: / windows (that is, the system directory), copy PHP5TS.DLL to G: / Window / System32 (the directory where the system file is located). Next, run to IIS, find the default website, by the property-> home directory -> application settings -> configuration, add an extension map in the application extension: extension is PHP, the executable g: / php5/php5isapi.dll, the action is all action, then click OK. Also add a new web service extension in the IIS's Web service extension, extension is PHP, requiring the file as g: / php5/php5isapi.dll, then click OK. Write the test.php of the test, stored in the root directory of the default website, the content is: Finally, enter http://localhost/test.php in the browser, you can see the result. . Since it is the first time to write something about PHP, some places are not considered, and then let go.

转载请注明原文地址:https://www.9cbs.com/read-97350.html

New Post(0)