Re: [PHP] What type of PHP5 shall I install to learn PHP5 together with Apache, Please specify the Apache type too Since There are Two Apache types also

2011-07-08 Thread Geoff Shang
On Fri, 8 Jul 2011, Varuna Seneviratna wrote: I am Using Ubuntu 11.04 Desktop as my OS.Below are the two types of PHP5 available for installation php5 - server-side, HTML-embedded scripting language (metapackage) php5-cgi - server-side, HTML-embedded scripting language (CGI binary) I got the

Re: [PHP] What type of PHP5 shall I install to learn PHP5 together with Apache, Please specify the Apache type too Since There are Two Apache types also

2011-07-08 Thread Shiplu Mokaddim
See https://help.ubuntu.com/community/ApacheMySQLPHP Also you can try the command bellow sudo apt-get install lamp-server^ Note, ^ is a part of the package name. Sent from a handheld device -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Constants in strings

2011-07-08 Thread Pete Ford
On 06/07/11 17:33, Robert Williams wrote: Where I've made most use of heredocs is when I want to do nothing but define a bunch of long strings in one file. I find the most useful thing about heredocs is that they don't care about quotation marks, so I often use them for SQL statements where

[PHP] PEAR Mail $obj-send()

2011-07-08 Thread Brian Smither
A client has: PHP 5.3 on Win7x64 running a local web app that needs to send mail. (This app was once hosted on a linux-based hosted space.) Apache 2.2 is installed but apparently not being used. I think the IIS service is actually the web server that is engaged. During troubleshooting a wide

Re: [PHP] PEAR Mail $obj-send()

2011-07-08 Thread Jim Lucas
On 7/8/2011 9:50 AM, Brian Smither wrote: A client has: PHP 5.3 on Win7x64 running a local web app that needs to send mail. (This app was once hosted on a linux-based hosted space.) Apache 2.2 is installed but apparently not being used. I think the IIS service is actually the web server

[PHP] Re: PEAR Mail $obj-send()

2011-07-08 Thread Brian Smither
Instead of 'auth'= true, I used 'auth' = PLAIN as suggested by a user comment on the Mail documentation page.) $obj = Mail::factory('smtp', array ('host' = $host, 'port' = $port, 'auth' = true, 'username' = $username, 'password' = $password)); (Variables are set. $host =