php-general Digest 8 Jul 2011 15:38:53 -0000 Issue 7395
Topics (messages 313989 through 313993):
Re: 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
313989 by: Md Ashickur Rahman Noor
313990 by: Geoff Shang
313992 by: Shiplu Mokaddim
Mail System Error - Returned Mail
313991 by: rick.duvals.ca
Re: Constants in strings
313993 by: Pete Ford
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
Install lamp, it is a virtual package which will install all the basic
necessary thing that is need for web development.
----------------------------------------------------------
Dedicated Linux Forum in
Bangladesh<http://forums.linuxdesh.com/member.php?action=register&referrer=3%20>
Follow Me Twiter <https://twitter.com/#%21/AshickunNoor>
Thank you
Md Ashickur Rahman
On Fri, Jul 8, 2011 at 7:42 AM, Varuna Seneviratna
<varunawith...@gmail.com>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 above by running the command "apt-cache search PHP5
> 1 What is the difference between the two.
> 2 What shall I install to learn PHP with apache(Please specify the
> apache version too since there are two types available for Ubuntu)
>
> --
> VS
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
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 above by running the command "apt-cache search PHP5
1 What is the difference between the two.
One is part of the other.
I'm running Debian (which Ubuntu is based on), and by looking at the php5
package you can see that it depends on php5-cgi and a few other packages.
2 What shall I install to learn PHP with apache(Please specify the
apache version too since there are two types available for Ubuntu)
Can't really help you much there without more information, though again
assuming the Debian packages are the same or similar, installing the
apache2 package should pull in everything you need.
HTH,
Geoff.
--- End Message ---
--- Begin Message ---
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
>
--- End Message ---
--- Begin Message ---
Your message was undeliverable due to the following reason:
Your message was not delivered because the destination server was
not reachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.
Most likely there is a network problem that prevented delivery, but
it is also possible that the computer is turned off, or does not
have a mail system running right now.
Your message was not delivered within 6 days:
Server 110.41.11.40 is not responding.
The following recipients did not receive this message:
<php-gene...@lists.php.net>
Please reply to postmas...@lists.php.net
if you feel this message to be in error.
--- End Message ---
--- Begin Message ---
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 I might have a
mixture of ' and "
eg.
$sql =<<<EoSQL
SELECT
foo AS "Foo"
FROM Bar
WHERE baz='quux'
EoSQL;
--
Peter Ford, Developer phone: 01580 893333 fax: 01580 893399
Justcroft International Ltd. www.justcroft.com
Justcroft House, High Street, Staplehurst, Kent TN12 0AH United Kingdom
Registered in England and Wales: 2297906
Registered office: Stag Gates House, 63/64 The Avenue, Southampton SO17 1XS
--- End Message ---