0

Possible Duplicate:
Apache is not interpreting .PHP files

All the tutorials which i found gave me all the information about php and how to go about it.But php code which i type is getting parsed by the browser and not the server.

I have installed apache2 on a ubuntu11.04 system.

Please guide me on how to run the php script on the server(on request from a client)

  • Php beginner
2
  • 2
    PHP is not processed by browsers, it's processed server-side. Jul 7, 2011 at 1:13
  • 1
    When you say parsed by the browser, do you mean that you see PHP code displayed in your browser instead of the expected output? If so, it sounds like you do not have the PHP module loaded or configured properly in Apache, or possibly not using a file extension registered with Apache to process PHP. Jul 7, 2011 at 1:18

1 Answer 1

2

Read this, top to bottom, one of the steps also tests the installation (puts a php file in the correct place).

Not the answer you're looking for? Browse other questions tagged .