| | |
PHP & MySQL Error. Please help.
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2008
Posts: 1
Reputation:
Solved Threads: 0
Hello ALL:
New to the forum. I have run into a problem over the past 48 hours for which I can't seem to be able to resolve. I am running an Apache 2.0 Server, with PHP, and MySQL. All servers were working fine until 48 hours ago when all hell broke loose while evaluating a php software. Before the problem, PHP software could access MySQL databases; now whenever I attempt to run these software that once work, I get this error from one software. In other instances when I attempt to use other php software, I get an Internal Error 500. Of Note, php and mysql work independently, but a not talking to each other like before.
----------------------------------------------------------------------------------------------
This PHP environment doesn't have MySQL support built in. MySQL support is required if you want to use a MySQL database to run this forum. Consult the PHP documentation for further assistance.
----------------------------------------------------
I have reinstalled a fresh php.ini with similar values to the previous php.ini, but it does not resolve the problem. Also, when I try to run phpmyadmin, I get an error indicating:
----------------------------------------------------
cannot load mysqli extension,
please check PHP Configuration
Documentation
------------------------------------------------------
I have also edited the path in the environmental variables to no avail.
Can anyone shed light on how I can go about resolving this problem? I have read and read to no avial. Any insight will be appreciated. Thanks for your assistance in advance.
Rich.
New to the forum. I have run into a problem over the past 48 hours for which I can't seem to be able to resolve. I am running an Apache 2.0 Server, with PHP, and MySQL. All servers were working fine until 48 hours ago when all hell broke loose while evaluating a php software. Before the problem, PHP software could access MySQL databases; now whenever I attempt to run these software that once work, I get this error from one software. In other instances when I attempt to use other php software, I get an Internal Error 500. Of Note, php and mysql work independently, but a not talking to each other like before.
----------------------------------------------------------------------------------------------
This PHP environment doesn't have MySQL support built in. MySQL support is required if you want to use a MySQL database to run this forum. Consult the PHP documentation for further assistance.
----------------------------------------------------
I have reinstalled a fresh php.ini with similar values to the previous php.ini, but it does not resolve the problem. Also, when I try to run phpmyadmin, I get an error indicating:
----------------------------------------------------
cannot load mysqli extension,
please check PHP Configuration
Documentation
------------------------------------------------------
I have also edited the path in the environmental variables to no avail.
Can anyone shed light on how I can go about resolving this problem? I have read and read to no avial. Any insight will be appreciated. Thanks for your assistance in advance.
Rich.
•
•
Join Date: Mar 2008
Posts: 7
Reputation:
Solved Threads: 1
try to create a php file include the following code in it.
and see if mysqli is enabled. if not check
be reminded to set the extension directory correctly
windows ex:
extension_dir = C:\php\ext
Linux ex
extension_dir = /etc/php/ext
In the php.ini remove the semicolon
;extension=php_mysqli.dll
to be
extension=php_mysqli.dll
also the
extension=php_mysql.dll
if you are using it.
there also might be a problem with Apache and that is a different story.
do these steps and come back to us
PHP Syntax (Toggle Plain Text)
<?php phpinfo(); ?>
be reminded to set the extension directory correctly
windows ex:
extension_dir = C:\php\ext
Linux ex
extension_dir = /etc/php/ext
In the php.ini remove the semicolon
;extension=php_mysqli.dll
to be
extension=php_mysqli.dll
also the
extension=php_mysql.dll
if you are using it.
there also might be a problem with Apache and that is a different story.
do these steps and come back to us
Last edited by saadsaidi; Oct 21st, 2009 at 8:51 am. Reason: forgot a semicolon :D
![]() |
Similar Threads
- help a newbie? mySQL find & replace (MySQL)
- mysql_num_rows(): supplied argument is not a valid MySQL result resource (PHP)
- Nixism: Reliable & Affordable.. RVSKIN|PHP5|FANTASTICO|CPANEL and much more.. (Web Hosting Deals)
- CE7.net - Free CPANEL hosting, forum & blog hosting, redirection (no banners/popups) (Web Hosting Deals)
- MySQL error showing when they shouldn't (PHP)
- Another newbie Q&A (PHP)
- Cannot install phpBB on Win2K & MySql (Social Media and Online Communities)
Other Threads in the PHP Forum
- Previous Thread: Project Euler Problem 17
- Next Thread: my sql prob
Views: 596 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code cron curl database dataentry date directory display download dynamic echo email error file files folder form forms freelancing function functions google href htaccess html image include insert integration ip java javascript joomla jquery limit link login loop mail menu methods mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion regex remote script search select server sessions sms soap sorting source space speed sql structure syntax system table tutorial tutorials update updates upload url validation validator variable video web xml youtube zend






