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.

    Look in the directory where setup.php is located (in the htdocs/phpMyAdmin/ folder). Do you see a folder called libraries?

      Yes. It's there. As well as the file it's flagging. (That was mentioned in the initial question, but any response is welcomed.).

        Try going into the PMA directory from the CLI/shell/ssh/etc. and doing a chmod 777 libraries as well as chmod 777 libraries/* ?

          shell/ssh/etc? I'm not sure where to locate that.

            Under /usr/bin/, /etc/, or /usr/lib/?? Or am I way off?

              Lol... what I was getting at is access the server through whatever means you have, if you own the server and can actually walk up to the console, then do that... if not, and you have ssh/telnet access, use that.

              If you don't have shell access, and only FTP access, most FTP programs (even Internet Explorer) allow you to change permissions on files and folders. In IE, just go to the properties of the 'libraries' folder and check all 6 checkboxes.

                I'm sitting right next to it. It's SuSe 10.0. Sorry, lol. I'm somewhat a newbie, and I forget I'm no longer on LinuxQuestions.org.

                  This post was removed because I realized what I had asked did not make sense only after having posted what I meant to ask separately.

                    /libraries/ in the /phpMyAdmin/ directory has full Read/Write permissions for both owner and group. Other's is left just Read. Do Others need to have R/W too?

                      I wouldn't think so... but go ahead and try it.

                      If that doesn't work, completely erase the PMA directly, download a fresh copy of the latest version from www.phpmyadmin.net and try installing it from scratch.

                      EDIT: Also, don't forget to follow the Documenation.html/.txt instructions for installing PMA. It's not a simple extract-and-run operation!

                        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.

                          The problem was that setup.php was non-functional. Instead I copied the config.default.php to phpMyAdmin/config.inc.php, and edited it manually. I also had not installed the required PHP4-extension module. Now it's working fine!

                            Glad you got it resolved. Don't forget to mark the thread resolved.

                              Write a Reply...