Checking the PHP configuration on server
Друк- 0
If you’d like to check the PHP configuration and its environment variables set on the servers, you can do it in a jiffy. Here’s how:
-
Open a text editor like notepad
-
Just write the following one line code:
<? phpinfo(); ?> -
Save the file name as info.php
-
Upload this file in your hosting package in the web root directory (public_html if you’re on Linux Hosting & httpdocs if you’re on Windows Hosting)
-
Now open the URL http://yourdomain.com/info.php
That’s it. You’ll now see the PHP configuration and all its environment variables set on your hosting package.
If you’d like to customize some of these parameters,