logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: phpBB v3 doesn't see MySQL 5.5 Server
Author
EvilSupahFly



Joined: 18 Aug 2011
Posts: 15
Location: 44° 24' N / 79° 38' W

PostPosted: Thu 28 Jun '12 4:14    Post subject: phpBB v3 doesn't see MySQL 5.5 Server Reply with quote

Trying to install phpBB v3 now. Install fails. Currently running on Win32, meaning it's emo:

* Apache 2.4
* PHP 5.4
* MySQL 5.5
* phpMyAdmin

I have uncommented the MySQL related "extension=" lines in php.ini but phpBB's native installer claims there's no MySQL server and phpMyAdmin claims the MySQL related extensions (in php.ini) are not loaded.

Meanwhile, the MySQL Server says everything is peachy and wonders why nobody is talking to it. It's very sensitive, you know. Hurt feelings and all.

Anybody got any ideas that may be helpful? If you want to see my php.ini file, I can arrange that. Everything else works fine. Apache runs with no errors, PHP does its thang with .php files, and MySQL is just sitting there, wasting cycles, alone and uncomforted, cold in the sleepless night, begging for a little warmth and contact - somebody to talk to, like, say, phpBB... It's so sad... Crying or Very sad

At this point, since phpBB isn't installing, the server is not publicly accessible because I don't want any outside shenanigans mucking up my hard work. Wink
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Thu 28 Jun '12 10:48    Post subject: Reply with quote

What error do you exactly get ?
Error/warnings in the php, mysql log ?

Not clear in your story if phpMyAdmin is running ?

Steffen
Back to top
EvilSupahFly



Joined: 18 Aug 2011
Posts: 15
Location: 44° 24' N / 79° 38' W

PostPosted: Thu 28 Jun '12 12:48    Post subject: Reply with quote

No errors to report from MySQL, but Apache reports the following from PHP:

Quote:
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_mysqli.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_openssl.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_pdo_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_soap.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_sockets.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_tidy.dll' - The specified module could not be found.\r\n in Unknown on line 0


I checked the EXT folder and they're all there, and the correct version, and the EXT pointer in php.ini is set properly.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 28 Jun '12 13:54    Post subject: Reply with quote

in php.ini you have to define the complete path like C:\php\ext instead of just .\ext
Back to top
EvilSupahFly



Joined: 18 Aug 2011
Posts: 15
Location: 44° 24' N / 79° 38' W

PostPosted: Fri 29 Jun '12 14:25    Post subject: Reply with quote

I adjusted the paths accordingly, and I still get the error, only now it includes the full path:

Code:
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:\\php5\\ext\\php_fileinfo.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:\\php5\\ext\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:\\php5\\ext\\php_mysqli.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:\\php5\\ext\\php_openssl.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:\\php5\\ext\\php_pdo_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:\\php5\\ext\\php_soap.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:\\php5\\ext\\php_sockets.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:\\php5\\ext\\php_tidy.dll' - The specified module could not be found.\r\n in Unknown on line 0


And yet:
Code:
 Directory of C:\php5\ext

