检查并确认公司服务器是否有php及php版本
若公司服务器无或php版本低于php4.3.11,应建议安装php4.3.11或以上(但暂时最好不要用php5)
本地系统的php版本应与公司服务器一致,php环境配置也尽量一致

解决方案 »

  1.   

    请问如何在本机配置支持一个php服务器,我现在用的是个EasyPHP1-8的 但是有好多函数都不支持,请问如何在本机配置一个支持sendmail,mail,imagecreatefrompng,imagecreatefromgif,imagecreatefromjpg。等等函数的服务器.有可能请详细些 小第初学者...
      

  2.   

    看这里:[原创] Windows+Apache+MySQL+PHP4 详细安装步骤(已上图)   
    http://www.myhosts.cn/bbs/read.php?tid=36&fpage=1
      

  3.   

    最好不要用EasyPHP,俺发现好像phpmyadmin在Easyphp上中文有问题。
      

  4.   

    配置方法在php压缩包中的install.txt中
    如果英文看不懂可见php手册的安装——windows安装
      

  5.   

    在网上搜下
    实际上在window下不用30分种
    把dlls下的文件copy到system32目录
    php4ts.dll copy到window目录
    把php.ini-recommended copy到window目录改为php.ini
    打开php.ini ctrl+F
    找到下面的设置
    extension_dir = "c:/php/extensions/"
    extension=php_gd2.dll
    include_path = ".;c:\php\pear"
    session.save_path = c:/window/temp/安装apache后
    在开始菜单里面找到apache -> Configure Apache Server->Edit the Apache httpd.conf Configuration File
    ctrl+f 
    DocumentRoot "d:/www" 设成你的实际想放网页的目录ctrl+f LoadModule php4_module "c:/php/sapi/php4apache2.dll"
    AddType application/x-httpd-php .php  //在下面加多这行
    ctrl+f
    DirectoryIndex index.html index.htm default.htm index.php index.html.var启动apache就可以了
    上面ctrl+f后你输入下面一行前一个单词就可以了
      

  6.   

    上面是最流行也是最简单的方法了,但不是官方推荐的做法。官方推荐做法是把php4ts.dll 、php.ini等文件放在PHP目录下面,设置Windows环境变量的。官方推荐的做法在这里:http://www.myhosts.cn/bbs/read.php?tid=36&fpage=1
      

  7.   

    是的.
    http://www.7880.com/Info/Article-9c1dd20.html
    这个有详细的官方安装说明.
    应该可以帮到你!
      

  8.   

    mail 不能用。要开通服务器的 smtp 服务,且可不认证使用。再装一个 GD 库就OK了。