Help Stuck on Step 5 "You must have the MySQL PHP module installed "

antwonw

Joined: 2005-11-26
Posts: 9
Posted: Sat, 2005-11-26 00:59

Hey am a noob to MySQL and PHP. I am trying to install G2 on my Web Server. I have PHP 5.0.5 installed along with MySQL 4.1.15 installed (Because I also am planning on using phpBB and 5 doesn't work with it). I've gone through all the steps up until Step 5 I entered the DB Password because all the rest that was filled in was correct. Then I clicked save and I got this "You must have the MySQL PHP module installed" I googled it. It brought me here and I read several post about it trying what they did but it didn't help any. So now am posting asking for your help. Like I said I am new to MySQL and PHP. THanks gor the help. Info about my server below.

AntwonW

--

Gallery version (not just "2"):2.0 Developers
PHP version (e.g. 4.3.11): 5.0.5
PHPInfo Link (see FAQ): ?
Webserver (e.g. Apache 1.3.33): Abyss
Database (e.g. MySql 4.0.11): MySQL 4.1.15
Activated toolkits (e.g. NetPbm, GD): GD not installed yet
Operating system (e.g. Linux): Windwos Xp Pro
Browser (e.g. Firefox 1.0): Internet Explorer 6.0

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-11-26 01:04

please post a phpinfo link.

my guess:
your php 5 has "mysqli" support, but no "mysql" support loaded.
in php.ini, uncomment the extension= ...mysql line if there is any, then restart the webserver.
if the problem persists, post the phpinfo link.

FAQ: What information is required when I ask for help in the forums?

 
antwonw

Joined: 2005-11-26
Posts: 9
Posted: Sat, 2005-11-26 01:09

PHPINFO: http://thewhitehouse.cjb.net/phpinfo.php

restart the whole computer or just my web server appilaction?

 
antwonw

Joined: 2005-11-26
Posts: 9
Posted: Sat, 2005-11-26 01:18

Hey now that I uncommented the extension=php_mysql.dll my computer is giving me this Warning "PHP Startup: Unable to load dynamic libary './php_mysql.dll' - The specified module could not be found." That is probably why you can't see my phpinfo.php file. So what do I do now?

 
antwonw

Joined: 2005-11-26
Posts: 9
Posted: Sat, 2005-11-26 01:25

If you can read this this is my phpinfo file in stright text format

Quote:
System Windows NT WEBSERVER 5.1 build 2600
Build Date Sep 5 2005 15:50:13
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS\php.ini
PHP API 20031224
PHP Extension 20041030
Zend Extension 220040412
Debug Build no
Thread Safety enabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp

Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 2047 2047
expose_php On On
extension_dir ./ ./
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .;C:\php5\pear .;C:\php5\pear
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_time 60 60
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
register_argc_argv On On
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from

sendmail_path no value no value
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir C:\PHP\uploadtemp C:\PHP\uploadtemp
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off

bcmath
BCMath support enabled

calendar
Calendar support enabled

com_dotnet
COM support enabled
DCOM support disabled
.Net support enabled

Directive Local Value Master Value
com.allow_dcom 0 0
com.autoregister_casesensitive 1 1
com.autoregister_typelib 0 0
com.autoregister_verbose 0 0
com.code_page no value no value
com.typelib_file no value no value

ctype
ctype functions enabled

dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.11
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled

ftp
FTP support enabled

iconv
iconv support enabled
iconv implementation "libiconv"
iconv library version 1.9

Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1

libxml
libXML support active
libXML Version 2.6.11
libXML streams enabled

odbc
ODBC Support enabled
Active Persistent Links 0
Active Links 0
ODBC library Win32

Directive Local Value Master Value
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_db no value no value
odbc.default_pw no value no value
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited

pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.2 01-Aug-2005

session
Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary wddx

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path C:\PHP\sessiondata C:\PHP\sessiondata
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0

SimpleXML
Simplexml support enabled
Revision $Revision: 1.139.2.4 $
Schema support enabled

SPL
SPL support enabled
Interfaces RecursiveIterator, SeekableIterator
Classes ArrayIterator, ArrayObject, CachingIterator, CachingRecursiveIterator, DirectoryIterator, FilterIterator, LimitIterator, ParentIterator, RecursiveDirectoryIterator, RecursiveIteratorIterator, SimpleXMLIterator

SQLite
SQLite support enabled
PECL Module version 2.0-dev $Id: sqlite.c,v 1.146.2.7 2005/06/07 15:38:37 dmitry Exp $
SQLite Library 2.8.14
SQLite Encoding iso8859

Directive Local Value Master Value
sqlite.assoc_case 0 0

standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Internal Sendmail Support for Windows enabled

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.83 90.83
date.sunset_zenith 90.83 90.83
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value

tokenizer
Tokenizer Support enabled

wddx
WDDX Support enabled
WDDX Session Serializer enabled

xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.11

zlib
ZLib Support enabled
Compiled Version 1.2.3
Linked Version 1.2.3

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value

Additional Modules
Module Name

Environment
Variable Value
SystemRoot C:\WINDOWS
PATH C:\Program Files\Mail Enable\BIN;C:\Python24\.;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\MySQL\MySQL Server 4.1\bin
COMSPEC C:\WINDOWS\system32\cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.pyo;.pyc;.pyw;.py
WINDIR C:\WINDOWS
TEMP C:\DOCUME~1\WEBSER~1\LOCALS~1\Temp
SERVER_SOFTWARE Abyss/2.0.6-X1-Win32 AbyssLib/2.0.6
SERVER_PROTOCOL HTTP/1.1
COOKIE cjb_belnk=1132949243; PHPSESSID=8d48cc415a7a1c01314363e34147218c
SERVER_PORT 80
SERVER_NAME thewhitehouse.cjb.net
REMOTE_ADDR 192.168.2.1
REMOTE_PORT 49165
REQUEST_URI /phpinfo.php
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT C:\Documents and Settings\Web Server\Desktop\root\www
APPL_MD_PATH /
APPL_PHYSICAL_PATH C:\Documents and Settings\Web Server\Desktop\root\www
URL /phpinfo.php
SCRIPT_NAME /phpinfo.php
SCRIPT_FILENAME C:\Documents and Settings\Web Server\Desktop\root\www\phpinfo.php
REQUEST_METHOD GET
CONTENT_LENGTH 0
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-gsarcade-launch, application/x-shockwave-flash, */*
HTTP_REFERER http://gallery.menalto.com/node/40627
HTTP_ACCEPT_LANGUAGE en-us
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
HTTP_HOST thewhitehouse.cjb.net
HTTP_CONNECTION Keep-Alive
HTTP_COOKIE cjb_belnk=1132949243; PHPSESSID=8d48cc415a7a1c01314363e34147218c
ALL_HTTP HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-gsarcade-launch, application/x-shockwave-flash, */* HTTP_REFERER: http://gallery.menalto.com/node/40627 HTTP_ACCEPT_LANGUAGE: en-us HTTP_ACCEPT_ENCODING: gzip, deflate HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) HTTP_HOST: thewhitehouse.cjb.net HTTP_CONNECTION: Keep-Alive HTTP_COOKIE: cjb_belnk=1132949243; PHPSESSID=8d48cc415a7a1c01314363e34147218c
ALL_RAW Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-gsarcade-launch, application/x-shockwave-flash, */* Referer: http://gallery.menalto.com/node/40627 Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) Host: thewhitehouse.cjb.net Connection: Keep-Alive Cookie: cjb_belnk=1132949243; PHPSESSID=8d48cc415a7a1c01314363e34147218c
INSTANCE_ID 1
X_ABYSS_STATS_SERVER_TOTAL 935
X_ABYSS_STATS_SERVER_ERROR 33
X_ABYSS_STATS_SERVER_HTML 491
X_ABYSS_STATS_SERVER_IMAGE 246
X_ABYSS_STATS_SERVER_NOTMODIFIED 207
X_ABYSS_STATS_SERVER_OUTPUT 8829940
X_ABYSS_STATS_SERVER_UPTIME 45089
X_ABYSS_STATS_SERVER_CURRENT_UPTIME 371
X_ABYSS_STATS_HOST_TOTAL 935
X_ABYSS_STATS_HOST_ERROR 33
X_ABYSS_STATS_HOST_HTML 491
X_ABYSS_STATS_HOST_IMAGE 246
X_ABYSS_STATS_HOST_NOTMODIFIED 207
X_ABYSS_STATS_HOST_OUTPUT 8829940
X_ABYSS_STATS_HOST_UPTIME 45091
X_ABYSS_STATS_HOST_CURRENT_UPTIME 371
REDIRECT_STATUS 200
ORIG_PATH_TRANSLATED C:\Documents and Settings\Web Server\Desktop\root\www\phpinfo.php
ORIG_PATH_INFO /phpinfo.php
ORIG_SCRIPT_NAME /phpinfo.php
ORIG_SCRIPT_FILENAME C:\Documents and Settings\Web Server\Desktop\root\www\phpinfo.php

PHP Variables
Variable Value
_REQUEST["cjb_belnk"] 1132949243
_REQUEST["PHPSESSID"] 8d48cc415a7a1c01314363e34147218c
_COOKIE["cjb_belnk"] 1132949243
_COOKIE["PHPSESSID"] 8d48cc415a7a1c01314363e34147218c
_SERVER["SystemRoot"] C:\WINDOWS
_SERVER["PATH"] C:\Program Files\Mail Enable\BIN;C:\Python24\.;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\MySQL\MySQL Server 4.1\bin
_SERVER["COMSPEC"] C:\WINDOWS\system32\cmd.exe
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.pyo;.pyc;.pyw;.py
_SERVER["WINDIR"] C:\WINDOWS
_SERVER["TEMP"] C:\DOCUME~1\WEBSER~1\LOCALS~1\Temp
_SERVER["SERVER_SOFTWARE"] Abyss/2.0.6-X1-Win32 AbyssLib/2.0.6
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["COOKIE"] cjb_belnk=1132949243; PHPSESSID=8d48cc415a7a1c01314363e34147218c
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_NAME"] thewhitehouse.cjb.net
_SERVER["REMOTE_ADDR"] 192.168.2.1
_SERVER["REMOTE_PORT"] 49165
_SERVER["REQUEST_URI"] /phpinfo.php
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["DOCUMENT_ROOT"] C:\Documents and Settings\Web Server\Desktop\root\www
_SERVER["APPL_MD_PATH"] /
_SERVER["APPL_PHYSICAL_PATH"] C:\Documents and Settings\Web Server\Desktop\root\www
_SERVER["URL"] /phpinfo.php
_SERVER["SCRIPT_NAME"] /phpinfo.php
_SERVER["SCRIPT_FILENAME"] C:\Documents and Settings\Web Server\Desktop\root\www\phpinfo.php
_SERVER["REQUEST_METHOD"] GET
_SERVER["CONTENT_LENGTH"] 0
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-gsarcade-launch, application/x-shockwave-flash, */*
_SERVER["HTTP_REFERER"] http://gallery.menalto.com/node/40627
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
_SERVER["HTTP_HOST"] thewhitehouse.cjb.net
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_COOKIE"] cjb_belnk=1132949243; PHPSESSID=8d48cc415a7a1c01314363e34147218c
_SERVER["ALL_HTTP"] HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-gsarcade-launch, application/x-shockwave-flash, */* HTTP_REFERER: http://gallery.menalto.com/node/40627 HTTP_ACCEPT_LANGUAGE: en-us HTTP_ACCEPT_ENCODING: gzip, deflate HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) HTTP_HOST: thewhitehouse.cjb.net HTTP_CONNECTION: Keep-Alive HTTP_COOKIE: cjb_belnk=1132949243; PHPSESSID=8d48cc415a7a1c01314363e34147218c
_SERVER["ALL_RAW"] Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-gsarcade-launch, application/x-shockwave-flash, */* Referer: http://gallery.menalto.com/node/40627 Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) Host: thewhitehouse.cjb.net Connection: Keep-Alive Cookie: cjb_belnk=1132949243; PHPSESSID=8d48cc415a7a1c01314363e34147218c
_SERVER["INSTANCE_ID"] 1
_SERVER["X_ABYSS_STATS_SERVER_TOTAL"] 935
_SERVER["X_ABYSS_STATS_SERVER_ERROR"] 33
_SERVER["X_ABYSS_STATS_SERVER_HTML"] 491
_SERVER["X_ABYSS_STATS_SERVER_IMAGE"] 246
_SERVER["X_ABYSS_STATS_SERVER_NOTMODIFIED"] 207
_SERVER["X_ABYSS_STATS_SERVER_OUTPUT"] 8829940
_SERVER["X_ABYSS_STATS_SERVER_UPTIME"] 45089
_SERVER["X_ABYSS_STATS_SERVER_CURRENT_UPTIME"] 371
_SERVER["X_ABYSS_STATS_HOST_TOTAL"] 935
_SERVER["X_ABYSS_STATS_HOST_ERROR"] 33
_SERVER["X_ABYSS_STATS_HOST_HTML"] 491
_SERVER["X_ABYSS_STATS_HOST_IMAGE"] 246
_SERVER["X_ABYSS_STATS_HOST_NOTMODIFIED"] 207
_SERVER["X_ABYSS_STATS_HOST_OUTPUT"] 8829940
_SERVER["X_ABYSS_STATS_HOST_UPTIME"] 45091
_SERVER["X_ABYSS_STATS_HOST_CURRENT_UPTIME"] 371
_SERVER["REDIRECT_STATUS"] 200
_SERVER["ORIG_PATH_TRANSLATED"] C:\Documents and Settings\Web Server\Desktop\root\www\phpinfo.php
_SERVER["ORIG_PATH_INFO"] /phpinfo.php
_SERVER["ORIG_SCRIPT_NAME"] /phpinfo.php
_SERVER["ORIG_SCRIPT_FILENAME"] C:\Documents and Settings\Web Server\Desktop\root\www\phpinfo.php
_SERVER["PHP_SELF"] /phpinfo.php
_SERVER["argv"] Array
(
)

_SERVER["argc"] 0
_ENV["SystemRoot"] C:\WINDOWS
_ENV["PATH"] C:\Program Files\Mail Enable\BIN;C:\Python24\.;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\MySQL\MySQL Server 4.1\bin
_ENV["COMSPEC"] C:\WINDOWS\system32\cmd.exe
_ENV["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.pyo;.pyc;.pyw;.py
_ENV["WINDIR"] C:\WINDOWS
_ENV["TEMP"] C:\DOCUME~1\WEBSER~1\LOCALS~1\Temp
_ENV["SERVER_SOFTWARE"] Abyss/2.0.6-X1-Win32 AbyssLib/2.0.6
_ENV["SERVER_PROTOCOL"] HTTP/1.1
_ENV["COOKIE"] cjb_belnk=1132949243; PHPSESSID=8d48cc415a7a1c01314363e34147218c
_ENV["SERVER_PORT"] 80
_ENV["SERVER_NAME"] thewhitehouse.cjb.net
_ENV["REMOTE_ADDR"] 192.168.2.1
_ENV["REMOTE_PORT"] 49165
_ENV["REQUEST_URI"] /phpinfo.php
_ENV["GATEWAY_INTERFACE"] CGI/1.1
_ENV["DOCUMENT_ROOT"] C:\Documents and Settings\Web Server\Desktop\root\www
_ENV["APPL_MD_PATH"] /
_ENV["APPL_PHYSICAL_PATH"] C:\Documents and Settings\Web Server\Desktop\root\www
_ENV["URL"] /phpinfo.php
_ENV["SCRIPT_NAME"] /phpinfo.php
_ENV["SCRIPT_FILENAME"] C:\Documents and Settings\Web Server\Desktop\root\www\phpinfo.php
_ENV["REQUEST_METHOD"] GET
_ENV["CONTENT_LENGTH"] 0
_ENV["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-gsarcade-launch, application/x-shockwave-flash, */*
_ENV["HTTP_REFERER"] http://gallery.menalto.com/node/40627
_ENV["HTTP_ACCEPT_LANGUAGE"] en-us
_ENV["HTTP_ACCEPT_ENCODING"] gzip, deflate
_ENV["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
_ENV["HTTP_HOST"] thewhitehouse.cjb.net
_ENV["HTTP_CONNECTION"] Keep-Alive
_ENV["HTTP_COOKIE"] cjb_belnk=1132949243; PHPSESSID=8d48cc415a7a1c01314363e34147218c
_ENV["ALL_HTTP"] HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-gsarcade-launch, application/x-shockwave-flash, */* HTTP_REFERER: http://gallery.menalto.com/node/40627 HTTP_ACCEPT_LANGUAGE: en-us HTTP_ACCEPT_ENCODING: gzip, deflate HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) HTTP_HOST: thewhitehouse.cjb.net HTTP_CONNECTION: Keep-Alive HTTP_COOKIE: cjb_belnk=1132949243; PHPSESSID=8d48cc415a7a1c01314363e34147218c
_ENV["ALL_RAW"] Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-gsarcade-launch, application/x-shockwave-flash, */* Referer: http://gallery.menalto.com/node/40627 Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) Host: thewhitehouse.cjb.net Connection: Keep-Alive Cookie: cjb_belnk=1132949243; PHPSESSID=8d48cc415a7a1c01314363e34147218c
_ENV["INSTANCE_ID"] 1
_ENV["X_ABYSS_STATS_SERVER_TOTAL"] 935
_ENV["X_ABYSS_STATS_SERVER_ERROR"] 33
_ENV["X_ABYSS_STATS_SERVER_HTML"] 491
_ENV["X_ABYSS_STATS_SERVER_IMAGE"] 246
_ENV["X_ABYSS_STATS_SERVER_NOTMODIFIED"] 207
_ENV["X_ABYSS_STATS_SERVER_OUTPUT"] 8829940
_ENV["X_ABYSS_STATS_SERVER_UPTIME"] 45089
_ENV["X_ABYSS_STATS_SERVER_CURRENT_UPTIME"] 371
_ENV["X_ABYSS_STATS_HOST_TOTAL"] 935
_ENV["X_ABYSS_STATS_HOST_ERROR"] 33
_ENV["X_ABYSS_STATS_HOST_HTML"] 491
_ENV["X_ABYSS_STATS_HOST_IMAGE"] 246
_ENV["X_ABYSS_STATS_HOST_NOTMODIFIED"] 207
_ENV["X_ABYSS_STATS_HOST_OUTPUT"] 8829940
_ENV["X_ABYSS_STATS_HOST_UPTIME"] 45091
_ENV["X_ABYSS_STATS_HOST_CURRENT_UPTIME"] 371
_ENV["REDIRECT_STATUS"] 200
_ENV["ORIG_PATH_TRANSLATED"] C:\Documents and Settings\Web Server\Desktop\root\www\phpinfo.php
_ENV["ORIG_PATH_INFO"] /phpinfo.php
_ENV["ORIG_SCRIPT_NAME"] /phpinfo.php
_ENV["ORIG_SCRIPT_FILENAME"] C:\Documents and Settings\Web Server\Desktop\root\www\phpinfo.php

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-11-26 01:33

yep, no mysql section in this phpinfo.

check your php.ini
maybe there's something like a line

;extension=php_mysql.dll or another line with extension= ...mysql ..dll

remove the leading ; and save the file, and restart the webserver.
if that doesn't help, you need another php binary / package, which has mysql support.

 
antwonw

Joined: 2005-11-26
Posts: 9
Posted: Sat, 2005-11-26 02:17

i already did that. in the post above i posted this

Quote:
Hey now that I uncommented the extension=php_mysql.dll my computer is giving me this Warning "PHP Startup: Unable to load dynamic libary './php_mysql.dll' - The specified module could not be found." That is probably why you can't see my phpinfo.php file. So what do I do now?

So i need to go to PHP's web site and download a different version or just a different package of the same one?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-11-26 02:25

read the note on:
http://ch2.php.net/mysql

about Installation on Windows Systems, PHP 5+

 
antwonw

Joined: 2005-11-26
Posts: 9
Posted: Sat, 2005-11-26 05:05

Ok I've read that page and almost ever page linked off it. And I've done all of it I installed PHP 5.1 and did everything. And it is still giving me the warning message and its not working. Help please!!

 
peterm

Joined: 2004-12-13
Posts: 39
Posted: Sat, 2005-11-26 05:16

I have the exact same thing, I click save and nothing happens, no error messages. I also do not have the mysql section in the phpinfo ( www.petermucha.com/phpinfo.php ). I tried everthing mentioned in other threads: mysql extension uncommented, set extensions directory, set up mysql and user and permissions. Is there anywhere I can see what errors are being caused? A log? Thanks fo rany help.

Peter

Here is some more of my info:
Gallery version (not just "2"):2.0 Unpossible
PHP version (e.g. 4.3.11): 5.1.0
PHPInfo Link (see FAQ): http://www.petermucha.com/phpinfo.php
Webserver (e.g. Apache 1.3.33): Apache 2.0.55
Database (e.g. MySql 4.0.11): MySQL 4.1.15-nt
Activated toolkits (e.g. NetPbm, GD): Imagemagik, netpbm
Operating system (e.g. Linux): Windwos Xp Pro
Browser (e.g. Firefox 1.0): Firefox

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-11-26 09:37
 
peterm

Joined: 2004-12-13
Posts: 39
Posted: Sat, 2005-11-26 16:00

I tried all that stuff but I think I have bigger problems. I renamed php.ini to old.php.ini.old and I can still run the gallery installer. Shouldn't the lack of a php.ini file casue php not to eecute files? I can restart apache and I even restarted the computer and apache works fine. The installer passes all the systems checks in step 2. My php info says its using a file from c:\windows but there is no php.ini there only old.php.ini.old. How do I know what file its using?

Thanks, Peter

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-11-26 16:27

after changing php.ini, you need to restart the webserver.

to check if you edit the right php.ini file, take a look at your phpinfo, right at the top is the php.ini path.

don't know what phpinfo is? google knows ;)

 
peterm

Joined: 2004-12-13
Posts: 39
Posted: Sat, 2005-11-26 16:45

I tried changing some valuse in php.ini in my windows directory, but the changes dont show up in phpinfo after restarting the server. No other versions of php.ini on computer, where are these settings coming from!?

Look three posts above your last one valiant. My phpinfo link is there and it says c:\windows is the path to php.ini but there is no php.ini there. Have you gotten yours to work?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-11-26 17:04

i've never tried g2 on iis. i test g2 with apache2 on windows, from time to time.

check your phpinfo page for the php.ini path, it's there. after changing php.ini, restart IIS (no need to restart windows).

 
peterm

Joined: 2004-12-13
Posts: 39
Posted: Sat, 2005-11-26 20:33

I finally got G2 working with PHP4 on Apache2. I coulnd't get PHP5 to work. Not sure what else I might have changed along the way but downgrading PHP worked.
Peter

 
antwonw

Joined: 2005-11-26
Posts: 9
Posted: Mon, 2005-11-28 03:36

Ok i've read all the links given and read all the posts. I search my entire HDD for libmysql.dll and php_mysql.dll. i found libmysql.dll in C:\Program Files\MySQL\MySQL Server 4.1\bin\libmySQL.dll. i did not find php_mysql.dll anywhere on my HDD. So that leads me to believe that I installed PHP5.1 wrong. i installed it through a installer. should i have installed it through the source?

 
winsonfu

Joined: 2005-12-01
Posts: 13
Posted: Thu, 2005-12-01 16:51

I also have a similar problem prompted "...MySQL PHP module installed" message in Step 5. My OS is Linux 9.

Please help on this.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-12-01 17:18

please search the forums for similar issues. also, google has tutorials on how to setup apache/php/mysql .

 
oreh

Joined: 2006-01-09
Posts: 1
Posted: Mon, 2006-01-09 23:11
peterm wrote:
I coulnd't get PHP5 to work.

Just for a test and quote above I tested and managed to set up correctly on following cfg:
PHP Version 5.1.1
mysql version 5.0.18
platform OS winxppro_sp2 on Apache 2.0.55

Generally here's step by step info what I modified assuming that your apache/php/mysql is set up and working correctly. Its not that hard using pre-made installers and following simple instructions like http://www.webmasterstop.com/48.html

so after basic server/php/mysql were set, here what I have modified.
1) in php.ini
# extension_dir left by default, coz php5 tends to keep its extensions in php root dir
extension_dir = "./"

# uncommented by removing ";" in php.ini
extension=php_mysql.dll

2) also be sure you have following files in your php root directory (in my case its in c:\php )
php_mysql.dll
libmysql.dll

3) restert apache
net stop apache2
net start apache2

Worked for me to pass STEP 5 in G2 installation process