homepage Welcome to WebmasterWorld Guest from 54.226.136.179
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
installing server. mysql installed but no mysql in phpinfo().
LetItBe

5+ Year Member



 
Msg#: 3383508 posted 2:35 pm on Jul 1, 2007 (gmt 0)

hi,

i have successfully installed apache_2.2.4, mysql-essential-5.0.41 and php-5.2.3 under Windows XP system.

i have no problems executing php scripts etc. BUT when i run phpinfo() function there is no MYSQL mentioned at all. as the matter of fact i can't work with phpmyadmin (error: Cannot load mysql extension. Please check your PHP configuration) and so on.

any ideas how to link php and mysql together?

thanks a lot

 

Mohamed

5+ Year Member



 
Msg#: 3383508 posted 2:49 pm on Jul 1, 2007 (gmt 0)

since php5 mysql extension is not enabled by default.
so edit your php.ini to enable mysql extension.

LetItBe

5+ Year Member



 
Msg#: 3383508 posted 2:52 pm on Jul 1, 2007 (gmt 0)

i had enabled this one before:

...
;extension=php_msql.dll
;extension=php_mssql.dll
extension=php_mysql.dll
;extension=php_mysqli.dll
;extension=php_oci8.dll
<...>

but it does not work anyway... :/

coopster

WebmasterWorld Administrator coopster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3383508 posted 11:22 pm on Jul 2, 2007 (gmt 0)

You'll also need to set the extension directory directive correctly in your PHP configuration.
[php.net...]

Here is another troubleshooting thread that might offer insight if that doesn't fix things for you ...
[webmasterworld.com...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved