Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Upon running the "setup.php" file to create/configure "config.inc.php" I received this error:
" Warning: main(./libraries/common.lib.php) [function.main]: failed to open stream: No such file or directory in /srv/www/htdocs/phpMyAdmin/setup.php on line 10
Fatal error: main() [function.require]: Failed opening required './libraries/common.lib.php' (include_path='/usr/share/php') in /srv/www/htdocs/phpMyAdmin/setup.php on line 10"
What does this mean? How do I fix it? "common.lib.php" exsists as well as all mentioned directories, I checked. I was just checking my PHP test page, and discovered that in the configure command section it reads '--without-mysql'. Now, I'm not sure if that has anything to do with it, but figured I'd pass it by you incase it did.
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262
Rep:
Check your files perms. The "libraries" directory (and the others) should be readeable and executable by your web server and all files should be readable. Issuing the following commands inside the phpMyAdmin directory should insure you have correct perms:
Code:
find . -type d -exec chmod a+rx {} \;
find . -type f -exec chmod a+r {} \;
I'm still receiving the same errors, now I read the documentation and that's what I'm following. Now what I think might have happened was that I misinterpreted the directions and the problem I was receiving is due to the fact that I had copied the setup.php file to the main /phpMyAdmin/ directory. Instead I think I should have left it in the /phpMyAdmin/scripts/. Can anyone confirm?
While attempting to access the /phpMyAdmin/scripts/setup.php i get the "Object not found". All permissions are read/write.
I did read: the provided documentation, exsisting postings on two separate support forums, as well as a HOWTO, all prior to posting. That was mentioned in my previous post. I am however a newbie, and I came to believe that setup.php was the easiest way to accomplish the creation of config.inc.php; mistakes will happen. I thank you for your help.
I'd welcome your participation in any future problems I might encounter, .
Resolved, your solution was correct! Thankyou so very much. phpMyAdmin is now up and running. I must make note to anyone that runs into this same problem, you must use for the controluser/password fields the actual password to the mysql server. Also, remember to reboot the server once all configuration modifications are completed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.