Jump to content
  • 0

Installation MySQL Error (Could not connect to database)


l0gic

Question

Hi all,

 

I've seen this question answered a few times for people but unfortunately I've yet to resolve the issue.

 

I recently downloaded the free trial, and I'm attempting to set it up. I'm at the install.php page, step 3 where I'm supposed to be giving my database info so WHMCS can set all the tables up, etc. I'm putting in the correct info as far as I know, but I keep getting back the following error:

 

Could not connect to the database - check the database connection details you entered and go back and correct them if necessary

 

I've checked the username, the database name, and the password multiple times. I've deleted and remade both the user and the database multiple times. I'm using Plesk, and since I'm creating these databases under my domain's plesk account in plesk (because I manage my webhost domain from within plesk) I thought I was doing the right thing.

 

My box is dedicated to me, so I have no problems going in and doing whatever I want. I'm running Windows, but I didn't think that would be an issue.

 

I'm at my wit's end. I can login to the database through the command line utility using the username and password I supplied to WHMCS. So why can't WHMCS connect to this same database?

 

If you guys need any more info, please let me know. This will probably decide whether I buy the software or not.

Link to comment
Share on other sites

Recommended Posts

  • 0

well that tells you that there is a service running on that port - so mysql is listening on tcp/ip and whmcs should be able to connect.

 

you don't have two copies of mysql running on the server by any chance?

 

can you double check that you have the following line in your configuration.php for whmcs:

 

$db_host = "localhost";

 

and not

 

$db_host = "loclahost";

 

or something similarly mis-typed.

 

you could also try

 

$db_host = "127.0.0.1";

 

which should also work

Link to comment
Share on other sites

  • 0

Okay gents...

 

I'm going to look like a complete moron here, but it was the permissions on my configuration.php

 

I wasn't aware that it would have info written to it as soon as I inputted the database details, so I wasn't paying attention to the fact that it was still 0 bytes. nitro, once you brought that up I was suddenly suspicious and sure enough it didn't have permissions for the IIS user to write to it.

 

Really sorry guys, but THANK you for all your help!

Link to comment
Share on other sites

  • 0

I sure hope so. My only issue now is that it's complaining the license key is invalid, and the license area of my account on this site claims that I'm attempting to use it on the URL which I -am- using it on, but it doesn't fill out the IP or directory boxes. Is that normal? (Also, it claims I can reissue it to fix the issue, but I guess that's only with non-trial licenses because I don't see a reissue button anywhere.)

Link to comment
Share on other sites

  • 0
I sure hope so. My only issue now is that it's complaining the license key is invalid, and the license area of my account on this site claims that I'm attempting to use it on the URL which I -am- using it on, but it doesn't fill out the IP or directory boxes. Is that normal? (Also, it claims I can reissue it to fix the issue, but I guess that's only with non-trial licenses because I don't see a reissue button anywhere.)

I'm not sure about that one - I've not seen the license info for a server running on Windows before.

 

have you tried updating the license key in WHMCS:

 

help -> change license key

 

otherwise have you tried running the installer again?

 

I had similar problems in the past and these both helped at different times.

 

If you continue having problems with the license you might want to open a support ticket - I've found support to be extremely helpful, even prior to having purchased a license when I was having trial issues.

Link to comment
Share on other sites

  • 0

Well, I tried updating the license key with the one from my client area license page, no go. Then I tried reinstalling, still no go. So I opened up a support ticket. We'll see what they say.

 

Thanks again for all your help. :)

Link to comment
Share on other sites

  • 0

Hi guys,

 

I followed this thread because I have the same problem on Windows XP with Apache 2.2.4, MySQL 4.1.22 and PHP 5.22. I tried every mentioned step in this topic but still no luck with DB connection.

I can connect with phpMyAdmin with my WHMCS user and password. My configuration.php is properly written (no problem with the permissions). I also use very simple username and password (whmcs).

 

If I can't solve this I wouldn't be able to evaluate WHMCS and I'm really willing to use it. Please, help.

 

