欢迎来到天天文库
浏览记录
ID:40553795
大小:119.56 KB
页数:23页
时间:2019-08-04
《Godaddy+Deluxe+Window Magento 解决方法》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、主机类型:godaddyDeluxe+Windows在godaddyWindwos空间上安装Magento解决方法问题一:提示错误:PHPExtensions"pdo_mysql"mustbeloaded.问题二:提示错误:Noinputfilespecified.问题三:访问PHP页面出现空白页(1)变更PHP版本PHP5.3改为PHP5.2Settings-->ProgrammingLanguages-->PHP5.2备注:经测试php5.3版本不能识别网站根目录下的php5.ini文件,而php5.
2、2版本能识别php5.ini(2)上传经过修改后的PHP5.2.17版本的PHP5.ini文件到网站根目录解决:定位PHP扩展模块读取位置extension_dir="C:php5ext"解决:提示错误:Noinputfilespecified.cgi.fix_pathinfo=1doc_root=extension=php_curl.dllextension=php_gd2.dllextension=php_mcrypt.dllextension=php_mysql.dllextension=php
3、_mysqli.dllextension=php_pdo.dllextension=php_pdo_mysql.dll(3)IIS重启应用程序池Tools-->IISManagement-->RecycleAppPoolPHP5.ini最终文件[PHP];EnablethePHPscriptinglanguageengineunderApache.engine=On;EnablecompatibilitymodewithZendEngine1(PHP4.x)zend.ze1_compatibility_m
4、ode=Off;Allowthetagsarerecognized.;NOTE:Usingshorttagsshouldbeavoidedwhendevelopingapplicationsor;librariesthataremeantforredistribution,ordeploymentonPHP;serverswhicharenotunderyourcontrol,becauseshorttagsmaynot;besupp
5、ortedonthetargetserver.Forportable,redistributablecode,;besurenottouseshorttags.short_open_tag=Off;AllowASP-style<%%>tags.asp_tags=Off;Thenumberofsignificantdigitsdisplayedinfloatingpointnumbers.precision=14;Enforceyear2000compliance(willcauseproblemswith
6、non-compliantbrowsers)y2k_compliance=On;Outputbufferingallowsyoutosendheaderlines(includingcookies)even;afteryousendbodycontent,atthepriceofslowingPHP'soutputlayera;bit.Youcanenableoutputbufferingduringruntimebycallingtheoutput;bufferingfunctions.Youcanal
7、soenableoutputbufferingforallfilesby;settingthisdirectivetoOn.Ifyouwishtolimitthesizeofthebuffer;toacertainsize-youcanuseamaximumnumberofbytesinsteadof'On',as;avalueforthisdirective(e.g.,output_buffering=4096).;output_buffering=4096output_buffering=Off;Yo
8、ucanredirectalloftheoutputofyourscriptstoafunction.For;example,ifyousetoutput_handlerto"mb_output_handler",character;encodingwillbetransparentlyconvertedtothespecifiedencoding.;Settinganyoutputhandlerautomaticallytu
此文档下载收益归作者所有