943,675 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 922
  • PHP RSS
Aug 7th, 2008
-1

PHP & MySQL Error. Please help.

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rich69 is offline Offline
1 posts
since Aug 2008
Aug 8th, 2008
0

Re: PHP & MySQL Error. Please help.

install xampp
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
forzadraco is offline Offline
70 posts
since Mar 2008
Aug 8th, 2008
0

Re: PHP & MySQL Error. Please help.

or wamp
Moderator
Featured Poster
Reputation Points: 524
Solved Threads: 356
Purple hazed!
nav33n is offline Offline
3,878 posts
since Nov 2007
Aug 8th, 2008
0

Re: PHP & MySQL Error. Please help.

Have you uncommented the extension in php.ini for mysqli? That may be your problem.
Reputation Points: 12
Solved Threads: 6
Light Poster
Demiloy is offline Offline
48 posts
since Aug 2008
Oct 21st, 2009
-2

phpinfo

try to create a php file include the following code in it.
PHP Syntax (Toggle Plain Text)
  1. <?php
  2. phpinfo();
  3. ?>
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
Last edited by saadsaidi; Oct 21st, 2009 at 8:51 am. Reason: forgot a semicolon :D
Reputation Points: 9
Solved Threads: 2
Newbie Poster
saadsaidi is offline Offline
17 posts
since Mar 2008
Oct 22nd, 2009
-2
Re: PHP & MySQL Error. Please help.
it will be nice if you can tell us what php software you were evaluating
Reputation Points: 13
Solved Threads: 8
Light Poster
kaion is offline Offline
36 posts
since Apr 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Project Euler Problem 17
Next Thread in PHP Forum Timeline: my sql prob





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC