ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Build WordPress website on a CentOS 6.5 server.

    IT Discussion
    linux php mysql centos wordpress
    10
    118
    40.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Ambarishrh @scottalanmiller
      last edited by

      @scottalanmiller said:

      @jasonh said:

      Are you able to ping the server from your desktop?

      She can see the site up now.

      This is the URL: http://119.9.77.226/

      shows Error establishing a database connection.

      DB credentials correct?

      J 1 Reply Last reply Reply Quote 0
      • T
        technobabble
        last edited by

        I have found, incorrectly typing in the database name and database username is the culprit.

        On my CentOS box with cPanel, database name is techno_name-of-database, database username is techno_admin.

        1 Reply Last reply Reply Quote 0
        • J
          Joy
          last edited by

          Thank you for you replies i will my database again 🙂

          1 Reply Last reply Reply Quote 0
          • J
            Joy @Ambarishrh
            last edited by

            @ambarishrh said:

            @scottalanmiller said:

            @jasonh said:

            Are you able to ping the server from your desktop?

            She can see the site up now.

            This is the URL: http://119.9.77.226/

            shows Error establishing a database connection.

            DB credentials correct
            I modified my my settings in "/etc/httpd/conf/httpd.conf" after that i restarted the Apache.and now its unable to start again.it says DAY-4.PNG

            J 1 Reply Last reply Reply Quote 0
            • J
              Joy @Joy
              last edited by

              @Joyfano said:

              @ambarishrh said:

              @scottalanmiller said:

              @jasonh said:

              Are you able to ping the server from your desktop?

              She can see the site up now.

              This is the URL: http://119.9.77.226/

              shows Error establishing a database connection.

              DB credentials correct
              I modified my my settings in "/etc/httpd/conf/httpd.conf" after that i restarted the Apache.and now its unable to start again.it says DAY-4.PNG

              I just resolved this error. Will check again if my Apache is able to start

              1 Reply Last reply Reply Quote 0
              • J
                Joy
                last edited by

                I am stuck again cannot access my localhost right now, If i am accessing it using lynx ( running in centos) it says unable to contact localhost.
                Except modifying the WP-config.php i also modified my VirtualHost.
                Still working on how to fix my localhost 😞

                S 1 Reply Last reply Reply Quote 0
                • S
                  scottalanmiller @Joy
                  last edited by

                  @Joyfano said:

                  I am stuck again cannot access my localhost right now, If i am accessing it using lynx ( running in centos) it says unable to contact localhost.
                  Except modifying the WP-config.php i also modified my VirtualHost.
                  Still working on how to fix my localhost 😞

                  Well, since you were able to access the site before you didn't need to touch the VirtualHost settings. So just put that back to the way that it was before.

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Joy @scottalanmiller
                    last edited by

                    @scottalanmiller said:

                    @Joyfano said:

                    I am stuck again cannot access my localhost right now, If i am accessing it using lynx ( running in centos) it says unable to contact localhost.
                    Except modifying the WP-config.php i also modified my VirtualHost.
                    Still working on how to fix my localhost 😞

                    Well, since you were able to access the site before you didn't need to touch the VirtualHost settings. So just put that back to the way that it was before.

                    I now fixed and the syntax and also set the default VirtualHost. I still cannot access my Localhost using my Lynx (running in Centos server).

                    S A 2 Replies Last reply Reply Quote 0
                    • S
                      scottalanmiller @Joy
                      last edited by

                      @Joyfano said:

                      @scottalanmiller said:

                      @Joyfano said:

                      I am stuck again cannot access my localhost right now, If i am accessing it using lynx ( running in centos) it says unable to contact localhost.
                      Except modifying the WP-config.php i also modified my VirtualHost.
                      Still working on how to fix my localhost 😞

                      Well, since you were able to access the site before you didn't need to touch the VirtualHost settings. So just put that back to the way that it was before.

                      I now fixed and the syntax and also set the default VirtualHost. I still cannot access my Localhost using my Lynx (running in Centos server).

                      You returned the file to exactly how it was before you changed it?

                      1 Reply Last reply Reply Quote 0
                      • A
                        Ambarishrh @Joy
                        last edited by

                        @Joyfano Remember the golden rule!

                        Always take backup of any config file before you make any changes, so in case something goes wrong, you can always rename the backup file to original and check. 🙂

                        S J 2 Replies Last reply Reply Quote 1
                        • S
                          scottalanmiller @Ambarishrh
                          last edited by

                          @ambarishrh said:

                          @Joyfano Remember the golden rule!

                          Always take backup of any config file before you make any changes, so in case something goes wrong, you can always rename the backup file to original and check. 🙂

                          Very good advice 🙂

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            Ambarishrh @scottalanmiller
                            last edited by

                            @scottalanmiller Thanks! I learned this the hard way! 🙂

                            1 Reply Last reply Reply Quote 0
                            • J
                              Joy @Ambarishrh
                              last edited by

                              @ambarishrh said:

                              @Joyfano Remember the golden rule!

                              Always take backup of any config file before you make any changes, so in case something goes wrong, you can always rename the backup file to original and check. 🙂

                              Thank you. i just learned that today. I edited my config file without any back up 😞

                              1 Reply Last reply Reply Quote 0
                              • J
                                Joy
                                last edited by

                                I am now working on how to find the correct wp-config.php.
                                Is there any way/command that i can use to find it quickly?

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  scottalanmiller @Joy
                                  last edited by

                                  @Joyfano you have to know what directory your web server is using.

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    Joy
                                    last edited by

                                    Finally I made it 🙂

                                    S A 2 Replies Last reply Reply Quote 0
                                    • S
                                      scottalanmiller @Joy
                                      last edited by

                                      @Joyfano Congrats!

                                      J 1 Reply Last reply Reply Quote 0
                                      • J
                                        Joy @scottalanmiller
                                        last edited by

                                        @scottalanmiller said:

                                        @Joyfano Congrats!

                                        Thanks 🙂

                                        heheh Now my Project is to post more in ML

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          scottalanmiller @Joy
                                          last edited by

                                          @Joyfano awesome

                                          And work on your HTML5

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            Joy @scottalanmiller
                                            last edited by

                                            @scottalanmiller said:

                                            @Joyfano awesome

                                            And work on your HTML5

                                            Oh yes.. I almost forgot my HTML5 ..
                                            Thanks for reminding me 🙂

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 4 / 6
                                            • First post
                                              Last post