Search our database

Archive | PHP RSS feed for this section
Viewing 1 to 10 of 28 items

How To Fix Warning: date() [function.date] In PHP

If you have encountered the following warning message at least once while running your web server, you can solve the issue but simply adding a line of code. Warning: date() [function.date]: It is not safe to rely on the system’s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set()function. ‘In […]

How to check my PHP version and module installed

To check what is the PHP version in your server and what modules are installed, simply use FTP or File manager to: 1. Create a file test.php in the public_html folder 2. Put in the following PHP script in test.php and save it: <?php phpinfo(); ?><?php phpinfo(); ?> 3. View the test.php in your web […]

How To Access And View HTTP Error Log In DirectAdmin

An error log is useful when you need to troubleshoot error messages or problems that your server encounters. It keeps tracks and logs down every thing that is happening within your server and you can easily refer back to. Step 1 – Login into your DirectAdmin. Step 2- Under “Your Account”, choose “Site Summary/Statistics/Logs”.   […]

PHP 5.2 & 5.3 compatible issue

IPServerOne will upgrade from PHP 5.2 to PHP 5.3 for all SHARED hosting server by the end of 2012. However, there might occur situation where software or plugin (in PHP 5.2 version) may not be compatible with PHP 5.3 The best way to find out compatible issue is ask from PHP application vendor, see if […]

How to increase max_input_vars value for your web directory

The Problem: If you are using web applications such as prestashop or magento, it is common that you encounter error like below: Warning: your hosting provider limits the maximum number of fields to post in a form: 1000 for max_input_varsWarning: your hosting provider limits the maximum number of fields to post in a form: 1000 […]

How to disable scripting warning and notices through .htaccess

The Problem: If you are sure that your script is working perfectly but still can’t get rid of warning and notices like: Warning: fsockopen() The Solution: You can turn off the warning and notices by adding the following line to the .htaccess file in the webfiles main page directory. php_flag display_errors offphp_flag display_errors off