����
PHP7��http://windows.php.net/download#php-7.0
���ؽ�ѹ��ָ��Ŀ¼��C:/soft/php/php7
MySQL5.7��http://dev.mysql.com/downloads/mysql/
���ؽ�ѹ��ָ��Ŀ¼��C:/soft/php/mysql5.7
apache2.4��http://www.apachehaus.com/cgi-bin/download.plx
���ؽ�ѹ��ָ��Ŀ¼��...\php\mysql5.7
һ������
PHP����
��phpĿ¼�µ�php.ini-development�ļ�����һ�ݣ�����������Ϊphp.ini��Ϊphp��Ĭ�����á�
�����չ - ȥ��";"
extension=php_curl.dll ;����֧��SSL��zlib
extension=php_gd2.dll ;�û�����ͼƬ
extension=php_mbstring.dll ;�ַ������ַ����
extension=php_mysqli.dll ;MySql
extension=php_pdo_mysql.dll ;���ö�����ݿ���
extension=php_pdo_odbc.dll ;odbc��
extension=php_xmlrpc.dll ;������XML-RPC��SOAP����Э
����Ŀ¼
�ϴ��ļ�Ŀ¼��upload_tmp_dir = "C:/soft/php/php7/custom/upload"
SessionĿ¼��session.save_path = "C:/soft/php/php7/custom/upload/custom/session"
Apache����
��Apache2.4/conf/httpd.conf
��Ŀ¼��Define SRVROOT "C:/soft/php/Apache24"
�˿ڣ�������������netstat -ano�鿴80�˿ڣ����ռ������Ϊ����˿ڣ���ѡ��Listen 8082��������Ը���Լ������
���ض�PHP7��֧��ģ�飺LoadModule php7_module "C:/soft/php/php7/php7apache2_4.dll"
��װApache����
��cmd�����������룺
httpd -k install -n apache24
��ʾ��װ�ɹ���������һ��ServerRoot must be a valid directory�Ĵ�����Ϣ��
��������ʾ��39�У������Ŀ¼apache24�м����˸����apache2.4���ĺ���������������.
MySQL����
��mysql5.7��copyһ��my-default.ini����������Ϊmy.ini��ΪĬ�������ļ���
ȡ��basedir��datadir��port��ע�Ͳ���·����
basedir = "C:/soft/php/mysql5.7" datadir = "C:/soft/php/mysql5.7/data" port = 3306
���mysql������������
��װMySQL����
>mysqld --install Service successfully installed.
��ʼ��MySQL��
>mysqld --initializ-insecure
����MySQL��
>net start mysql The MySQL service is starting. The MySQL service was started successfuly.
����MySQL:
>mysql ERROR 1045<28000>: Access denied for user 'ODBC'@'localhost'<using password: NO>
ִ���������������������⣺
>cd C:\soft\php\mysql5.7\bin >mysqladmin -u root password New password: ******** Confirm new password: ******** Warning��Since password will be sent to server in plain text, use ssl connection to ensure password safety.
�ٴγ��ԣ�
>mysql -u root -p Enter password: ******** Welcome to the MySQL monitor. Commands end with ; or \g. ......
���ʾ�ɹ��ˣ�������dataĿ¼���һЩ�ļ�:
���ij��� ��lybing�� ���ͣ�����ر����˳���http://lybing.blog.51cto.com/3286625/1773755