P.S.: on the top of the screen with the DB message there is a line (I've enabled php error display): Notice: Use of undefined constant E_NONE - assumed 'E_NONE' in D:\Services\Apache\htdocs\whmcs\install\install.php on line 0

I don't know if this woould cause any problem.

 

Can it be a problem with my trial license? I have two of them in my client area, but none of them is tied to any domain

Link to comment
Share on other sites

  • 0

Found the solution. It turned out that you guys use short php tags and they were disabled in my php.ini.

 

I think you should fix your sources. Here is a quote from my php.ini:

; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.
short_open_tag = On

 

best regards

Link to comment
Share on other sites

  • 0
Posted: Wed May 23, 2007 1:05 pm Post subject:

 

--------------------------------------------------------------------------------

 

I sure hope so. My only issue now is that it's complaining the license key is invalid, and the license area of my account on this site claims that I'm attempting to use it on the URL which I -am- using it on, but it doesn't fill out the IP or directory boxes. Is that normal? (Also, it claims I can reissue it to fix the issue, but I guess that's only with non-trial licenses because I don't see a reissue button anywhere.)

 

I'm having the same issue. Unable to log into admin as it's complainning the license key is invalid. I've submitted the ticket and got the following reply but still don't know how to over come it.

 

"Free trial users are not allowed to request support via ticket and this is the reason you have had no reply. The invalid license error is caused because your server is not returning the IP address or directory where your system is installed."

 

Hence the question is, how can you make sure that your server does return an IP and directory?

Link to comment
Share on other sites

  • 0

ahhh... I'm loosing patient with this... Paid for the valid license... and Matt responded with the follow:

 

Windows 2003 often doesn't return this info. I have therefore put an override on your license to allow it anyway and extended it by 2 days for the time you've missed so it should now be working for you.

 

Now the log in screen displayed but I CAN NOT login at all.. I've checked many times for the username and password and still no go...

 

EDIT: I had Matt make the change on the license, but then I bought a new one so it needed making on the new one too! I didn't realise this so everything is working fine now!

Link to comment
Share on other sites

  • 0

Please help me with this error.

 

i have tried all the options discussed in this thread and still i am out of luck.

 

i have note one thing. my configuration.php in whmcs folder is stil 0 kb

 

i dont know what to do and how to do it.

 

i am using windows xp and iis 5x

 

i checked properties of file and its not read only and for folder it alwasys says ready only. i tried to remove the tick for read only in property box but its not going away.

 

Please guide me as i am not able to install this software and also not able to take decisin whether to buy it or not.

 

Thanks in Advance

Link to comment
Share on other sites

  • 0

This is my PHP.ini

 

 

;;;;;;;;;;;

; WARNING ;

;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;

; About php.ini ;

;;;;;;;;;;;;;;;;;;;

engine = On

 

zend.ze1_compatibility_mode = Off

 

short_open_tag = off

 

; Allow ASP-style <% %> tags.

asp_tags = Off

 

; The number of significant digits displayed in floating point numbers.

precision = 12

 

; Enforce year 2000 compliance (will cause problems with non-compliant browsers)

y2k_compliance = On

 

output_buffering = Off

 

;output_handler =

 

; output_handler, or otherwise the output will be corrupted.

zlib.output_compression = Off

;zlib.output_compression_level = -1

 

; a different order.

;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

 

; be used when including)

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 =

 

; ignore_user_abort = On

 

; realpath_cache_size=16k

 

; realpath_cache_ttl=120

 

;

; Misc

;

expose_php = On

 

 

;;;;;;;;;;;;;;;;;;;

; Resource Limits ;

;;;;;;;;;;;;;;;;;;;

 

max_execution_time = 30 ; Maximum execution time of each script, in seconds

max_input_time = 60 ; Maximum amount of time each script may spend parsing request data

;max_input_nesting_level = 64 ; Maximum input variable nesting level

memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)

 

 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Error handling and logging ;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

error_reporting = E_ALL & ~E_NOTICE

 

display_errors = off

 

display_startup_errors = Off

 

log_errors = Off

 

log_errors_max_len = 1024

 

ignore_repeated_errors = Off

 

ignore_repeated_source = Off

 

report_memleaks = On

 

;report_zend_debug = 0

 

; Store the last error/warning message in $php_errormsg (boolean).

