PHP Mail() On Default Debian Install

Jul 6, 2009

We recently installed a fresh copy of Debian and PHP, however mail() doesn't want to send any emails, despite being enabled in php.ini etc.

Someone told me mail() will not work straight out of the box with a new Debian setup.

View 3 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Possible To Install To Debian Jessie With Auto-install Script?

Jul 19, 2015

Is it possible to install Plesk 12 to Debian Jessie with the autoinstall script?

View 7 Replies View Related

PhpMyAdmin On Debian - Install

Jun 4, 2007

I just upgraded to Debian from RedHat, but I'm a little lost trying to get phpMyAdmin working. Below is a snapshot of my config.

I'm sure I'm missing something.

looks like I have the packages...

debianlinux [/root] # dpkg -l | grep php
ii libapache-mod-php5 5.2.0-8+etch4
ii libapache2-mod-php4 4.4.4-8+etch2
ii php4-common 4.4.4-8+etch2
ii php5-common 5.2.0-8+etch4
ii php5-gd 5.2.0-8+etch4
ii php5-mcrypt 5.2.0-8+etch4
ii php5-mysql 5.2.0-8+etch4
ii phpmyadmin 2.9.1.1-3

am I missing any apache modules?

debianlinux [/etc/apache2] # apache2ctl -t -D DUMP_MODULES
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
python_module (shared)
negotiation_module (shared)
perl_module (shared)
php4_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK

here is my short and sweet apache2.conf

debianlinux [/etc/apache2] # cat apache2.conf
ServerRoot "/etc/apache2/"
ServerName debianlinux
LockFile /var/lock/apache2/accept.lock
PidFile /var/run/apache2.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_worker_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
User apache2
Group apache2
AccessFileName .htaccess
<Files ~ "^.ht">
Order allow,deny
Deny from all
</Files>
TypesConfig /etc/mime.types
DefaultType text/plain
HostnameLookups Off
ErrorLog /var/log/apache2/error.log
LogLevel warn
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
Include /etc/apache2/ports.conf
Include /etc/apache2/conf.d/
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
LogFormat "%h %l %u %t "%r" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
ServerSignature Off
<IfModule alias_module>
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_autoindex.c>
IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=*
DefaultIcon /icons/blank.gif
ReadmeName README.html
HeaderName HEADER.html
IndexIgnore .??* *~ *# RCS CVS *,v *,t
</IfModule>
<IfModule mod_mime.c>
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
</IfModule>
<IfModule mod_mime.c>
AddCharset us-ascii .ascii .us-ascii
AddCharset ISO-8859-1 .iso8859-1 .latin1
AddHandler type-map var
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>
Include /etc/apache2/sites-enabled/
Include /etc/phpmyadmin/apache.conf

I can hit my default site okay, which in in /root (for testing)

debianlinux [/etc/apache2/sites-available] # cat default
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /root/public_html/
<Directory /root/public_html/>
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /root/public_html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>

what about phpMyAdmin configuration?

debianlinux [/etc/phpmyadmin] # ls -la
total 44
drwxr-xr-x 2 root root 4096 2007-06-02 06:54 .
drwxr-xr-x 72 root root 4096 2007-06-03 10:59 ..
-rw-r--r-- 1 root root 654 2007-06-02 06:34 apache.conf
-rw-r--r-- 1 root root 205 2007-06-02 06:35 apache.conf.beta
-rw-r----- 1 root www-data 63 2007-05-29 05:39 blowfish_secret.inc.php
-rw-r--r-- 1 root root 170 2007-05-29 05:39 config.footer.inc.php
-rw-r--r-- 1 root root 170 2007-05-29 05:39 config.header.inc.php
-rw-r--r-- 1 root root 5943 2007-05-29 05:39 config.inc.php
-rw-r--r-- 1 root root 1542 2007-06-02 06:35 htaccess
-rw-r----- 1 root www-data 8 2007-05-29 05:39 htpasswd.setup

here is contents of config.inc.php

<?php
$i = 0;
$i++;
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
?>

all the phpmyadmin files are in /usr/share/phpmyadmin - any config tasks here?

View 8 Replies View Related

Phpmyadmin Install On DEBIAN

Mar 2, 2007

This should be a routine walk in the park job for me but for some reason this time the phpmyadmin installation on debian is giving me so much trouble. I have installed it numerous times with no issues.

I am trying phpmyadmin installation the usual way, "apt-get install phpmyadmin" but no matter what I do I keep getting "500 Internal Server Error".

My mysql server has a root password.

I know debian well and they wont put a package up which has not been tested well so I am surprised phpmyadmin is not working properly on the basic installation.

I have been trying to make it work for 3 days now and as a last resort I am coming here to see if someone can shed some light on the issue.

View 4 Replies View Related

Advantage Debian 64 Versus Regular Debian

Oct 9, 2008

I just ordered a server which has that setup:

AMD Athlon 64 X2 6000+ Dual Core
8MB RAM
2x750GB RAID 1 HD

Now I wanna run it with DirectAdmin, but obviously DirectAdmin doesn´t support the Debian 64 which is installed but only 32 bit Debian.

Now I wonder wether I could setup a Debian 32 as well on that system and if yes, wether it would give me a deficit in Performance?

Or would you rather go with CentOS 64 which Directadmin supports?

View 6 Replies View Related

Plesk Automation :: IP Certificate Install By Default For Every Newly Created Webspaces

Jan 28, 2014

How to install a certificate for a brand ?

Let's say I have a brand B associate to a reseller R and a domain name domain.com.

When B sell a new subscription (with the associated webspace) it is available under sub.domain.com.

I would like to have a specific SSL certificate installed by default for every newly created webspaces by B under xxx.domain.co

View 7 Replies View Related

Change Default Sender Address Using Php Mail() / Sendmail

Oct 31, 2009

I'm wondering if anyone else has experience with this, or if it's something easy that I'm overlooking.

I am on a VPS service (CentOS Linux) and I want my php mail function emails to send from a specified address. I've already manipulated the headers, so the emails do appear to come from the specified addres, but on mobile devices it comes up as nobody@server1.mydomain.com format. I would like this to read something like no-reply@mydomain.com

know which configuration files can change this default address?

View 5 Replies View Related

Roundcube Mail RPM Install

Apr 21, 2008

I'm just setting up my first server and first time dealing with whm/cpanel and wondering if someone could help me out.

I'm trying to install Roundcube mail for all clients on the server (quite a few have requested it). Now i'm running Fedora 7 and its got a Roundcubemail RPM listed. So through WHM I chose to install that RPM and it went through the process and said done etc.

Thing is its not showing up on the list of webmail clients when clients click on webmail section in Cpanel.

Oh yeah its WHM/CPanel Version 11

Any ideas what i've missed.

I looked online for install instructions but they really only appear to be for singular accounts etc not server wide

View 11 Replies View Related

Plesk 12.x / Linux :: How To Install Mail Server On Parallels

Jul 21, 2014

I have a new 1 and 1 hosting account and have reimaged to have Plesk Panel 12 as I have used Plesk with another virtual server account.

However I do not know how to install the mail server.

Is there a simple way to install the mail server so I can set up pop mail boxes?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved