Jump to content

Apache can't run PHP scripts


Guest slavid
 Share

Recommended Posts

Hello there,

I've got a big problem.

Using Mandrake 8.2,installed Apache,MySQL and PHP with RPMs

I can't develop in PHP on my machine,because the Apache server can't execute my PHP scripts.Here is an example:

html tags...etc...html,head,title-hi,body,

<?php echo "HI"; ?>

this is my script hi.php

and when I open in my mozilla window /home/slavi/hi.php a blank page opens with a title hi...and this is with the whole php scripts on my pc....php3,.php4(there only the source is showed(<? php etc. ?>))

nothing running and executing...

What to do?

I've tried to change the .conf files(commonhttpd.conf,httpd.conf,mod_php.conf) but nothing happes(restart apache of course)...

Tell me how to configure it?What the conf files have to include?

HELP ME PLEASE :help:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...