trying setup LAMP where is the problem ... how get in w3m

General support questions
Post Reply
lse123new
Posts: 66
Joined: 2014/05/01 15:48:05

trying setup LAMP where is the problem ... how get in w3m

Post by lse123new » 2018/06/12 20:19:55

trying setup LAMP


w3m http://localhost/index.html // this works

w3m http://localhost/index.php // this getting:

I get
<?php echo "test php"; ?>

where is the problem ... how get

test php

the echoed????

I use VM in VirtualBox CentOS 7 server... can Not test in Firefox because no GUI is server.... how test outside VM from my host Windows 10 PC??? I disable firewalld I disable iptables -F and setenforce 0
But I get nothing... I think is the IP is 10.0.2.15 instaed of 192.168.x.x ... well?

lse123new
Posts: 66
Joined: 2014/05/01 15:48:05

Re: trying setup LAMP where is the problem ... how get in w3m

Post by lse123new » 2018/06/12 20:20:33

php how test if installed ok and enabled???

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: trying setup LAMP where is the problem ... how get in w3m

Post by TrevorH » 2018/06/12 20:21:55

Did you install the php packages you need? Did you restart httpd after installing php?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

lse123new
Posts: 66
Joined: 2014/05/01 15:48:05

Re: trying setup LAMP where is the problem ... how get in w3m

Post by lse123new » 2018/06/13 16:39:14

this includes PHP
yum group install "Web Server"
???

lse123new
Posts: 66
Joined: 2014/05/01 15:48:05

Re: trying setup LAMP where is the problem ... how get in w3m

Post by lse123new » 2018/06/13 16:44:52

worked by
yum install php php-mysql
systemctl restart httpd

w3m http://localhost/index.php // WORKED PHP

Post Reply