Error Handling

Prevent public display of PHP errors via htaccess # supress php errorsphp_flag display_startup_errors offphp_flag display_errors offphp_flag html_errors offphp_value docref_root 0php_value docref_ext 0 Preserve (log) your site’s PHP errors via htaccess # enable PHP error loggingphp_flag log_errors onphp_value error_log /home/path/public_html/domain/PHP_errors.log

Continue Reading

Timp maxim de executie

How do I change the PHP maximum execution time? In an .htaccess file in the same directory as the executing script, include this line: php_value max_execution_time ? Replace „?” with the with the value you need to replace it with. Our default time is set to 30 seconds and a successful modification of the maximum […]

Continue Reading

Instalare PHP5

Installation To install the contrib, issue the following command from the console: yum –enablerepo=smecontribs install smeserver-php5-cgisignal-event post-upgrade ; signal-event reboot Usage PHP5 can be used in Ibays and for contribs that are installed in /opt. For Ibays To configure an Ibay to use PHP 5, run the following commands from the shell: db accounts setprop [ibayname] […]

Continue Reading