我从朋友那拷贝了一个系统,是用php+mysql数据库的,我直接把整个文件夹拷贝过来了,文件包里包括Apache2.2和MySQL5(拷贝的是安装好的文件夹不是安装文件),我现在想知道如何启动Apache2.2和MySQL5?麻烦哪位大哥告诉小弟,谢谢

解决方案 »

  1.   

    批处理
    假定拷贝在 d: 盘根目录下启动
    start /B "Apache" "d:\apache2\bin\httpd.exe"
    start /B "Mysql" "d:\mysql\bin\mysqld.exe" --defaults-file="d:\mysql\my.ini"停止
    tskill httpd
    tskill mysqld你也可以把他们设置成服务
      

  2.   

    to xuzuning我按你的方法运行后输入网址http://127.0.0.1/login.php 后出这个提示,是不是缺少什么文件?我用的是win7的系统,麻烦告知谢谢Site error: the file D:\Robot_Program\wwwroot\gConfig.php requires the ionCube PHP Loader ioncube_loader_win_5.2.dll to be installed by the site administrator.