摘要:最土團購如何安裝在Godaddy Window主機
1、通過Godaddy的File Manager面板,上傳php5.ini至主機根目錄(html)
php5.ini的內容如下:(註意:register_globals = On 很多網上的php5.ini都是Off,導致白屏)
register_globals = On
allow_url_fopen = On
memory_limit = 50M
max_execution_time = 120
max_input_time = 60
post_max_size = 8M
file_uploads = On
upload_max_filesize = 192M
extension_dir = "c:\php5\ext"
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_pdo_mysql.dll
extension=php_gd2.dll
extension=php_sockets.dll
extension=php_mbstring.dll
session.save_path = "d:/temp/tmp"
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_path = /
session.serialize_handler = php
SMTP = relay-hosting.secureserver.net
2、通過Godaddy的File Manager面板,設置include、static文件夾的可write權限
3、可以正常開始安裝。
4、Godaddy的Windows主機老是包含域名目錄名稱,如www.test.com/test/index.php ,其中test為test.com域名綁定的文件夾。
這個問題一直沒有解決,希望有哪位仁兄有辦法去除域名目錄名,在線留言,十分感謝!