How can I debug my php code?

How to Execute php code using a company server?

  • Hi all I have doubts in executing a php code.I use apache server at home.The .php file to be executed is placed in http docs folder of the apache and in the web browser we type http://localhost/.php in order to execute the php code. But If i am working in a company or organization and I want to execute a php code using company server. is it by typing http://company ip address/.php Am i correct? or missing something. Any additional information regarding php code execution and php web site launching is welcome.

  • Answer:

    If the company's server is configured with php, you simply save a file out there with the .php extension just like you do at home. You will most likely have to enter the URL of the server, not the IP address. To be certain that php is running, put the following in a small file <?php phpinfo(); ?> If you get output, you have php.

Lekha at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

To call the php page, assuming it is just in the root http_docs folder would be... http://company_url/scriptname.php

J P

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.