PHP MyAdmin

 
Post new topic   Reply to topic    Aprelium Forum Index -> Off Topic Discussions
View previous topic :: View next topic  
Author Message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Tue Jun 28, 2005 4:02 pm    Post subject: PHP MyAdmin Reply with quote

I've been following the tutorials on trustabyss.com/tutorials, and have installed PHP and MySQL. I'm trying to install phpMyAdmin, but whenever I go to http://127.0.0.1/phpadmin, I get an Error 500 - Internal Server Error Message. What am I not doing right?

Any help would be greatly appreciated!!!
Back to top View user's profile Send private message Send e-mail
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Tue Jun 28, 2005 4:05 pm    Post subject: Reply with quote

the exact error should be recorded in: log/cgi.log

Read the last couple of entries, and this should tell you why the error occurred.
_________________
Olly
Back to top View user's profile Send private message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Tue Jun 28, 2005 4:11 pm    Post subject: Reply with quote

It says "Broken Pipe"
Back to top View user's profile Send private message Send e-mail
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Tue Jun 28, 2005 4:53 pm    Post subject: Reply with quote

Got rid of that message... now it says:

cannot load mysql extension;
please check PHP configuration
Documentation

The documentation says:
Quote:

[1.20] I receive the error "cannot load MySQL extension, please check PHP Configuration".
To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed.

Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar.

Where do I find the software package?


Last edited by p3 on Wed Jun 29, 2005 2:57 pm; edited 2 times in total
Back to top View user's profile Send private message Send e-mail
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Tue Jun 28, 2005 5:04 pm    Post subject: Reply with quote

you need the Collection of PECL modules for PHP 5.0.4

Put the files into the ext folder, and uncomment "extension=php_mysql.dll" by removing the ; before it in php.ini.
_________________
Olly
Back to top View user's profile Send private message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Tue Jun 28, 2005 5:16 pm    Post subject: Reply with quote

Thanks - I'll try it...
Back to top View user's profile Send private message Send e-mail
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Tue Jun 28, 2005 5:20 pm    Post subject: Reply with quote

It still isn't working... same error message. I uncommented the thing in the php.ini files.
Back to top View user's profile Send private message Send e-mail
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Tue Jun 28, 2005 6:10 pm    Post subject: Reply with quote

If you read my tutorial properly , you should enable php_mysql.dll like
I mentioned , you need to read it carefully in order to install PHP5. :-)

Sincerely , TRUSTpunk
Back to top View user's profile Send private message Visit poster's website
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Tue Jun 28, 2005 7:04 pm    Post subject: Reply with quote

I;ll make sure I didn't miss anything - I read it over, and don't think I did, but I'll do it again to be sure.
Back to top View user's profile Send private message Send e-mail
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Tue Jun 28, 2005 7:12 pm    Post subject: Reply with quote

It still isn't working - everything is how your tutorial says it should be, and my firewall isn;t the problem.
Back to top View user's profile Send private message Send e-mail
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Tue Jun 28, 2005 7:59 pm    Post subject: Reply with quote

what's the exact error your getting?

have you changed the extension_dir from
Code:
extension_dir = "./"

to
Code:
extension_dir = "ext"


As I think it mentions in TRUSTpunk's tutorials!
_________________
Olly
Back to top View user's profile Send private message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Tue Jun 28, 2005 8:12 pm    Post subject: Reply with quote

Already Done


The link below will show you the error:

http://69.108.163.136/phpadmin

I know php works - i have a script up on my server...[/url]
Back to top View user's profile Send private message Send e-mail
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Wed Jun 29, 2005 4:20 am    Post subject: Reply with quote

I've re-installed everything - still same error.
Back to top View user's profile Send private message Send e-mail
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Wed Jun 29, 2005 11:12 am    Post subject: Reply with quote

in php.ini what is your extension_dir set to?

and where have you saved the modules, relative to PHP's main folder?
_________________
Olly
Back to top View user's profile Send private message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Wed Jun 29, 2005 3:01 pm    Post subject: Reply with quote

olly86 wrote:
in php.ini what is your extension_dir set to?


"C:/php/ext/"

