PDA

View Full Version : php display code instead of excute


aaa999
5th December 2007, 22:39
hi,

I'm dune here.
after all the setup: perfect setup centos 5 and harden php how to .
I may screw up some where, when try to run this <?php phpinfo(); ?> in a info.php the server dispaly the code instead give me something else.

directions and guidens apreciated. new to linux, I like it but learning.

TIA.

falko
6th December 2007, 16:49
Please undo the part from the "Perfect Setup" where PHP gets disabled.

aaa999
6th December 2007, 17:08
Thanks Falko,

I was able to get it going, need to uncomment the 2 lines, handler.

thanks again.

agunet
15th December 2007, 12:35
What does "percfetc setup" means ?

edge
15th December 2007, 15:23
What does "percfetc setup" means ?

He is referring to the "perfect setup howto" for the CentOS 5.0a install.

All the "perfect setup's" can be found in the Howtos (http://www.howtoforge.com/howtos/linux) section.
The The Perfect Setup - CentOS 5.0 can be found here (http://www.howtoforge.com/perfect_setup_centos5.0).

Morons
7th March 2009, 18:36
I have found that If you do not enable php initially when creating the web - and rather try and enable it long after - the ISPConfig code to change the Vhosts_ispconfig.conf does not work perfectly.

falko
8th March 2009, 16:57
I have found that If you do not enable php initially when creating the web - and rather try and enable it long after - the ISPConfig code to change the Vhosts_ispconfig.conf does not work perfectly.

I've never had any problems with this. Are you using the latest version?