Configure the latest PHP plus mysql server
Author: REISTLIN Time: 2004-2-13 Document Type: Original from: Blue ideal view statistics year: 19297 | Quarter: 6086 | Month: 1887 | Week: 182 | today: 68
I believe that everyone should be very familiar with the PHP MySQL server through Google.com and classic N, I have been bored recently. So I went to www.skycn.net downloaded the latest MySQL 5.0 and PHP 5.0 through an hour of research and setting. Achieve the latest PHP 5.0 mysql 5.0 win2003. Individuals believe that there is still a need to write a tutorial. Because many aspects and old versions are not the same. To tell the truth, you will also have a lot of official documentation to solve a lot of weird problems. = ============================================================================================================================== Server 2003 ========================= first install mysql. Originally thought that the new version of the installation interface should feel outlined. But still only see the old earth Dolphin. In addition to the installation time ratio 4.0 long. Of course, it is much larger than the 5.0 ratio. It is recommended to be installed on a separate NTFS partition. For example my server's F disc. Play the server software. Path is: f: / mysql / Then enter the f: / mysql / bin / mouse double point WinMysqladmin.exe first run prompt to enter the superuser and password. Enter the root password root Caution. If you are the external server, set the super complex. For example, Wjwsfjn29szjWh ~ mysql translate is: My name is Wei Shufen. I am 29 years old. I am unmarried.: D is here. Mysql is installed. If you don't understand, please refer to the related articles of deep space. ============================================================================================================================================================================ ======== The following installation php 5.0 is actually no installation is not installed. Unpacking files. Recommended to put the path to: f: / php / to here, you should enter the key steps. First copy the PHP directory under the PHP directory .ini-dist to c: / windows / and modify the file name into php.inicopy f: / php/php.ini-dist c: / windowsren php.ini-dist pHP.ini if it is Windows 2000: C: / Winnt / if Win9x / 2003 is: C: / Windows / then copy all files in the dlls directory in the PHP directory to the system32 directory. Copy f: / php / dlls /*.* C: / Windows / System32 / If Windows 2000 is: C: / Winnt / System32 / If Win9X / 2003 is: C: / Windows / System32 / Continue. Copy the php4ts.dll file in the system32 directory. On the system32 directory. On the system32 directory. Lopy F: / php/php4tsts.dll c: / windows / system32 / =========================================================================================================================== : /Windows/php.ini file. Please note that version modification of. 5.0 is not exactly the same. You need to pay attention to the following. Find the extension_dir string. Modify to your PHP directory.
Directory in which the loadable extensions (modules) reside.extension_dir = F: / PHP / extensions relevant official technical data: Edit your php.ini file: You will need to change the 'extension_dir' setting topoint to your php-install-dir, or where you have placedyour 'php _ * dll.' files ex:. c: / phpIf you are using OmniHTTPd, do not follow the next step.Set the 'doc_root' to point to your webserversdocument_root ex:. c: / apache / htdocs or c: / webrootChoose which extensions you would like to load when PHPstarts, noting that several extensions are already builtinto the Windows release, see the section aboutWindows extensions for details of the built-in extensions.You can uncomment the: 'extension = php_ * .dll 'linesin php.ini to load these extensions.Note that on a new installation it is advisable to first getPHP working and tested without any extensions before enablingthem in php.ini.On PWS and IIS, you can set the browscap.inito point To: 'c: /windows/system/inetsrv/browscap.ini' onwindows 9x / me and 'c: / winnt / system32 / inets RV / Browscap.ini'on NT / 2000 / XP Server. More Information on The Capabilities of Browscap Can Be Found Here: www.php.net/manual/en/function.get-browser.phpnote That The Mibs Directory Supplied with the Windows DistributionContains Support files for snmp. This Directory Should Be Moved Todrive: / usr / mib (DRIVE BEIN) The following is different from php 4.0. You need to modify the following: Find CGI .force_redirect string. The default value is 1. Change it to 0. and cancel the front; No. THIS on by Default. You CAN; Turn IT Off Hert Your OWN RISK;