olly86 wrote:
and where have you saved the modules, relative to PHP's main folder?


In the "ext" folder.[/quote]
Back to top View user's profile Send private message Send e-mail
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Wed Jun 29, 2005 3:50 pm    Post subject: Reply with quote

Can you place your php.ini file and a page with phpinfo embedded in it on your server then post the URLs? If you're paranoid about the phpinfo page, run it manually on your server and copy the entire output to a text file.
Back to top View user's profile Send private message
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Wed Jun 29, 2005 3:52 pm    Post subject: Reply with quote

try setting your extension_dir to just "ext" that works for me.
_________________
Olly
Back to top View user's profile Send private message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Wed Jun 29, 2005 3:58 pm    Post subject: Reply with quote

Still not working...

Good idea, though
Back to top View user's profile Send private message Send e-mail
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Wed Jun 29, 2005 7:08 pm    Post subject: Reply with quote

OK. You could try Aprelium's preconfigured PHP package from: http://www.aprelium.com/abyssws/php5win.html
_________________
Olly
Back to top View user's profile Send private message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Wed Jun 29, 2005 7:15 pm    Post subject: Reply with quote

Anonymoose wrote:
Can you place your php.ini file and a page with phpinfo embedded in it on your server then post the URLs? If you're paranoid about the phpinfo page, run it manually on your server and copy the entire output to a text file.


Sure

I'll put them up ASAP
Back to top View user's profile Send private message Send e-mail
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Wed Jun 29, 2005 7:18 pm    Post subject: Reply with quote

http://p3net.no-ip.org/php.ini-dist

http://p3net.no-ip.org/php.ini-recommended

http://p3net.no-ip.org/phptest.php

I was going to ask another question reguarding these two (the top one) files, but since they are here....

I am trying to configure the php.ini files for sending mail - I think I configured them right - but I want to make sure...
Back to top View user's profile Send private message Send e-mail
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Wed Jun 29, 2005 7:22 pm    Post subject: Reply with quote

php.ini-dist and php.ini-recommended will not be recognised as php's config file. You need a config file called php.ini either in C:\Windows, or the folder where PHP is installed.
_________________
Olly
Back to top View user's profile Send private message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Wed Jun 29, 2005 8:19 pm    Post subject: Reply with quote

EDIT: Created file & accessed phpmyadmin
Back to top View user's profile Send private message Send e-mail
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Wed Jun 29, 2005 8:54 pm    Post subject: Reply with quote

You finding it by reading the fine manual.

http://docs.php.net/en/install.windows.manual.html

Quote:

The next step is to set up a valid configuration file for PHP, php.ini. There are two ini files distributed in the zip file, php.ini-dist and php.ini-recommended. We advise you to use php.ini-recommended, because we optimized the default settings in this file for performance, and security. Read this well documented file carefully because it has changes from php.ini-dist that will drastically affect your setup. Some examples are display_errors being off and magic_quotes_gpc being off. In addition to reading these, study the ini settings and set every element manually yourself. If you would like to achieve the best security, then this is the way for you, although PHP works fine with these default ini files. Copy your chosen ini-file to a directory that PHP is able to find and rename it to php.ini. PHP searches for php.ini in the locations described in The configuration file section.


A little bit of reading the instructions on your part could have saved everyone else a lot of time and effort here.
Back to top View user's profile Send private message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Wed Jun 29, 2005 9:33 pm    Post subject: Reply with quote

OK - Glad I got all of that taken care of.

Thanks to everyone who provided info here -

phpmyadmin is now up & runnig, as is phpbb
Back to top View user's profile Send private message Send e-mail
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Wed Jun 29, 2005 10:05 pm    Post subject: Reply with quote

We're glad that you got it setup finally. Enjoy Abyss!

Sincerely , TRUSTpunk
Back to top View user's profile Send private message Visit poster's website
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Thu Jun 30, 2005 3:50 am    Post subject: Reply with quote

Don't worry - I already enjoy Abyss... (the "free" thing really helps ;) )

I;ve used Apache before, and, in my opinion, Abyss leaves it in the dust...

Now I can also enjoy phpbb!!!!!!!
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Off Topic Discussions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group