Page 1 of 1

I dont think php is working. or mysql

PostPosted: 30. August 2008 17:20
by 2words4uready
I dont think php is working. or mysql.
If i visit phpmyadmin i get
Code: Select all
Cannot load mysql extension. Please check your PHP configuration. - Documentation

If i type
Code: Select all
<?
echo "test";
?>

I get nothing but a blank page
if i visit some of the xampp pages i get code like this
Code: Select all
   get flash player

 

'; if($_REQUEST['showcode']!=1) { echo ''.$TEXT['global-showcode'].''; } else { if($file=="")$file=$_SERVER['PHP_SELF']; $f=htmlentities(file_get_contents(basename($file))); echo "
".$TEXT['global-sourcecode']."
"; echo "
"; echo $f; echo "
"; echo "

"; echo "

"; } ?>


Then the buttons have php code on them.

PostPosted: 30. August 2008 17:48
by chili5
I don't think you have your mysql enabled in php.ini

That's all I can think of for the first problem. Check your php.ini file in C:\xampp\php for this line:

[CODE];extension=php_mysql.dll[/CODE]

If you find that, remove the ;

As for the php error, I have no idea. Why don't you reinstall php? That would probably fix it. ?

PostPosted: 30. August 2008 18:04
by 2words4uready
still not working
and the line you mentioned was already uncommented

PostPosted: 30. August 2008 23:03
by Wiedmann
Cannot load mysql extension. Please check your PHP configuration. - Documentation

Your (XAMPP) PHP is using a wrong "php.ini".

PostPosted: 30. August 2008 23:55
by w4vy
The correct php.ini is inside xampp/apache/bin ok m8

Re: I dont think php is working. or mysql

PostPosted: 31. August 2008 21:01
by Dave_L
2words4uready wrote:
Code: Select all
<?
echo "test";
?>


short_open_tag might not be enabled in php.ini.

Try:

Code: Select all
<?php echo "test" ?>