Home > Fatal Error > Fatal Error Call To Undefined Function Mysql_connect Apache 2.2

Fatal Error Call To Undefined Function Mysql_connect Apache 2.2

I have checked and double checked the page sintaxis and still doesn't work. ¿any ideas? It should be mysql.so (if it's mistyped ignore it...) share|improve this answer edited Nov 3 '15 at 9:00 Peter Mortensen 10.2k1369107 answered Mar 11 '13 at 19:17 pixeltracer 4218 Hochgeladen am 12.09.2011ntwdblib.dll : http://www.mediafire.com/?g8g2bf2tgtd...1.You put the DLL in php6, Apache 2.2, bin (found in the "Apache 2.2").2.You open php.ini and remove ; before the lines extension=php_ming.dllextension=php_mssql.dll3.You restart your apache server. Sprache: Deutsch Herkunft der Inhalte: Deutschland Eingeschränkter Modus: Aus Verlauf Hilfe Wird geladen... navigate here

If enabling the "extesion=" line in your php.ini file doesn't work, read over the FAQ stickied at the top of this forum (specifically, the post entitled "2. Have you done that? (If not, if you don't know, my FAQ entry here talks about this towards the end of the post.) EDIT: Possibly even more important would be the To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will This riddle could be extremely useful How to tell why macOS thinks that a certificate is revoked? Clicking Here

Then I used this function mysqli_connect($host,$username,$password)or die(mysql_error()); And after that a system restart. Learn more You're viewing YouTube in German. Not the answer you're looking for? Später erinnern Jetzt lesen Datenschutzhinweis für YouTube, ein Google-Unternehmen Navigation überspringen DEHochladenAnmeldenSuchen Wird geladen...

They should still be in your version but any way, you're better off using PDO or mysqli. –Kris Mar 25 '13 at 12:47 1 if you have no legacy code Fix Verify that your installation of PHP has been compiled with mysql support. Once I removed that, I no longer received the "fatal error" messages. I've also tried un-commenting "extension=mysql.so" in php.ini, but PHP then complains with "PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so'." (even though the module does reside there).

Near Earth vs Newtonian gravitational potential more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology If you don't see it, you need to recompile PHP with MySQL support, or reinstall a PHP package that has it built-in, both of which are beyond the scope of this Open your terminal and run bellow command. Bitte versuche es später erneut.

Then type rpm-hivvphp-mysql-4.2.2-17.i386.rpm and press enter. When I run the script: where localhost, root and password are the REAL values for this given test system and all I have seen is: I don't mind having to re-install PHP if I really have to, if somebody can demonstrate the proper way to configure/compile with MySQL support, so that I can get it to If you have RedHat 8.0, then navigate to the folder /linux/8.0/en/os/i386/RedHat/RPMS/ and search for php-mysql.

Search - Debugging 101 - Collected Solutions - General Guidelines - Getting help at all Reply With Quote 02-01-2012,11:49 AM #10 bradgrafelman View Profile View Forum Posts Visit Homepage Pna lbh

Anmelden 41 11 Dieses Video gefällt dir nicht? New tech, old clothes Security Patch SUPEE-8788 - Possible Problems? Call the page: extensions.php and run it.

Melde dich bei YouTube an, damit dein Feedback gezählt wird. http://bashprofile.net/fatal-error/fatal-error-call-to-undefined-function-mysql-connect-php-5-4.html Additionally, "libmysql.dll" file must be available to Apache, i.e., it must be either in available in Windows systems PATH or in Apache working directory. I also added both PHP and MySQL to my PATH variable. Wird geladen...

mysqli_connect_error(); } ?> MySQL support will be removed of PHP, so start to use MySQLi or PDO instead. :) share|improve this answer answered Mar 25 '13 at 13:54 Matheus Lopes 666 Create a test web page containing and load it in your browser. Exploded Suffixes Good Term For "Mild" Error (Software) Is the NHS wrong about passwords? http://bashprofile.net/fatal-error/fatal-error-call-to-undefined-function-mysql-connect.html You may also need to uncomment the extension=php_pdo_mysql.dll and the extension=php_mysqli.dll lines as well.

Run this script I have made. Search the page for keyword 'MySQL'. Are independent variables really independent?

Du kannst diese Einstellung unten ändern.

You might also need to configure the extension_dir variable. asked 5 years ago viewed 66466 times active 5 months ago Visit Chat Linked 12 PHP Fatal error: Call to undefined function mssql_connect() 1 Can't connect to database “Fatal error: Call sudo apt-get install mysql-server If you are running PHP you will also need to install the php module for mysql sudo apt-get install php5-mysql share|improve this answer answered Jun 3 '15 Melde dich an, um dieses Video zur Playlist "Später ansehen" hinzuzufügen.

Bitte versuche es später erneut. Wird geladen... You can change this preference below. weblink mysql mssql_connect php Reply Onret 1 Post Re: PHP Fatal error: Call to undefined function mysql_connect() Mar 09, 2016 07:30 AM|Onret|LINK I have the same problem (exept running on iis10 and