PDA

View Full Version : [kubuntu] Help with PHP configuration in apache


DFord425
October 20th, 2008, 09:44 PM
I want to be able to send email in using PHP. I read online that i have to change the php.ini file if i want to use a remote server. Does anyone know where the file is that i have to change in kubuntu. I know that .ini files are used in windows, right?

scragar
October 20th, 2008, 09:50 PM
/etc/php5/apache2/php.iniyou will need root perms, so run something like:
kdesu kwriter /etc/php5/apache2/php.inireplacing kwriter with the text editor of your choice.

You need to set:
SMTP to your server
smtp_port to the port

I can't be 100% sure this will work though, I've never had to do this myself.

DFord425
October 20th, 2008, 10:09 PM
I appears i need to use sendmail. Is it possible to setup sendmail to use my google account?