20. 05. 2010, 17:22

Hallo,
wollte heute eine frische Installation vornehmen.
Bekomme aber keine Verbindung zur Datenbank mit der Meldung, das wohl der Name, Passwort oder der Host falsch ist.
Was nach mehrmaliger Prüfung aber nicht sein kann.
Erst nachdem ich von PHP 5.3.0 zurück auf 5.2.11 gegangen bin, konnte ich Problemlos installieren.
Warum ist das so?

Hier mal ein Auszug aus der php.ini

  1. [code language=php]
  2. upload_max_filesize 64m
  3. allow_url_fopen off
  4. register_globals off
  5. magic_quotes_gpc on
  6.  
  7. engine = On
  8. short_open_tag = On
  9. precision = "14"
  10. y2k_compliance = Off
  11. output_buffering = Off
  12. output_handler =
  13. unserialize_callback_func =
  14. zlib.output_compression = 1
  15. zlib.output_compression_level = 1
  16. implicit_flush = Off
  17. allow_call_time_pass_reference = On
  18. safe_mode = On
  19. safe_mode_gid =
  20. safe_mode_include_dir =
  21. safe_mode_exec_dir =
  22. safe_mode_allowed_env_vars = "PHP_"
  23. safe_mode_protected_env_vars = "LD_LIBRARY_PATH"
  24. disable_functions = "system, shell_exec, show_source, diskfreespace, disk_free_space, proc_open, set_time_limit, link, pfsockopen, popen, proc_open, proc_nice"
  25. highlight.string = "#CC0000"
  26. highlight.comment = "#FF9900"
  27. highlight.keyword = "#006600"
  28. highlight.bg = "#FFFFFF"
  29. highlight.default = "#0000CC"
  30. highlight.html = "#000000"
  31. expose_php = On
  32. max_execution_time = "120"
  33. memory_limit = "64M"
  34. error_reporting = 2039
  35. display_startup_errors =
  36. track_errors = Off
  37. variables_order = "EGPCS"
  38. register_argc_argv = On
  39. post_max_size = 64M
  40. gpc_order = "GPC"
  41. magic_quotes_runtime = Off
  42. magic_quotes_sybase = Off
  43. default_mimetype = "text/html"
  44. doc_root =
  45. user_dir =
  46. enable_dl = On
  47. file_uploads = 1
  48. allow_url_include = 0
  49.  
  50. [mail function]
  51. SMTP = localhost
  52. sendmail_from = me@localhost.com
  53.  
  54. [code language=SQL]
  55. sql.safe_mode = Off
  56.  
  57. [ODBC]
  58. odbc.allow_persistent = 1
  59. odbc.check_persistent = 1
  60. odbc.max_persistent = -1
  61. odbc.max_links = -1
  62. odbc.defaultlrl = 4096
  63. odbc.defaultbinmode = 1
  64.  
  65. [MySQL]
  66. mysql.allow_persistent = Off
  67. mysql.max_persistent = "-1"
  68. mysql.max_links = "-1"
  69. mysql.default_port =
  70. mysql.default_socket =
  71. mysql.default_host =
  72. mysql.default_user =
  73. mysql.default_password =
  74.  
  75. [PostgresSQL]
  76. pgsql.allow_persistent = On
  77. pgsql.auto_reset_persistent =
  78. pgsql.max_persistent = "-1"
  79. pgsql.max_links = "-1"
  80.  
  81. [bcmath]
  82. bcmath.scale = "0"
  83.  
  84. [browscap]
  85. browscap =
  86.  
  87. [Session]
  88. session.serialize_handler = "php"
  89. session.gc_probability = "1"
  90. session.referer_check =
  91. session.entropy_length = "0"
  92. session.entropy_file =
  93. session.cache_limiter = "nocache"
  94. session.cache_expire = "180"
  95. session.use_trans_sid = 1
  96. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  97.  
  98. [Assertion]
  99. assert.active = On
  100. assert.warning = On
  101. assert.bail = Off
  102. assert.callback =
  103. assert.quiet_eval = Off

Kann da jemand helfen?

Danke