Re: [Linux-users] Apache PHP frustration SOLVED

2015-05-11 Thread Barry

Hi All,

I tried all your suggestions, unfortunately without success until now.

The main alterations I made were.
setup localhost in /etc/hosts.allow
In httpd.conf alter 'DocumentRoot' to point to the correct directory
also 'Directory'
In httpd.conf  alter Options to 'Options All'
Setup 'Index.html

and then it worked !

Thanks to all who responded

Barry
--

On 08/05/15 22:41, David Merrick wrote:

Install LAMP on mine drive in LINUX

Cheers Dave

On Fri, May 8, 2015 at 9:31 PM, Barry barr...@paradise.net.nz 
mailto:barr...@paradise.net.nz wrote:


___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-10 Thread Steve Holdoway



On 10/05/15 09:05, Volker Kuhlmann wrote:

On Sat 09 May 2015 21:44:59 NZST +1200, Steve Holdoway wrote:


cd /etc/httpd/extramodules
sudo ln -s mod_php5.so.5 mod_php5.so

Oh crikey, someone decided to manage shared libraries used by apache
modules in /etc? And then by the looks of it doesn't manage to provide
all the symlinks int he packaging system...
How did you find that one, Steve?

Volker


Err I read the post.
___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-09 Thread Volker Kuhlmann
On Sat 09 May 2015 21:44:59 NZST +1200, Steve Holdoway wrote:

 cd /etc/httpd/extramodules
 sudo ln -s mod_php5.so.5 mod_php5.so

Oh crikey, someone decided to manage shared libraries used by apache
modules in /etc? And then by the looks of it doesn't manage to provide
all the symlinks int he packaging system...
How did you find that one, Steve?

Volker

-- 
Volker Kuhlmann
http://volker.top.geek.nz/  Please do not CC list postings to me.
___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-09 Thread Steve Holdoway

cd /etc/httpd/extramodules
sudo ln -s mod_php5.so.5 mod_php5.so

and restart

On 08/05/15 22:04, Barry wrote:

Hi Andrew,

That is the complete body of my test php file.

Tonight when I run  'systemctl status httpd.service' it fails with the 
following error msg...


May 08 20:33:40 TheBox httpd[4312]: Starting httpd: httpd: Syntax 
error on line 305 of /etc/httpd/conf/httpd.conf: Syntax error on line 
2 of /etc/httpd/modules.d/70_mod_php.conf: Cannot load 
/etc/httpd/extramodules/mod_php5.so into server: libphp5_common.so.5: 
cannot open shared object file: No such file or directory


mod_php.so.5  is in/etc/httpd/extramodules/  
in/usr/lib/apache-extramodules/

libphp5_common.so.5 is in /usr/lib/
libphp5.so is in /usr/lib

Looks like errors in httpd.conf,  inmodules.d/70_mod_php.conf  but my 
head is screwed for tonight!


Thanks

Barry
---
On 08/05/15 01:08, Andrew Sands wrote:

Barry,

Is that the complete code because after checking on a VM here with 
apache installed (Ok, so it's Debian), I have a file called 
'index.php' which contains only the line '?php phpinfo(); ?'


I did a quick Google search [0] and found the following, which I put 
in a file called hello.php

html
  head
   titlePHP Test/title
  /head
  body
  ?php echo 'pHello World/p'; ?
  /body
/html

For reviewing dot conf files on the command line, you could always 
try ' egrep -v '^(#|$)' filename' [1]


regards,

Andrew

[0] Google search: simple first php program - First hit is: 
http://php.net/manual/en/tutorial.firstpage.php

[1] Google search: ignore commented lines in conf file linux
I went with: 
http://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-cat-or-grep-a-file-to-ignore-lines-starting-with-654683/




On 07/05/15 23:48, Barry wrote:

Thanks Chris  for your reply


What distro?
Mageia2 32 bit running on a 64 bit box. Its old but mageia 4 64 bit 
pkg is corrupt and insists on loading 32 bit libraries. I have the 2 
versions bootable


Apache2.2.25
PHP5.3.27


Change your ?phpinfo ? to be:

?php

phpinfo();

?

This is my code..
---
body
h1Apache works!/h1
?php
PHP works!; BR
phpinfo();
?
/body

This when 1st loaded gives.(copied from screen)

Apache works!
 phpinfo(); ?
---
If I refresh the screen opera wants to download the file. I think 
there is either a missing pkg or a missing line in the .conf files, 
but which


Barry
 

If that dunnae work, some more detail on distro etc and I'm sure we 
can get you working quickly.


Cheers, Chris H.

On 07/05/15 20:54, Barry wrote:

Hi all,
After trying for abt 3 weeks to get php running I am just about 
tearing what little hair I have left out. I can not get php coding 
recognized in a .php file. Steps taken so far..


Set up '127.0.0.1localhost' in /etc/hosts.allow
Amended http.conf to recognise files with .php suffix
Scanned http.conf and php.conf.
Searched the web for help.

Apache now recognizes both/either 127.0.0.1 and localhost in the 
address bar,

also file.html and file.php.

With an entry like ?phpinfo ?, the ?php is dropped, the rest of 
the line being recognised as text.


Both http.conf and php.conf have so much in the way of explanatory 
comments in them that the active lines in each of them are well 
separated and can not be read together in a group.




___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users



___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users



___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-08 Thread Barry

Hi Dave, mine is a Linux box, no C:\ drive!

Barry
---
On 08/05/15 07:07, David Merrick wrote:

Try downloading lamp on c drive should solve most problems.

Cheers Dave

On 7/05/2015 8:54 PM, Barry barr...@paradise.net.nz 
mailto:barr...@paradise.net.nz wrote:

Hi all,
After trying for abt 3 weeks to get php running I am just about tearing 
what little hair I have left out. I can not get php coding recognized in a .php 
file. Steps taken so far..

Set up '127.0.0.1Â  Â  localhost' in /etc/hosts.allow
Amended http.conf to recognise files with .php suffix
Scanned http.conf and php.conf.
Searched the web for help.

Apache now recognizes both/either 127.0.0.1 and localhost in the address 
bar,
also file.html and file.php.

With an entry like ?phpinfo ?, the ?php is dropped, the rest of the line 
being recognised as text.

Both http.conf and php.conf have so much in the way of explanatory comments 
in them that the active lines in each of them are well separated and can not be 
read together in a group.

I have googled for so long that I do not know where to look next.

Could someone help me please.

TIA

Barry
___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz 
mailto:Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users



___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users



___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-08 Thread Barry

Hi Andrew,

That is the complete body of my test php file.

Tonight when I run  'systemctl status httpd.service' it fails with the 
following error msg...

May 08 20:33:40 TheBox httpd[4312]: Starting httpd: httpd: Syntax error on line 305 
of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of 
/etc/httpd/modules.d/70_mod_php.conf: Cannot load /etc/httpd/extramodules/mod_php5.so 
into server: libphp5_common.so.5: cannot open shared object file: No such file or 
directory

mod_php.so.5  is in/etc/httpd/extramodules/  in/usr/lib/apache-extramodules/
libphp5_common.so.5 is in /usr/lib/
libphp5.so is in /usr/lib

Looks like errors in httpd.conf,  inmodules.d/70_mod_php.conf  but my head is 
screwed for tonight!

Thanks

Barry
---
On 08/05/15 01:08, Andrew Sands wrote:

Barry,

Is that the complete code because after checking on a VM here with apache installed 
(Ok, so it's Debian), I have a file called 'index.php' which contains only the line 
'?php phpinfo(); ?'

I did a quick Google search [0] and found the following, which I put in a file called 
hello.php
html
  head
   titlePHP Test/title
  /head
  body
  ?php echo 'pHello World/p'; ?
  /body
/html

For reviewing dot conf files on the command line, you could always try ' egrep 
-v '^(#|$)' filename' [1]

regards,

Andrew

[0] Google search: simple first php program - First hit is: 
http://php.net/manual/en/tutorial.firstpage.php
[1] Google search: ignore commented lines in conf file linux
I went with: 
http://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-cat-or-grep-a-file-to-ignore-lines-starting-with-654683/



On 07/05/15 23:48, Barry wrote:

Thanks Chris  for your reply


What distro?

Mageia2 32 bit running on a 64 bit box. Its old but mageia 4 64 bit pkg is 
corrupt and insists on loading 32 bit libraries. I have the 2 versions bootable

Apache2.2.25
PHP5.3.27


Change your ?phpinfo ? to be:

?php

phpinfo();

?

This is my code..
---
body
h1Apache works!/h1
?php
PHP works!; BR
phpinfo();
?
/body

This when 1st loaded gives.(copied from screen)

Apache works!
 phpinfo(); ?
---
If I refresh the screen opera wants to download the file. I think there is 
either a missing pkg or a missing line in the .conf files, but which

Barry


If that dunnae work, some more detail on distro etc and I'm sure we can get you 
working quickly.

Cheers, Chris H.

On 07/05/15 20:54, Barry wrote:

Hi all,
After trying for abt 3 weeks to get php running I am just about tearing what 
little hair I have left out. I can not get php coding recognized in a .php 
file. Steps taken so far..

Set up '127.0.0.1localhost' in /etc/hosts.allow
Amended http.conf to recognise files with .php suffix
Scanned http.conf and php.conf.
Searched the web for help.

Apache now recognizes both/either 127.0.0.1 and localhost in the address bar,
also file.html and file.php.

With an entry like ?phpinfo ?, the ?php is dropped, the rest of the line 
being recognised as text.

Both http.conf and php.conf have so much in the way of explanatory comments in 
them that the active lines in each of them are well separated and can not be 
read together in a group.



___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users



___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users



___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-08 Thread David Merrick
Use Web browser to download LAMP


On Fri, May 8, 2015 at 7:19 AM, Chris Hellyar ch...@trash.co.nz wrote:

 ‘c drive’?  What is the heresy?


 On 8/05/2015, at 7:07 am, David Merrick merrick...@gmail.com wrote:

 Try downloading lamp on c drive should solve most problems.

 Cheers Dave
 On 7/05/2015 8:54 PM, Barry barr...@paradise.net.nz wrote:

 Hi all,
 After trying for abt 3 weeks to get php running I am just about tearing
 what little hair I have left out. I can not get php coding recognized in a
 .php file. Steps taken so far..

 Set up '127.0.0.1localhost' in /etc/hosts.allow
 Amended http.conf to recognise files with .php suffix
 Scanned http.conf and php.conf.
 Searched the web for help.

 Apache now recognizes both/either 127.0.0.1 and localhost in the address
 bar,
 also file.html and file.php.



 ___
 Linux-users mailing list
 Linux-users@lists.canterbury.ac.nz
 http://lists.canterbury.ac.nz/mailman/listinfo/linux-users




-- 
Dave Merrick

Daves Web Designs

http://www.daveswebdesigns.co.nz/

merrick...@gmail.com

Ph   03 3423 121
Cell 027 3089 169
___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-08 Thread Volker Kuhlmann
On Thu 07 May 2015 21:50:59 NZST +1200, Chris Hellyar wrote:

 What distro?

Why exactly is that of any interest? It's a problem with the apache/php
interaction. Although there may be a distro-specific cause it's hardly
the question number 1 to ask on the path to finding the problem.
Downstream, maybe, but only maybe. People are very distro focussed and
it doesn't seem to help all that often.

Volker

-- 
Volker Kuhlmann
http://volker.top.geek.nz/  Please do not CC list postings to me.
___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-08 Thread Volker Kuhlmann
On Fri 08 May 2015 22:04:27 NZST +1200, Barry wrote:

 May 08 20:33:40 TheBox httpd[4312]: Starting httpd: httpd: Syntax
 error on line 305 of /etc/httpd/conf/httpd.conf: Syntax error
 on line 2 of /etc/httpd/modules.d/70_mod_php.conf: Cannot load
 /etc/httpd/extramodules/mod_php5.so into server: libphp5_common.so.5:
 cannot open shared object file: No such file or directory

Well it's pretty clear isn't it? Apache loads all its configured modules
on startup. One of the modules loads php, but it fails with not finding
the php library (libXXX.xo.XXX is always a shared library for dynamic
linking).

Most likely you haven't installed the php package(s) necessary for
apache (don't ask me why). Other possibilities are that your distro's
package dependencies are broken, or your distro itself is broken, or has
a lousy system configuration utility. Since it's your distro you're on
your own here ;-)

Volker

-- 
Volker Kuhlmann
http://volker.top.geek.nz/  Please do not CC list postings to me.
___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-08 Thread Volker Kuhlmann
On Sat 09 May 2015 09:01:10 NZST +1200, Chris Hellyar wrote:

 Yes you could generically fix this, but if you mess about with the
 individual libraries and paths the solution will not cleanly
 patch/update via the distro's package management system...

True. My advice would be to uninstall all apache and php packages,
ensure their config files are deleted from /etc/, and then re-install
the packages. If it doesn't work out of the box then the distro is
broken, and you could try to manually fix it. That would be the earliest
time where asking what distro would make any sense.

  Which I
 suspect is the path Barry has gone down through frustration given
 that he was talking about library files in /etc which means
 something is not very 'standard'.

There are limits to what extent help can be provided to someone who
manually messes up their system that much.

 I wasn't trying to start a distro-war. :-)

Never thought or said you were ;-)

Volker

-- 
Volker Kuhlmann
http://volker.top.geek.nz/  Please do not CC list postings to me.
___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-08 Thread keit...@e3.net.nz

Barry,
  might be worth removing apache, mysql, php, update
the repos then install as a task if you did not do so the first time.

I'm not sure how Mageia does this possibly something similar to

urpmi --auto-update
urpmi task-lamp


-
keith.



On 09/05/15 11:03, Volker Kuhlmann wrote:

True. My advice would be to uninstall all apache and php packages,
ensure their config files are deleted from /etc/, and then re-install
the packages.



___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-08 Thread Chris Hellyar

Morning,

Generally I'd agree with you but in the case of apache/php there are 
some major differences around how Debian/Ubuntu and Rehat/Centos based 
distros package them and if it's rh7/centos7 it's different again from 
rh6/centos6 so it is relevant.


Yes you could generically fix this, but if you mess about with the 
individual libraries and paths the solution will not cleanly 
patch/update via the distro's package management system...  Which I 
suspect is the path Barry has gone down through frustration given that 
he was talking about library files in /etc which means something is not 
very 'standard'. I don't know of a distro that puts them in /etc, they 
should be in /lib or /usr/lib (or /opt/local/lib if it's Solaris )


I wasn't trying to start a distro-war. :-)

Cheers, Chris H.


On 09/05/15 08:45, Volker Kuhlmann wrote:

On Thu 07 May 2015 21:50:59 NZST +1200, Chris Hellyar wrote:


What distro?

Why exactly is that of any interest? It's a problem with the apache/php
interaction. Although there may be a distro-specific cause it's hardly
the question number 1 to ask on the path to finding the problem.
Downstream, maybe, but only maybe. People are very distro focussed and
it doesn't seem to help all that often.

Volker



___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-07 Thread Chris Hellyar

Hi Barry...

What distro?

Change your ?phpinfo ? to be:

?php

phpinfo();

?

If that dunnae work, some more detail on distro etc and I'm sure we can 
get you working quickly.


Cheers, Chris H.

On 07/05/15 20:54, Barry wrote:

Hi all,
After trying for abt 3 weeks to get php running I am just about 
tearing what little hair I have left out. I can not get php coding 
recognized in a .php file. Steps taken so far..


Set up '127.0.0.1localhost' in /etc/hosts.allow
Amended http.conf to recognise files with .php suffix
Scanned http.conf and php.conf.
Searched the web for help.

Apache now recognizes both/either 127.0.0.1 and localhost in the 
address bar,

also file.html and file.php.

With an entry like ?phpinfo ?, the ?php is dropped, the rest of the 
line being recognised as text.


Both http.conf and php.conf have so much in the way of explanatory 
comments in them that the active lines in each of them are well 
separated and can not be read together in a group.




___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-07 Thread Chris Hellyar
‘c drive’?  What is the heresy?


 On 8/05/2015, at 7:07 am, David Merrick merrick...@gmail.com wrote:
 
 Try downloading lamp on c drive should solve most problems.
 
 Cheers Dave
 
 On 7/05/2015 8:54 PM, Barry barr...@paradise.net.nz 
 mailto:barr...@paradise.net.nz wrote:
 Hi all,
 After trying for abt 3 weeks to get php running I am just about tearing what 
 little hair I have left out. I can not get php coding recognized in a .php 
 file. Steps taken so far..
 
 Set up '127.0.0.1localhost' in /etc/hosts.allow
 Amended http.conf to recognise files with .php suffix
 Scanned http.conf and php.conf.
 Searched the web for help.
 
 Apache now recognizes both/either 127.0.0.1 and localhost in the address bar,
 also file.html and file.php.

___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-07 Thread Andrew Sands

Barry,

Is that the complete code because after checking on a VM here with 
apache installed (Ok, so it's Debian), I have a file called 'index.php' 
which contains only the line '?php phpinfo(); ?'


I did a quick Google search [0] and found the following, which I put in 
a file called hello.php

html
 head
  titlePHP Test/title
 /head
 body
 ?php echo 'pHello World/p'; ?
 /body
/html

For reviewing dot conf files on the command line, you could always try ' 
egrep -v '^(#|$)' filename' [1]


regards,

Andrew

[0] Google search: simple first php program - First hit is: 
http://php.net/manual/en/tutorial.firstpage.php

[1] Google search: ignore commented lines in conf file linux
I went with: 
http://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-cat-or-grep-a-file-to-ignore-lines-starting-with-654683/




On 07/05/15 23:48, Barry wrote:

Thanks Chris  for your reply


What distro?
Mageia2 32 bit running on a 64 bit box. Its old but mageia 4 64 bit 
pkg is corrupt and insists on loading 32 bit libraries. I have the 2 
versions bootable


Apache2.2.25
PHP5.3.27


Change your ?phpinfo ? to be:

?php

phpinfo();

?

This is my code..
---
body
h1Apache works!/h1
?php
PHP works!; BR
phpinfo();
?
/body

This when 1st loaded gives.(copied from screen)

Apache works!
 phpinfo(); ?
---
If I refresh the screen opera wants to download the file. I think 
there is either a missing pkg or a missing line in the .conf files, 
but which


Barry
 

If that dunnae work, some more detail on distro etc and I'm sure we 
can get you working quickly.


Cheers, Chris H.

On 07/05/15 20:54, Barry wrote:

Hi all,
After trying for abt 3 weeks to get php running I am just about 
tearing what little hair I have left out. I can not get php coding 
recognized in a .php file. Steps taken so far..


Set up '127.0.0.1localhost' in /etc/hosts.allow
Amended http.conf to recognise files with .php suffix
Scanned http.conf and php.conf.
Searched the web for help.

Apache now recognizes both/either 127.0.0.1 and localhost in the 
address bar,

also file.html and file.php.

With an entry like ?phpinfo ?, the ?php is dropped, the rest of 
the line being recognised as text.


Both http.conf and php.conf have so much in the way of explanatory 
comments in them that the active lines in each of them are well 
separated and can not be read together in a group.




___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users



___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] Apache PHP frustration

2015-05-07 Thread Barry

Thanks Chris  for your reply


What distro?

Mageia2 32 bit running on a 64 bit box. Its old but mageia 4 64 bit pkg is 
corrupt and insists on loading 32 bit libraries. I have the 2 versions bootable

Apache2.2.25
PHP5.3.27


Change your ?phpinfo ? to be:

?php

phpinfo();

?

This is my code..
---
body
h1Apache works!/h1
?php
PHP works!; BR
phpinfo();
?
/body

This when 1st loaded gives.(copied from screen)

Apache works!
 phpinfo(); ?
---
If I refresh the screen opera wants to download the file. I think there is 
either a missing pkg or a missing line in the .conf files, but which

Barry


If that dunnae work, some more detail on distro etc and I'm sure we can get you 
working quickly.

Cheers, Chris H.

On 07/05/15 20:54, Barry wrote:

Hi all,
After trying for abt 3 weeks to get php running I am just about tearing what 
little hair I have left out. I can not get php coding recognized in a .php 
file. Steps taken so far..

Set up '127.0.0.1localhost' in /etc/hosts.allow
Amended http.conf to recognise files with .php suffix
Scanned http.conf and php.conf.
Searched the web for help.

Apache now recognizes both/either 127.0.0.1 and localhost in the address bar,
also file.html and file.php.

With an entry like ?phpinfo ?, the ?php is dropped, the rest of the line 
being recognised as text.

Both http.conf and php.conf have so much in the way of explanatory comments in 
them that the active lines in each of them are well separated and can not be 
read together in a group.



___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users



___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users