François Patte wrote:
> But in php.ini file (from debian), we can read:
>
> ; short_open_tag
> ; Default Value: On<--
> ; Development Value: Off
> ; Production Value: Off
Those are comments. The ';' is a comment character. The file has
templates for things people might wan
On 12/4/2013 2:14 AM, Bob Proulx wrote:
Jerry Stuckle wrote:
Bob Proulx wrote:
Jerry Stuckle wrote:
Ownership of the directory is root:root, but the scripts should
*never* be owned by root:root.
Uhmm... No. There is no problem whatsoever with php files being
owned by root:root. Why do you
Le 04/12/2013 02:33, Bob Proulx a écrit :
> François Patte wrote:
> Think back... How many times have someone asked you for help with
> something. And you asked them what did they do? And they said, "I
> didn't do anything!" And of those times how often did it turn out
> that they had actuall
Jerry Stuckle wrote:
> Bob Proulx wrote:
> > Jerry Stuckle wrote:
> > > Ownership of the directory is root:root, but the scripts should
> > > *never* be owned by root:root.
> >
> > Uhmm... No. There is no problem whatsoever with php files being
> > owned by root:root. Why do you think it is a pr
On 12/3/2013 7:59 PM, Bob Proulx wrote:
Jerry Stuckle wrote:
Bob Proulx wrote:
Jerry Stuckle wrote:
Bob Proulx wrote:
does not work in /var/ (with 644 permissions)
How did /var/www get 644 permissions? That is also incorrect.
The OP is talking about a script. Look again:
"does not wo
François Patte wrote:
> Le 03/12/2013 00:14, Bob Proulx a écrit :
> > François Patte wrote:
> >> I'd like to anable php with apache web server.
> >>
> >> apache2 is installed
> >> php5 is installed.
> >> apache php module is activated
> >
> > The above is just too vague and ambiguous. Do you mean
Jerry Stuckle wrote:
> Bob Proulx wrote:
> >Jerry Stuckle wrote:
> >>Bob Proulx wrote:
> does not work in /var/ (with 644 permissions)
> >>>How did /var/www get 644 permissions? That is also incorrect.
>
> The OP is talking about a script. Look again:
> "does not work in /var/ (with 6
On 12/3/2013 8:18 AM, François Patte wrote:
Le 03/12/2013 14:07, Linux-Fan a écrit :
On 12/03/2013 10:50 AM, François Patte wrote:
You misunderstood the sentence: the file where the php command is
written is in /var/www and has 644 permissions... (/var/www has, of
course, 755 permissions).
Re-
On 12/3/2013 3:03 AM, Bob Proulx wrote:
Jerry Stuckle wrote:
Bob Proulx wrote:
does not work in /var/ (with 644 permissions)
How did /var/www get 644 permissions? That is also incorrect.
chmod u=rwx,go+rx /var/www
'x' is not required for Apache php scripts. Unlike PHP CLI, the
scr
Le 03/12/2013 14:07, Linux-Fan a écrit :
> On 12/03/2013 10:50 AM, François Patte wrote:
>> You misunderstood the sentence: the file where the php command is
>> written is in /var/www and has 644 permissions... (/var/www has, of
>> course, 755 permissions).
>>
>> Re-reading my first message, I can'
On 12/03/2013 10:50 AM, François Patte wrote:
> You misunderstood the sentence: the file where the php command is
> written is in /var/www and has 644 permissions... (/var/www has, of
> course, 755 permissions).
>
> Re-reading my first message, I can't see any extra w in /var/www !
http://lists.d
Le 03/12/2013 00:14, Bob Proulx a écrit :
> François Patte wrote:
>> I'd like to anable php with apache web server.
>>
>> apache2 is installed
>> php5 is installed.
>> apache php module is activated
>
> The above is just too vague and ambiguous. Do you mean this?
Where is the ambiguity?
>
> a
Jerry Stuckle wrote:
> Bob Proulx wrote:
> >>does not work in /var/ (with 644 permissions)
> >
> >How did /var/www get 644 permissions? That is also incorrect.
> >
> > chmod u=rwx,go+rx /var/www
>
> 'x' is not required for Apache php scripts. Unlike PHP CLI, the
> script itself is not an e
On 12/2/2013 6:14 PM, Bob Proulx wrote:
François Patte wrote:
But php is not working...ie.:
If that is verbatim then that is the problem. Note the syntax errors
in the above. Try this verbatim instead.
Also the file extension must be .php.
does not work in /var/ (with 644 per
François Patte wrote:
> I'd like to anable php with apache web server.
>
> apache2 is installed
> php5 is installed.
> apache php module is activated
The above is just too vague and ambiguous. Do you mean this?
apt-get install apache2 libapache2-mod-php5
If you meant anything else by "activa
François Patte grabbed a keyboard and wrote:
> Bonsoir,
>
> I'd like to anable php with apache web server.
>
> apache2 is installed
>
> php5 is installed.
>
>
> apache php module is activated
>
>
> But php is not working...ie.:
>
> phpinfo');
> ?>
>
> does not work in /var/ (with 644
Bonsoir,
I'd like to anable php with apache web server.
apache2 is installed
php5 is installed.
apache php module is activated
But php is not working...ie.:
does not work in /var/ (with 644 permissions)
Where is the magic?
Thanks
--
François Patte
UFR de mathématiques et informati
17 matches
Mail list logo