06/29/2012  08:17 AM    <DIR>          .
06/29/2012  08:17 AM    <DIR>          ..
06/13/2012  03:35 PM            58,880 php_bz2.dll
06/13/2012  03:35 PM           457,728 php_curl.dll
01/06/2011  05:30 PM           397,390 php_dba.dll
01/06/2011  05:30 PM            36,944 php_dbase.dll
06/13/2012  03:35 PM            18,432 php_enchant.dll
06/13/2012  03:35 PM            42,496 php_exif.dll
01/06/2011  05:30 PM            45,134 php_fdf.dll
06/13/2012  03:35 PM         2,353,664 php_fileinfo.dll
06/13/2012  03:35 PM         1,441,280 php_gd2.dll
06/13/2012  03:35 PM            39,424 php_gettext.dll
06/13/2012  03:35 PM           191,488 php_gmp.dll
06/13/2012  03:35 PM           811,520 php_imap.dll
06/13/2012  03:35 PM            61,440 php_interbase.dll
06/13/2012  03:35 PM           135,168 php_intl.dll
06/13/2012  03:35 PM           157,696 php_ldap.dll
06/13/2012  03:35 PM         1,205,760 php_mbstring.dll
01/06/2011  05:30 PM            41,041 php_mcrypt.dll
01/06/2011  05:30 PM            24,656 php_mhash.dll
01/06/2011  05:30 PM            32,853 php_mime_magic.dll
01/06/2011  05:30 PM           319,567 php_ming.dll
01/06/2011  05:30 PM            32,847 php_msql.dll
01/06/2011  05:30 PM            49,232 php_mssql.dll
06/13/2012  03:35 PM            34,816 php_mysql.dll
06/13/2012  03:35 PM            87,552 php_mysqli.dll
06/13/2012  03:35 PM           126,976 php_oci8.dll
06/13/2012  03:35 PM           128,000 php_oci8_11g.dll
06/13/2012  03:35 PM            71,168 php_openssl.dll
01/06/2011  05:30 PM            94,286 php_pdo.dll
06/13/2012  03:35 PM            21,504 php_pdo_firebird.dll
01/06/2011  05:30 PM            28,756 php_pdo_mssql.dll
06/13/2012  03:35 PM            24,064 php_pdo_mysql.dll
06/13/2012  03:35 PM            23,552 php_pdo_oci.dll
01/06/2011  05:30 PM            32,851 php_pdo_oci8.dll
06/13/2012  03:35 PM            20,992 php_pdo_odbc.dll
06/13/2012  03:35 PM            26,624 php_pdo_pgsql.dll
06/13/2012  03:35 PM           412,672 php_pdo_sqlite.dll
01/06/2011  05:30 PM            28,766 php_pdo_sqlite_external.dll
06/13/2012  03:35 PM            90,624 php_pgsql.dll
01/06/2011  05:30 PM            36,945 php_pspell.dll
06/13/2012  03:35 PM            11,776 php_shmop.dll
06/13/2012  03:35 PM           315,904 php_snmp.dll
06/13/2012  03:35 PM           238,592 php_soap.dll
06/13/2012  03:35 PM            38,912 php_sockets.dll
01/06/2011  05:30 PM           241,745 php_sqlite.dll
06/13/2012  03:35 PM           656,384 php_sqlite3.dll
06/13/2012  03:35 PM            30,720 php_sybase_ct.dll
06/13/2012  03:35 PM           225,280 php_tidy.dll
06/13/2012  03:35 PM            57,344 php_xmlrpc.dll
06/13/2012  03:35 PM           212,480 php_xsl.dll
01/06/2011  05:30 PM            61,518 php_zip.dll
              51 File(s)     11,335,472 bytes


Should I change it to an Apache-friendly formatted path?
Back to top
EvilSupahFly



Joined: 18 Aug 2011
Posts: 15
Location: 44° 24' N / 79° 38' W

PostPosted: Fri 29 Jun '12 14:29    Post subject: Reply with quote

Steffen wrote:
What error do you exactly get ?
Error/warnings in the php, mysql log ?

Not clear in your story if phpMyAdmin is running ?

Steffen


No, it is not running. When I attempt to run it, it fails:

"phpMyAdmin - Error

The mysql extension is missing. Please check your PHP configuration."
Back to top
EvilSupahFly



Joined: 18 Aug 2011
Posts: 15
Location: 44° 24' N / 79° 38' W

PostPosted: Sat 30 Jun '12 15:38    Post subject: Reply with quote

OK, now I'm really phracked. I removed PHP and reinstalled from the same download I was using before (5.4.4) and now Apache won't start:

Apache wrote:
httpd: Syntax error on line 164 of C:/Apache2.4/conf/httpd.conf: Module "sapi\\apache2handler\\mod_php5.c" is not compatible with this version of Apache (found 20110619, need 20120211). Please contact the vendor for the correct version.


Last edited by EvilSupahFly on Sat 30 Jun '12 19:04; edited 1 time in total
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 692

PostPosted: Sat 30 Jun '12 16:32    Post subject: Reply with quote

For 2.4 win32 you need a php 2.4 handler from the download page.
Back to top
EvilSupahFly



Joined: 18 Aug 2011
Posts: 15
Location: 44° 24' N / 79° 38' W

PostPosted: Sat 30 Jun '12 23:12    Post subject: Reply with quote

Thanks!
Back to top
EvilSupahFly



Joined: 18 Aug 2011
Posts: 15
Location: 44° 24' N / 79° 38' W

PostPosted: Sat 30 Jun '12 23:40    Post subject: Reply with quote

Wow. In one fell swoop, you just solved all my problems! Thanks! Very Happy
Back to top


Reply to topic   Topic: phpBB v3 doesn't see MySQL 5.5 Server View previous topic :: View next topic
Post new topic   Forum Index -> Other Software