Jump to content

syd75

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

syd75's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [quote author=wildteen88 link=topic=110585.msg447355#msg447355 date=1160070586] Looks like PHP is finding an old libmysql.dll check that there isnt any other libmysql.dll files in C:\windows\system32 [/quote] That was the problem. Thank you very, very much!!! I've never been to this forum before. But what a great forum! So many people so willing to help. Thanks to all of you!
  2. Yes, everything is correct in php.ini. I installed php in "C:\Server\PHP" instead of the standard "C:\PHP", so the extension_dir is correct. It is also correctly reported in phpinfo. I'm able to comment/uncomment f.ex. extension=php_gd2.dll and see the changes. It is just php_mysql.dll that won't load. I had everything running fine for a long time without the php folder in the Windows PATH variable, or the libmysql.dll any other places than in the php folder. Now I have both the php folder in the Windows PATH variable and a copy of libmysql.dll in C:\WINDOW. I have restarted the computer and the web server. But there is still the same error.
  3. php.ini is located in C:\Server\PHP which is the correct location according to phpinfo. The PHPIniDir in httpd.conf is also set to "C:/Server/PHP". This files in C:\Server\PHP are: fdftk.dll fribidi.dll gds32.dll go-pear.bat install.txt libeay32.dll libmcrypt.dll libmhash.dll [b]libmysql.dll[/b] license.txt msql.dll news.txt ntwdblib.dll php-cgi.exe php-win.exe php.exe php.gif [b]php.ini[/b] php.ini-dist php.ini-recommended php5apache.dll [b]php5apache2.dll[/b] php5apache_hooks.dll php5embed.lib php5isapi.dll php5nsapi.dll php5ts.dll pws-php5cgi.reg pws-php5isapi.reg snapshot.txt ssleay32.dll yaz.dll
  4. [quote author=thepip3r link=topic=110585.msg447259#msg447259 date=1160064441] um... forum no longer exists according to the mysql error.  did you recreate your database and tables after you reinstalled mysql? [/quote] No, I can't get phpMyAdmin working because of the problems above, so I haven't recreated the databases and tables yet. It might be an easy way to do this without phpMyAdmin also, but I have always used phpMyAdmin to do this.
  5. It says: [code]PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Server\PHP\ext\php_mysql.dll'[/code] when I restart the web server. 'C:\Server\PHP\ext\php_mysql.dll' is there, so it has to be something that prevents it from loading.
  6. Yes, mysqld-nt.exe is in the task manager. But all the databases have been deleted, because when nothing else worked I tried to reinstall MySQL. So when I run the very simple script: [code]<?php $db = mysql_connect("localhost", "root", "MyPassword"); mysql_select_db("forum", $db); echo mysql_error(); ?>[/code] from the command prompt, I get: [code]Unknown database 'forum'[/code] When I run it on the web server, I get: [code]Fatal error: Call to undefined function mysql_connect() in C:\Server\Apache2\htdocs\test.php on line 2[/code]
  7. mysql_connect() suddenly stopped working, after I've used php/mysql on the web server for a long time. It works when I run php scripts from the command line, but not on the web server. I have no idea what have happened. phpinfo no longer has any entry about mysql. I've checked php.ini and the extension_dir is set correctly and extension=php_mysql.dll is uncommented. I'm able to add/remove other extensions and see changes in phpinfo. But not with mysql. I've also tried replacing the php_mysql.dll and libmysql.dll with the ones from php-5.1.6-Win32.zip, to no avail. I run MySQL 5.0.20 and PHP 5.1.6 with Zend 3.0.0 on Apache 2.0.55 on Windows XP. Can anyone help me out here?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.