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

    Build WordPress website on a CentOS 6.5 server.

    Scheduled Pinned Locked Moved IT Discussion
    linuxphpmysqlcentoswordpress
    118 Posts 10 Posters 41.8k Views
    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.
    • 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: webmaster@example.com'; mail('nobody@example.com', 'Test email using PHP', 'This is a test email message', $headers, '-fwebmaster@example.com'); ?>

              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
                                    • T
                                      technobabble
                                      last edited by

                                      Ok, I am using the same version as you, but when I click install theme, it automatically installs.

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

                                        @JaredBusch said:

                                        one command later...
                                        setsebool -P httpd_can_sendmail on

                                        all working.

                                        odd, I've never had to do that one before.

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

                                          @technobabble said:

                                          Ok, I am using the same version as you, but when I click install theme, it automatically installs.

                                          Yeah... we got that fixed already 😉 Folder perms.

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

                                            @scottalanmiller One of the many differences when installing on a standard linux server vs one with cPanel installed!

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