Build WordPress website on a CentOS 6.5 server.
-
Postfix is installed (already was) and i just did a quick configure and it works from a command line. WordPress is still not sending email though.
This worked perfectly from SSH: echo test | mail [email protected]
-
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.
Then I also wanted to look at a different theme. When you click install it wants FTP information? No other method. Again WTF?
Not happy with this choice ATM.
-
@JaredBusch said:
Postfix is installed (already was) and i just did a quick configure and it works from a command line. WordPress is still not sending email though.
This worked perfectly from SSH: echo test | mail [email protected]
There is a plugin to disable mail but you'd know if you had installed it.
-
@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.
-
@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
-
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]'); ?>
-
@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.
-
@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.
-
@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.
-
@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.
-
@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.
-
Never seen anything like this. Let me go look at my menus.
-
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.
-
@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.
-
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?
-
@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
-
Okay, well that test tells us that there is a PHP issue rather than a WordPress issue.
-
@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. -
@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.
-
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