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.0k
    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.
    • JaredBuschJ
      JaredBusch @scottalanmiller
      last edited by

      @scottalanmiller said:

      @JaredBusch said:

      Then I also wanted to look at a different theme. When you click install it wants FTP information? No other method. Again WTF?

      I just install themes manually, just download and unzip. Never tried anything automatic.

      but with the built in tools there is no option to download the theme. I again have to go outside of the CMS to even find the source code. Yes I am choosing not to do it "their" way, but this is really not friendly either.

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @JaredBusch
        last edited by

        @JaredBusch said:

        Really frustrated on this. I was simply hoping to set up a basic CMS and be done. Postfix works. WordPress works. WordPress will not send an email. I can find no settings in the dashboard related to PHP mail. So I do more searching and find out there are no settings. You cannot even test. WTF.

        When you test sending email, what do the logs say? They generally tell you more than you would expect.

        JaredBuschJ 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @JaredBusch
          last edited by

          @JaredBusch said:

          but with the built in tools there is no option to download the theme. I again have to go outside of the CMS to even find the source code. Yes I am choosing not to do it "their" way, but this is really not friendly either.

          Right, you are downloading a theme. I had no idea that there was even a "get a theme" from inside the application. Plugins being downloaded automatically is very new. Hadn't seen anything like that with themes yet.

          All you do is download theme and unzip it, that's really all that you need to do.

          1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @scottalanmiller
            last edited by

            @scottalanmiller said:

            @JaredBusch said:

            @scottalanmiller I have installed no plugins. I will not be installing any plugins if I am required to setup and use an FTP server on this box. I refuse to to that just for a CMS

            I've never used FTP and I run a lot of WP. Not sure what it would be used for. You are running into some weird issue.

            No these are default use of the system.

            Imgur
            Imgur

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              Never seen anything like this. Let me go look at my menus.

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                Ah, I see. This is a VERY new interface. I work with WP all the time, at least a few times per week, and this is the first that I have seen this.

                1 Reply Last reply Reply Quote 1
                • JaredBuschJ
                  JaredBusch @scottalanmiller
                  last edited by

                  @scottalanmiller said:

                  @JaredBusch said:

                  Really frustrated on this. I was simply hoping to set up a basic CMS and be done. Postfix works. WordPress works. WordPress will not send an email. I can find no settings in the dashboard related to PHP mail. So I do more searching and find out there are no settings. You cannot even test. WTF.

                  When you test sending email, what do the logs say? They generally tell you more than you would expect.

                  I haven't look for the log location yet outside of the CMS which I will apparently have to do.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    I just did the install and it "just installed." It didn't request an FTP server or anything like that. None of that dialogue came up. It installed Make instantly with zero fuss. This is a nearly ten year old install.

                    Do you, perhaps, not have the entire WordPress directly owned by apache:apache?

                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @scottalanmiller
                      last edited by

                      @scottalanmiller said:

                      You can test PHP mail with this...

                      <? $headers = 'From: [email protected]'; mail('[email protected]', 'Test email using PHP', 'This is a test email message', $headers, '[email protected]'); ?>

                      I did this for a test before seeing your message

                      Imgur

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        Okay, well that test tells us that there is a PHP issue rather than a WordPress issue.

                        1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @scottalanmiller
                          last edited by

                          @scottalanmiller said:

                          I just did the install and it "just installed." It didn't request an FTP server or anything like that. None of that dialogue came up. It installed Make instantly with zero fuss. This is a nearly ten year old install.

                          Do you, perhaps, not have the entire WordPress directly owned by apache:apache?

                          No I do not. I made these directories myself after apache was installed a year ago.
                          I then dropped WP into one of them. Let me go fix that.

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @JaredBusch
                            last edited by

                            @JaredBusch said:

                            @scottalanmiller said:

                            I just did the install and it "just installed." It didn't request an FTP server or anything like that. None of that dialogue came up. It installed Make instantly with zero fuss. This is a nearly ten year old install.

                            Do you, perhaps, not have the entire WordPress directly owned by apache:apache?

                            No I do not. I made these directories myself after apache was installed a year ago.
                            I then dropped WP into one of them. Let me go fix that.

                            Ah, that is quite likely to cause that FTP problem. If it can't save the file itself, it will ask for an alternative method of transferring the file. It's a fallback method to make it easier for people to use on uncontrolled hosting platforms.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              Here are the PHP packages from my working system.....

                              -bash-4.1$ rpm -qa | grep -i php
                              php-mbstring-5.3.3-27.el6_5.x86_64
                              php-pecl-apc-3.1.9-2.el6.x86_64
                              php-pdo-5.3.3-27.el6_5.x86_64
                              php-gd-5.3.3-27.el6_5.x86_64
                              php-xmlrpc-5.3.3-27.el6_5.x86_64
                              php-pecl-memcache-3.0.5-4.el6.x86_64
                              php-common-5.3.3-27.el6_5.x86_64
                              php-mysql-5.3.3-27.el6_5.x86_64
                              php-xml-5.3.3-27.el6_5.x86_64
                              php-mcrypt-5.3.3-3.el6.x86_64
                              phpMyAdmin-3.5.8.2-1.el6.noarch
                              php-pear-1.9.4-4.el6.noarch
                              php-5.3.3-27.el6_5.x86_64
                              php-tidy-5.3.3-27.el6_5.x86_64
                              php-php-gettext-1.0.11-3.el6.noarch
                              php-PHPMailer-5.2.2-1.el6.noarch
                              php-cli-5.3.3-27.el6_5.x86_64

                              JaredBuschJ 1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @scottalanmiller
                                last edited by

                                @scottalanmiller well quite a difference..
                                [root@web ~]# rpm -qa | grep -i php
                                php-pecl-memcache-3.0.5-4.el6.i686
                                php-pear-1.9.4-4.el6.noarch
                                php-cli-5.3.3-27.el6_5.i686
                                php-pspell-5.3.3-27.el6_5.i686
                                php-common-5.3.3-27.el6_5.i686
                                php-gd-5.3.3-27.el6_5.i686
                                php-snmp-5.3.3-27.el6_5.i686
                                php-xmlrpc-5.3.3-27.el6_5.i686
                                php-devel-5.3.3-27.el6_5.i686
                                php-mysql-5.3.3-27.el6_5.i686
                                php-xml-5.3.3-27.el6_5.i686
                                php-5.3.3-27.el6_5.i686
                                php-pdo-5.3.3-27.el6_5.i686
                                [root@web ~]#

                                1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch
                                  last edited by

                                  I have no idea how I installed PHP a year ago. Just a basic setup I am certain as my old static site did not even use PHP except for a couple test scripts. So moving forward.

                                  chown -R apache:apache daerma.com and all better on that front.

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    Do you have the EPEL setup?

                                    1 Reply Last reply Reply Quote 0
                                    • JaredBuschJ
                                      JaredBusch
                                      last edited by

                                      @scottalanmiller i do now. just did that actually.

                                      1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch
                                        last edited by

                                        php-PHPMailer also installed php-mbstring. but still no mail. so i'll just go through and match all your php items then try again

                                        1 Reply Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch
                                          last edited by

                                          got distracted talked to my family..
                                          from /var/log/httpd/error_log: sendmail: fatal: chdir /var/spool/postfix: Permission denied
                                          THink there be the problem.

                                          1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch
                                            last edited by

                                            one command later...
                                            setsebool -P httpd_can_sendmail on

                                            all working.

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