User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 427,861 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,615 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 72642 | Replies: 35
Reply
Join Date: Feb 2005
Posts: 1
Reputation: ScottieG is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ScottieG ScottieG is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #21  
Feb 15th, 2005
Originally Posted by trinity
Maybe my folders aren't placed right - I have:
C:\PHP
C:\phpmyadmin
C:\mysql
Can somebody tell me what they have, is there a specific hierarchy I'm supposed to put them in?
Thanks.

Trinity, phpMyAdmin is run through a browser, so you have to put it someplace your web server can get to it (ie. c:\apache\htdocs\phpMyAdmin\)

Try sticking it in your htdocs folder and browsing to http://localhost/phpMyAdmin/

Hope that helps.
Reply With Quote  
Join Date: Mar 2005
Posts: 1
Reputation: Taco is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Taco Taco is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #22  
Mar 19th, 2005
For those who tried all the above, but still have no succes:

Open httpd.conf (the Apache configuration file) in a text editor and add the following line:

PHPIniDir "C:/php"

Replace 'C:/php' with the path to the directory where your php.ini file is residing.

Save the file and restart Apache.

This did the trick for me.
Reply With Quote  
Join Date: Apr 2005
Location: California
Posts: 2
Reputation: aguther is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
aguther aguther is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #23  
Apr 3rd, 2005
What gave me some headache was the fact that I needed to add to all paths a trailing slash in contrary to the examples! I needed that for PHPIniDir in the Apache httpd.conf files as well as in the php.ini file with the extension_dir.

Once I added the trailing slash, the installation worked for me.

Andreas
Reply With Quote  
Join Date: Apr 2005
Posts: 15
Reputation: soulman is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
soulman soulman is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #24  
Apr 12th, 2005
I am having same problem, just want to try your last advice. My question is where do you put this line in apache2 httpd.conf.

Much appreciated. Thanks.


Originally Posted by Taco
For those who tried all the above, but still have no succes:

Open httpd.conf (the Apache configuration file) in a text editor and add the following line:

PHPIniDir "C:/php"

Replace 'C:/php' with the path to the directory where your php.ini file is residing.

Save the file and restart Apache.

This did the trick for me.
Reply With Quote  
Join Date: Apr 2005
Location: California
Posts: 2
Reputation: aguther is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
aguther aguther is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #25  
Apr 12th, 2005
I added the line starting with PHPIniDir after my last line of LoadModule, which was the one that is loadeing the php5_module.

Hope that helps.

Andreas
Reply With Quote  
Join Date: Apr 2005
Posts: 15
Reputation: soulman is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
soulman soulman is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #26  
Apr 13th, 2005
wow! after spending days on it the last advice on entering
PHPIniDir "C:/php" seem to have done the trick. I can finally see the username/password screen and then see phpmyadmin index page. Thank you.
Reply With Quote  
Join Date: Dec 2004
Posts: 18
Reputation: guest is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
guest guest is offline Offline
Newbie Poster

Solution Re: php5 and phpmyadmin??

  #27  
Apr 20th, 2005
k guys you don't need to move anything around and what not, just download the full zip which has the extensions for mysql from php.net, then download the windows installer and let it overwrite and configure it's shite, don't keep your exisiting php.ini file, but rather find the new one and simply replace ';extension=php_mysql.dll' with 'extension=ext/php_mysql.dll' dropping the ; and adding the ext to get to php_msql.dll in the ext folder for php 5. Baaaaazing :eek:
Reply With Quote  
Join Date: Jul 2005
Posts: 2
Reputation: bytesurfer is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
bytesurfer bytesurfer is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #28  
Jul 16th, 2005
hi all ..
Just wanna ask what is the different with uncommented and commented.

What is just did for the configuration is just as displayed in this site
http://www.devside.net/web/server/windows/phpmyadmin

But what you hve to do is beware of the uncommented extension althought i not so sure what is that .. (uncommented == removing the ; )

Then everything is resolve..

hope you guys can tell me what is it ..

regards,
Billy

thanks again guys .
Reply With Quote  
Join Date: Jun 2005
Location: Kansas City, Missouri, USA
Posts: 344
Reputation: Troy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 4
Troy's Avatar
Troy Troy is offline Offline
Posting Whiz

Re: php5 and phpmyadmin??

  #29  
Jul 16th, 2005
Originally Posted by bytesurfer
Just wanna ask what is the different with uncommented and commented.

The difference between an uncommented and commented line is that one is commented and the other is not! :eek: A "commented" line will be ignored by the processor -- comments only exist for the human reader. In many configuration files, lines that you can optionally enable will be commented out. This makes it easy for you to enable the line by simply removing the comment character at the beginning of the line.

The php.ini file contains several lines that reference extensions that you can optionally enable or disable to fit your requirements. On Windows, these extensions are DLL files (Dynamic Link Libraries). On Linux, they are .so files. In either case, when Apache is started, and it loads PHP as a module, it checks the php.ini file to see which extensions to also load. For example, if you want to work with a MySQL database, you need to enable (uncomment) the mysql.dll extension line. For phpMyAdmin, you'll also want to enable the mbstring.dll extension.
Troy Wolf is the author of SnippetEdit. "Website editing as easy as it gets." IX Web Hosting
Reply With Quote  
Join Date: Jul 2005
Posts: 2
Reputation: bytesurfer is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
bytesurfer bytesurfer is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #30  
Jul 16th, 2005
Oh i see .. thanks man .. no wonder we should do the same with PHP when we have to remove the (#) from the module part inorder for us to use the module ...

Thanks man .. that really do help ..

regards,
Billy
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 3:40 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC