After installing Apache PHP MySQL successfully on Vista.
I expected everything to run smoothly. But, it was really
not the case. As I tried to connect to MySQL using PHP code,
I got stuck with the following error:
"Fatal error: Call to undefined function mysql_connect()"
But, finally I cracked the problem. If the same problem
is annoying you, please follow the solution below:
To connect PHP to MySQL "php_mysql.dll" is required.
We need to mention the location "php_mysql.dll" in
"php.ini"(configuration file).
1)Open "php.ini" in some text editor.2) Search for the line
"extension_dir = "./" " and mentionthe path of "ext" folder
in place of "./". For example if youhave installed PHP in
"C:/program Files" then change"extension_dir = "./" " to
"extension_dir = "C:/Program Files/php/ext" ".
3) Search for the line "extension=modulename.extension"
(You will find it in Dynamic Extensions) and change it to
"extension=php_mysql.dll".
Learn to Earn Money Online Visit:
http://online-income-sources.blogspot.com
Blogger templates
Blogger news
Blogroll
Archives
-
▼
2013
(219)
-
▼
October
(23)
- How to hack Facebook account
- SEO Friendly PHP content management system
- No title
- What is PHP and MySQL
- Remote GUI Activation in Ubuntoo
- Start your script with AJAX
- 隞�憭拙末���敹���� ��萄�萄��
- Mountain Hiking With Your Dog
- Avoid space in your code
- Tipos de datos en Php
- Como manejar archivos con Php
- imagecreate() or image create in php
- check array index or key with user inputs in php
- Speed optimization
- JavaScript replace() Method
- arrays display in php
- Capítulo 19: Funciones adicionales de PHP
- Fatal error: Call to undefined function mysql_conn...
- Difference between single quotes and double quotes...
- Load balancing using Mod_Rewrite and perl
- Data types
- Subhajit Das | PHP Developer Kolkata: Subhajit Das...
- PHP include_once statement
-
▼
October
(23)