track_errors = Off

 

 

;html_errors = Off

 

;docref_root = "/phpmanual/"

;docref_ext = .html

 

;error_prepend_string = "<font color=#ff0000>"

 

; String to output after an error message.

;error_append_string = "</font>"

 

; Log errors to specified file.

;error_log = filename

 

; Log errors to syslog (Event Log on NT, not valid in Windows 95).

;error_log = syslog

 

 

;;;;;;;;;;;;;;;;;

; Data Handling ;

;;;;;;;;;;;;;;;;;

;

; Note - track_vars is ALWAYS enabled as of PHP 4.0.3

 

arg_separator.input = "&;"

 

variables_order = "EGPCS"

 

register_globals = off

 

register_long_arrays = On

 

register_argc_argv = On

 

auto_globals_jit = On

 

; Maximum size of POST data that PHP will accept.

post_max_size = 8M

 

; Magic quotes

;

 

; Magic quotes for incoming GET/POST/Cookie data.

magic_quotes_gpc = On

 

; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.

magic_quotes_runtime = Off

 

; Use Sybase-style magic quotes (escape ' with '' instead of \').

magic_quotes_sybase = Off

 

; Automatically add files before or after any PHP document.

auto_prepend_file =

auto_append_file =

 

tml

default_mimetype = "text/html"

;default_charset = "iso-8859-1"

 

; Always populate the $HTTP_RAW_POST_DATA variable.

;always_populate_raw_post_data = On

 

 

;;;;;;;;;;;;;;;;;;;;;;;;;

; Paths and Directories ;

;;;;;;;;;;;;;;;;;;;;;;;;;

 

; UNIX: "/path1:/path2"

;include_path = ".:/php/includes"

;

; Windows: "\path1;\path2"

;include_path = ".;c:\php\includes"

 

; The root of the PHP pages, used only if nonempty.

; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root

; if you are running php as a CGI under any web server (other than IIS)

; see documentation for security issues. The alternate is to use the

; cgi.force_redirect configuration below

doc_root =

 

; The directory under which PHP opens the script using /~username used only

; if nonempty.

user_dir =

 

; Directory in which the loadable extensions (modules) reside.

extension_dir = "C:\php\ext"

 

; Whether or not to enable the dl() function. The dl() function does NOT work

; properly in multithreaded servers, such as IIS or Zeus, and is automatically

; disabled on them.

enable_dl = On

 

; cgi.force_redirect is necessary to provide security running PHP as a CGI under

; most web servers. Left undefined, PHP turns this on by default. You can

; turn it off here AT YOUR OWN RISK

; **You CAN safely turn this off for IIS, in fact, you MUST.**

; cgi.force_redirect = 1

 

; if cgi.nph is enabled it will force cgi to always sent Status: 200 with

; every request.

; cgi.nph = 1

 

; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape

; (iPlanet) web servers, you MAY need to set an environment variable name that PHP

; will look for to know it is OK to continue execution. Setting this variable MAY

; cause security issues, KNOW WHAT YOU ARE DOING FIRST.

; cgi.redirect_status_env = ;

 

;;;;;;;;;;;;;;;;

; File Uploads ;

;;;;;;;;;;;;;;;;

 

; Whether to allow HTTP file uploads.

file_uploads = On

 

; Temporary directory for HTTP uploaded files (will use system default if not

; specified).

;upload_tmp_dir =

 

; Maximum allowed size for uploaded files.

upload_max_filesize = 2M

 

 

;;;;;;;;;;;;;;;;;;

; Fopen wrappers ;

;;;;;;;;;;;;;;;;;;

 

; Whether to allow the treatment of URLs (like http:// or ftp://) as files.

allow_url_fopen = On

 

; Whether to allow include/require to open URLs (like http:// or ftp://) as files.

allow_url_include = Off

 

; Define the anonymous ftp password (your email address)

;from="john@doe.com"

 

; Define the User-Agent string

; user_agent="PHP"

 

; Default timeout for socket based streams (seconds)

default_socket_timeout = 60

zend_extension_ts =C:\Inetpub\wwwroot\Realtrack\whmcs\ioncube\ioncube_loader_win_5.2.dll

;extension=php_bz2.dll

extension=php_curl.dll

;extension=php_dba.dll

;extension=php_dbase.dll

;extension=php_exif.dll

;extension=php_fdf.dll

;extension=php_gd2.dll

;extension=php_gettext.dll

;extension=php_gmp.dll

;extension=php_ifx.dll

;extension=php_imap.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_mysql.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

;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_sockets.dll

;extension=php_sqlite.dll

;extension=php_sybase_ct.dll

;extension=php_tidy.dll

;extension=php_xmlrpc.dll

;extension=php_xsl.dll

;extension=php_zip.dll

 

;;;;;;;;;;;;;;;;;;;

; Module Settings ;

;;;;;;;;;;;;;;;;;;;

 

[Date]

; Defines the default timezone used by the date functions

;date.timezone =

 

;date.default_latitude = 31.7667

;date.default_longitude = 35.2333

 

;date.sunrise_zenith = 90.583333

;date.sunset_zenith = 90.583333

 

[filter]

;filter.default = unsafe_raw

;filter.default_flags =

 

[iconv]

;iconv.input_encoding = ISO-8859-1

;iconv.internal_encoding = ISO-8859-1

;iconv.output_encoding = ISO-8859-1

 

[sqlite]

;sqlite.assoc_case = 0

 

[Pcre]

;PCRE library backtracking limit.

;pcre.backtrack_limit=100000

 

;PCRE library recursion limit.

;Please note that if you set this value to a high number you may consume all

;the available process stack and eventually crash PHP (due to reaching the

;stack size limit imposed by the Operating System).

;pcre.recursion_limit=100000

 

[syslog]

define_syslog_variables = Off

 

[mail function]

; For Win32 only.

SMTP = localhost

smtp_port = 25

 

; For Win32 only.

;sendmail_from = me@example.com

 

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").

;sendmail_path =

 

 

[sql]

sql.safe_mode = Off

 

[ODBC]

;odbc.default_db = Not yet implemented

;odbc.default_user = Not yet implemented

;odbc.default_pw = Not yet implemented

 

; Allow or prevent persistent links.

odbc.allow_persistent = On

 

; Check that a connection is still valid before reuse.

odbc.check_persistent = On

 

; Maximum number of persistent links. -1 means no limit.

odbc.max_persistent = -1

 

; Maximum number of links (persistent + non-persistent). -1 means no limit.

odbc.max_links = -1

 

; Handling of LONG fields. Returns number of bytes to variables. 0 means

; passthru.

odbc.defaultlrl = 4096

 

; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.

; See the documentation on odbc_binmode and odbc_longreadlen for an explanation

; of uodbc.defaultlrl and uodbc.defaultbinmode

odbc.defaultbinmode = 1

 

[MySQL]

; Allow or prevent persistent links.

mysql.allow_persistent = On

 

; Maximum number of persistent links. -1 means no limit.

mysql.max_persistent = -1

 

; Maximum number of links (persistent + non-persistent). -1 means no limit.

mysql.max_links = -1

 

; at MYSQL_PORT.

mysql.default_port =

 

; Default socket name for local MySQL connects. If empty, uses the built-in

; MySQL defaults.

mysql.default_socket =

 

; Default host for mysql_connect() (doesn't apply in safe mode).

mysql.default_host =

 

; Default user for mysql_connect() (doesn't apply in safe mode).

mysql.default_user =

 

mysql.default_password =

 

mysql.connect_timeout = 600

 

; Trace mode. When trace_mode is active (=On), warnings for table/index scans and

; SQL-Errors will be displayed.

mysql.trace_mode = Off

 

[MySQLi]

 

; Maximum number of links. -1 means no limit.

mysqli.max_links = -1

 

; Default port number for mysqli_connect(). If unset, mysqli_connect() will use

; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the

; compile-time value defined MYSQL_PORT (in that order). Win32 will only look

; at MYSQL_PORT.

mysqli.default_port = 3306

 

; Default socket name for local MySQL connects. If empty, uses the built-in

; MySQL defaults.

mysqli.default_socket =

 

; Default host for mysql_connect() (doesn't apply in safe mode).

mysqli.default_host =

 

; Default user for mysql_connect() (doesn't apply in safe mode).

mysqli.default_user =

 

; mysqli.default_pw =

 

; Allow or prevent reconnect

mysqli.reconnect = Off

 

[mSQL]

; Allow or prevent persistent links.

msql.allow_persistent = On

 

; Maximum number of persistent links. -1 means no limit.

msql.max_persistent = -1

 

; Maximum number of links (persistent+non persistent). -1 means no limit.

msql.max_links = -1

 

[OCI8]

; enables privileged connections using external credentials (OCI_SYSOPER, OCI_SYSDBA)

;oci8.privileged_connect = Off

 

; Connection: The maximum number of persistent OCI8 connections per

; process. Using -1 means no limit.

;oci8.max_persistent = -1

;oci8.persistent_timeout = -1

 

 

[PostgresSQL]

; Allow or prevent persistent links.

pgsql.allow_persistent = On

 

; Detect broken persistent links always with pg_pconnect().

; Auto reset feature requires a little overheads.

pgsql.auto_reset_persistent = Off

 

; Maximum number of persistent links. -1 means no limit.

pgsql.max_persistent = -1

 

; Maximum number of links (persistent+non persistent). -1 means no limit.

pgsql.max_links = -1

 

; Ignore PostgreSQL backends Notice message or not.

; Notice message logging require a little overheads.

pgsql.ignore_notice = 0

 

; Log PostgreSQL backends Noitce message or not.

; Unless pgsql.ignore_notice=0, module cannot log notice message.

pgsql.log_notice = 0

 

[sybase]

; Allow or prevent persistent links.

sybase.allow_persistent = On

 

; Maximum number of persistent links. -1 means no limit.

sybase.max_persistent = -1

 

; Maximum number of links (persistent + non-persistent). -1 means no limit.

sybase.max_links = -1

 

;sybase.interface_file = "/usr/sybase/interfaces"

 

; Minimum error severity to display.

sybase.min_error_severity = 10

 

; Minimum message severity to display.

sybase.min_message_severity = 10

 

; Compatibility mode with old versions of PHP 3.0.

; If on, this will cause PHP to automatically assign types to results according

; to their Sybase type, instead of treating them all as strings. This

; compatibility mode will probably not stay around forever, so try applying

; whatever necessary changes to your code, and turn it off.

sybase.compatability_mode = Off

 

[sybase-CT]

; Allow or prevent persistent links.

sybct.allow_persistent = On

 

; Maximum number of persistent links. -1 means no limit.

sybct.max_persistent = -1

 

; Maximum number of links (persistent + non-persistent). -1 means no limit.

sybct.max_links = -1

 

; Minimum server message severity to display.

sybct.min_server_severity = 10

 

; Minimum client message severity to display.

sybct.min_client_severity = 10

 

[bcmath]

; Number of decimal digits for all bcmath functions.

bcmath.scale = 0

 

[browscap]

;browscap = extra/browscap.ini

 

[informix]

; Default host for ifx_connect() (doesn't apply in safe mode).

ifx.default_host =

 

; Default user for ifx_connect() (doesn't apply in safe mode).

ifx.default_user =

 

; Default password for ifx_connect() (doesn't apply in safe mode).

ifx.default_password =

 

; Allow or prevent persistent links.

ifx.allow_persistent = On

 

; Maximum number of persistent links. -1 means no limit.

ifx.max_persistent = -1

 

; Maximum number of links (persistent + non-persistent). -1 means no limit.

ifx.max_links = -1

 

; If on, select statements return the contents of a text blob instead of its id.

ifx.textasvarchar = 0

 

; If on, select statements return the contents of a byte blob instead of its id.

ifx.byteasvarchar = 0

 

; Trailing blanks are stripped from fixed-length char columns. May help the

; life of Informix SE users.

ifx.charasvarchar = 0

 

; If on, the contents of text and byte blobs are dumped to a file instead of

; keeping them in memory.

ifx.blobinfile = 0

 

; NULL's are returned as empty strings, unless this is set to 1. In that case,

; NULL's are returned as string 'NULL'.

ifx.nullformat = 0

 

[session]

; Handler used to store/retrieve data.

session.save_handler = files

sessions.save_path= C:\php\temp

 

; Argument passed to save_handler. In the case of files, this is the path

; where data files are stored. Note: Windows users have to change this

; variable in order to use PHP's session functions.

;

; As of PHP 4.0.1, you can define the path as:

;

; session.save_path = "N;/path"

;

session.use_cookies = 1

 

session.name = PHPSESSID

 

; Initialize session on request startup.

session.auto_start = 0

 

session.cookie_lifetime = 0

 

; The path for which the cookie is valid.

session.cookie_path = /

 

; The domain for which the cookie is valid.

session.cookie_domain =

 

; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.

session.cookie_httponly =

 

; Handler used to serialize data. php is the standard serializer of PHP.

session.serialize_handler = php

 

 

session.gc_probability = 1

session.gc_divisor = 100

 

session.gc_maxlifetime = 1440

 

 

session.bug_compat_42 = 1

session.bug_compat_warn = 1

 

session.referer_check =

 

; How many bytes to read from the file.

session.entropy_length = 0

 

; Specified here to create the session id.

session.entropy_file =

 

;session.entropy_length = 16

 

;session.entropy_file = /dev/urandom

 

; Set to {nocache,private,public,} to determine HTTP caching aspects

; or leave this empty to avoid sending anti-caching headers.

session.cache_limiter = nocache

 

; Document expires after n minutes.

session.cache_expire = 180

 

session.use_trans_sid = 0

 

; Select a hash function

; 0: MD5 (128 bits)

; 1: SHA-1 (160 bits)

session.hash_function = 0

 

; Define how many bits are stored in each character when converting

; the binary hash data to something readable.

;

; 4 bits: 0-9, a-f

; 5 bits: 0-9, a-v

; 6 bits: 0-9, a-z, A-Z, "-", ","

session.hash_bits_per_character = 4

 

url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

 

[MSSQL]

; Allow or prevent persistent links.

mssql.allow_persistent = On

 

; Maximum number of persistent links. -1 means no limit.

mssql.max_persistent = -1

 

; Maximum number of links (persistent+non persistent). -1 means no limit.

mssql.max_links = -1

 

; Minimum error severity to display.

mssql.min_error_severity = 10

 

; Minimum message severity to display.

mssql.min_message_severity = 10

 

; Compatibility mode with old versions of PHP 3.0.

mssql.compatability_mode = Off

 

; Connect timeout

;mssql.connect_timeout = 5

 

; Query timeout

;mssql.timeout = 60

 

; Valid range 0 - 2147483647. Default = 4096.

;mssql.textlimit = 4096

 

; Valid range 0 - 2147483647. Default = 4096.

;mssql.textsize = 4096

 

; Limits the number of records in each batch. 0 = all records in one batch.

;mssql.batchsize = 0

 

; Specify how datetime and datetim4 columns are returned

; On => Returns data converted to SQL server settings

; Off => Returns values as YYYY-MM-DD hh:mm:ss

;mssql.datetimeconvert = On

 

; Use NT authentication when connecting to the server

mssql.secure_connection = Off

 

 

[Assertion]

; Assert(expr); active by default.

;assert.active = On

 

; Issue a PHP warning for each failed assertion.

;assert.warning = On

 

; Don't bail out by default.

;assert.bail = Off

 

; User-function to be called if an assertion fails.

;assert.callback = 0

 

; Eval the expression with current error_reporting(). Set to true if you want

; error_reporting(0) around the eval().

;assert.quiet_eval = 0

 

[COM]

 

[mbstring]

 

; http input encoding.

 

[FrontBase]

[gd]

[exif]

[Tidy]

tidy.clean_output = Off

 

[soap]

; Enables or disables WSDL caching feature.

soap.wsdl_cache_enabled=1

; Sets the directory name where SOAP extension will put cache files.

soap.wsdl_cache_dir="/tmp"

; (time to live) Sets the number of second while cached file will be used

; instead of original one.

soap.wsdl_cache_ttl=86400

 

; Local Variables:

; tab-width: 4

; End:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated