You are on page 1of 11

Installing Vtiger on Godaddy

1. You will need either a Linux hosting account or a Windows account with IIS7 installed. Older versions of IIS will not support PHP so you must use IIS7. This is kind of a pain, as there are several features that are not supported under IIS7 that were supported under IIS6 and below.

2. Create a MySQL database using the hosting database tool. Make sure that you use version 5 and let it create a DSN.

After the database is created, it is important to note the host name of the database server. You will need this later on. It will be something like hostname.secureserver.net.

3. Now create a folder to install Vtiger into. You can use the Content | File Manager utility in Godaddy:

4. Expand the vtiger install zip file to your local pc, then use an FTP client like Filezilla to upload the entire directory structure and files to your hosting directory. 5. Once everything is uploaded, use the Godaddy file manager to change permissions on the folder and all subdirectories to read and write and check the box to reset all children to inheirit permissions. (note: this is just to install, later you will want to change everything back to read only except your upload directories)

6. Create a new file called php.ini in the root directory of your hosting account. If you are using IIS7 under Windows hosting, then you will need to call this file php5.ini. Unfortunately under Windows hosting there is a master php.ini file for the server, not just your hosting account, so some of the values set are out of your control. I have found that using the php5.ini settings below will work. PHP.INI Linux or PHP5.INI - Windows [PHP] ;;;;;;;;;;;;;;;;;;;; ; Language Options ;

Installing Vtiger on Godaddy.doc

Page 2 of 11

January 1, 2009

;;;;;;;;;;;;;;;;;;;; engine = On short_open_tag = On asp_tags = Off precision = 14

y2k_compliance = On output_buffering = 4096 ;output_handler = zlib.output_compression = Off ;zlib.output_handler = implicit_flush = Off ;unserialize_callback_func= serialize_precision = 100 allow_call_time_pass_reference = On

; Safe Mode safe_mode = Off safe_mode_gid = Off safe_mode_include_dir = safe_mode_exec_dir = safe_mode_allowed_env_vars = PHP_ safe_mode_protected_env_vars = LD_LIBRARY_PATH

;open_basedir = disable_functions = disable_classes = expose_php = Off

;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;;

max_execution_time = 600 max_input_time = 600 memory_limit = 32M

Installing Vtiger on Godaddy.doc

Page 3 of 11

January 1, 2009

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Error handling and logging ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; error_reporting = 6135

display_errors = On display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On track_errors = Off ;html_errors = Off

;docref_root = "/phpmanual/" ;docref_ext = .html

;error_prepend_string = "" ;error_append_string = ""

;error_log = filename error_log = syslog

;;;;;;;;;;;;;;;;; ; Data Handling ; ;;;;;;;;;;;;;;;;; arg_separator.output = "&" arg_separator.input = "&" variables_order = "GPCS" register_globals = Off register_argc_argv = Off post_max_size = 8M gpc_order = "GPC" magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off
Installing Vtiger on Godaddy.doc Page 4 of 11 January 1, 2009

auto_prepend_file = auto_append_file = default_mimetype = "text/html" ;default_charset = "iso-8859-1" always_populate_raw_post_data = Off

;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; include_path=".;C:\php5\pear" extension_dir="C:\php5\ext" ;doc_root = ;user_dir = enable_dl = On cgi.check_shebang_line = 1 cgi.force_redirect = 0 cgi.nph = 0 ; cgi.redirect_status_env = cgi.fix_pathinfo = 1 fastcgi.impersonate = 1 cgi.rfc2616_headers = 0 fastcgi.logging = 1

;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;;

file_uploads = On upload_tmp_dir = D:/Temp/php upload_max_filesize = 10M

;;;;;;;;;;;;;;;;;; ; Fopen wrappers ; ;;;;;;;;;;;;;;;;;; allow_url_fopen = On from="crm@yourdomain.com"


Installing Vtiger on Godaddy.doc Page 5 of 11 January 1, 2009

; user_agent="PHP" default_socket_timeout = 600 ; auto_detect_line_endings = Off

;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;;;;;;;;;;;;; extension=php_gd2.dll extension=php_imap.dll extension=php_sockets.dll extension=php_mysql.dll extension=php_bz2.dll extension=php_curl.dll extension=php_dba.dll ;extension=php_dbase.dll ;extension=php_fdf.dll extension=php_gettext.dll extension=php_gmp.dll extension=php_ifx.dll ;extension=php_interbase.dll ;extension=php_ldap.dll extension=php_mbstring.dll extension=php_mcrypt.dll extension=php_mhash.dll ;extension=php_mime_magic.dll ;extension=php_ming.dll ;extension=php_msql.dll extension=php_mssql.dll extension=php_mysqli.dll ;extension=php_oci8.dll extension=php_openssl.dll extension=php_pdo.dll ;extension=php_pdo_firebird.dll extension=php_pdo_mssql.dll extension=php_pdo_mysql.dll ;extension=php_pdo_oci.dll
Installing Vtiger on Godaddy.doc Page 6 of 11 January 1, 2009

;extension=php_pdo_oci8.dll extension=php_pdo_odbc.dll ;extension=php_pdo_pgsql.dll ;extension=php_pdo_sqlite.dll ;extension=php_pgsql.dll ;extension=php_pspell.dll ;extension=php_shmop.dll ;extension=php_snmp.dll extension=php_soap.dll ;extension=php_sqlite.dll ;extension=php_sybase_ct.dll ;extension=php_sqlsrv.dll extension=php_sqlsrv_ts.dll ;extension=php_tidy.dll ;extension=php_xmlrpc.dll ;extension=php_xsl.dll extension=php_zip.dll extension=php_exif.dll

;;;;;;;;;;;;;;;;;;; ; Module Settings ; ;;;;;;;;;;;;;;;;;;;

[Syslog] define_syslog_variables = Off

[mail function] ; For Win32 only. SMTP = relay-hosting.secureserver.net smtp_port = 25 sendmail_from = crm@yourdomain.com ; For Unix only. -t -i"). ;sendmail_path = You may supply arguments as well (default: "sendmail

[Java]

Installing Vtiger on Godaddy.doc

Page 7 of 11

January 1, 2009

;java.class.path = .\php_java.jar ;java.home = c:\jdk ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll ;java.library.path = .\

[SQL] sql.safe_mode = Off

[ODBC] ;odbc.default_db ;odbc.default_user ;odbc.default_pw = = = Not yet implemented Not yet implemented Not yet implemented

odbc.allow_persistent = On odbc.check_persistent = On odbc.max_persistent = -1 odbc.max_links = -1 odbc.defaultlrl = 4096 odbc.defaultbinmode = 1

[MySQL] mysql.allow_persistent = On mysql.max_persistent = -1 mysql.max_links = -1 ; Default port number for mysql_connect(). will use If unset, mysql_connect()

; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the ; compile-time value defined MYSQL_PORT (in that order). only look ; at MYSQL_PORT. ;mysql.default_port = 3307 ;mysql.default_socket = ;mysql.default_host = localhost ;mysql.default_user = ;mysql.default_password = mysql.connect_timeout = 600 mysql.trace_mode = Off Win32 will

Installing Vtiger on Godaddy.doc

Page 8 of 11

January 1, 2009

[dbx] dbx.colnames_case = "unchanged"

[bcmath] bcmath.scale = 0

[browscap] ;browscap = extra/browscap.ini

[date] date.timezone = America/Phoenix

[Session] ; Handler used to store/retrieve data. session.save_handler = files session.save_path = "D:\TEMP\PHP" session.use_cookies = 1 ; session.use_only_cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.serialize_handler = php session.gc_probability = 1 session.gc_divisor = 1000

session.gc_maxlifetime = 1440 session.bug_compat_42 = 0 session.bug_compat_warn = 1 session.referer_check = session.entropy_length = 0 session.entropy_file = ;session.entropy_length = 16 ;session.entropy_file = /dev/urandom session.cache_limiter = nocache
Installing Vtiger on Godaddy.doc Page 9 of 11 January 1, 2009

session.cache_expire = 360 session.use_trans_sid = 0 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry,fieldset=" session.hash_bits_per_character = 5

[MSSQL] mssql.allow_persistent = On mssql.max_persistent = -1 mssql.max_links = -1 mssql.min_error_severity = 10 mssql.min_message_severity = 10 mssql.compatability_mode = Off mssql.connect_timeout = 5 mssql.timeout = 60 ;mssql.textlimit = 4096 ;mssql.textsize = 4096 mssql.batchsize = 0 mssql.datetimeconvert = On mssql.secure_connection = Off mssql.max_procs = -1

[Assertion] ;assert.active = On ;assert.warning = On ;assert.bail = Off ;assert.callback = 0 ;assert.quiet_eval = 0

[Sockets] sockets.use_system_read = On

[com] ;com.typelib_file = ;com.allow_dcom = true ;com.autoregister_typelib = true

Installing Vtiger on Godaddy.doc

Page 10 of 11

January 1, 2009

;com.autoregister_casesensitive = false ;com.autoregister_verbose = true

[Printer] ;printer.default_printer = ""

[mbstring] mbstring.language = Neutral Neutral(UTF-8) (default) mbstring.internal_encoding encoding to UTF-8 ; Set default language to ; Set default internal ; HTTP input encoding ; Set HTTP input ; Set HTTP output ; Set default character ; Do not print invalid ; Default character set

= UTF-8

mbstring.encoding_translation = On translation is enabled mbstring.http_input = auto character set dectection to auto mbstring.http_output encoding to UTF-8 = UTF-8

mbstring.detect_order = auto encoding detection order to auto mbstring.substitute_character = none characters default_charset for auto content type header = UTF-8

mbstring.func_overload = 7 ; All non-multibyte-safe functions are overloaded with the mbstring alternatives

7. Now log into your Vtiger instance and follow the install instructions. Everything should run as expected. Under Windows you may get 500 or 501 errors due to timeouts. It happens mostly when you run long running processes like export functions or batch updates. I find that the best way to avoid these is to break jobs down into few numbers of records and run the job in several batches rather than all at once. Make sure to back up your database periodically. Godaddy has a simple backup function which will create SQL as well as data files which will allow you to recover your database. The backup utility is available on database management page of Godaddy. The backups are saved to the _db_backups directory. Download the files in this directory periodically using FTP.

Forget getting help from Godaddy. They will not help you in any way. Completely useless.

Installing Vtiger on Godaddy.doc

Page 11 of 11

January 1, 2009

You might also like