X

Rate Us :



Share with Friends :

Menu

Some server configuration settings :

Document, root directory :

By using this configuration setting we can change the document root path of Web server. By default the root directory of Web server is htdocs. We can change that location using this configuration setting. This setting are available in server configuration setting file.


listen, servername, localhost :

By using this configuration setting, we can change the port number of Apache Server. By default, server runs with port number - 80.


directory index :

By using this configuration setting, we can specify the startup file names. By default, index, home & default comes under startup files.


isset() :

By using this function, we can check whether the variable is set with any value or not. It returns boolean value true(1) or false(0).

Example :


<?php $x = 100; echo isset($x); ?>

Output :

1