•
•
•
•
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
![]() |
•
•
Join Date: Feb 2005
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
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.
•
•
Join Date: Mar 2005
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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:
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.
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.
•
•
Join Date: Apr 2005
Location: California
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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
Once I added the trailing slash, the installation worked for me.
Andreas
•
•
Join Date: Apr 2005
Posts: 15
Reputation:
Rep Power: 4
Solved Threads: 0
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.
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.
•
•
Join Date: Dec 2004
Posts: 18
Reputation:
Rep Power: 4
Solved Threads: 0
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:
•
•
Join Date: Jul 2005
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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 .
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 .
•
•
Join Date: Jun 2005
Location: Kansas City, Missouri, USA
Posts: 344
Reputation:
Rep Power: 4
Solved Threads: 4
•
•
•
•
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- How to install a Debian LAMP Server (PHP)
- Gentoo vs Ubuntu (Getting Started and Choosing a Distro)
- how to hard recover pc (Techies' Lounge)
- htpasswd and htaccess config (PHP)
Other Threads in the PHP Forum
- Previous Thread: Problem with PDFLib
- Next Thread: Defferences between php 4 and php5


Linear Mode