Is Php Supported On My Spider Web Server?

Recently, I had to install a PHP-based spider web application on my Apache spider web server.

My outset interrogation was: "Is PHP enabled on the spider web server?"

You tin ever inquire the systems guy. But if you lot locomote on to last the systems guy, as well as you lot don't quite think if you lot bring installed PHP, hither is how to detect out.

  1. Create a novel file amongst a php suffix (say myphp.php)
  2. Copy as well as glue the next code into the php file.
    (I cannot piece of occupation blogger.com to display PHP code; role the code inward the Apr 29, 2009 comment)
  3. Save the file as well as upload it to a place on your spider web server that is accessible to the World Wide Web.
    For expedience, upload it to the Apache document source directory which is /var/www on my Debian Etch server.
  4. Open your spider web browser to the URL for that PHP file (http://localhost/myphp.php).

based spider web application on my Apache spider web server Is PHP supported on my Web Server?
If your spider web server supports PHP, the browser volition furnish amongst a page amount of data almost the PHP version as well as configuration. In addition, it volition display data almost your spider web server as well as your arrangement inward general.

On the contrary, if all you lot run into is a blank page, as well as then you lot know PHP is non supported.

Note that you lot must delete the myphp.php file from your spider web server afterwards you lot obtain the necessary info. You don't desire people to run the PHP script, as well as obtain sensitive data almost your system.

Berlangganan update artikel terbaru via email:

0 Response to "Is Php Supported On My Spider Web Server?"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel