![]()
| Learn more about your own PHP settings by following
these instructions: If you don't already have an info.php page on your server, please create a new text file and upload it to your server. Name the file info.php Your new info.php page should have 1 line of code only. Please put the following code in your new file: <?php phpinfo() ?> That's all you need, now save the file to your server, and view the php page in your browser. Once you view this new page in your web browser, it will populate the page with all the PHP settings and values. It is a good resource to determine what the current settings are for your PHP installation.
|
Recommended PHP Settings
Your own info.php output should look very
similar to our snapshot output below.
This snapshot output was taken from
our development server that Ultimate Locator is designed and tested on.
| Yellow indicates Recommended settings |
| Blue Font indicates Notes |
PHP Version 4.3.8
|
| System Linux, Windows and FreeBSD are supported | Linux xxx.servername.com |
| Build Date | Jul 22 2005 01:43:49 |
| Server API | Apache 2.0 Filter |
| Configuration File (php.ini) Path This file controls all these php settings | /etc/php.ini |
| Thread Safety | disabled |
| Directive | Local Value | Master Value |
|---|---|---|
| allow_call_time_pass_reference | On | On |
| allow_url_fopen | On | On |
| always_populate_raw_post_data | Off | Off |
| arg_separator.input | & | & |
| arg_separator.output | & | & |
| asp_tags | Off | Off |
| auto_append_file | no value | no value |
| auto_prepend_file | no value | no value |
| browscap | no value | no value |
| default_charset | no value | no value |
| default_mimetype | text/html | text/html |
| define_syslog_variables | Off | Off |
| disable_classes | no value | no value |
| disable_functions | no value | no value |
| display_errors | On | On |
| display_startup_errors | Off | Off |
| doc_root | no value | no value |
| docref_ext | no value | no value |
| docref_root | no value | no value |
| enable_dl | On | On |
| error_append_string | no value | no value |
| error_log | no value | no value |
| error_prepend_string | no value | no value |
| error_reporting | 2039 | 2039 |
| expose_php | On | On |
| extension_dir | /usr/lib/php4 | /usr/lib/php4 |
| file_uploads | On | On |
| gpc_order | GPC | GPC |
| highlight.bg | #FFFFFF | #FFFFFF |
| highlight.comment | #FF9900 | #FF9900 |
| highlight.default | #0000CC | #0000CC |
| highlight.html | #000000 | #000000 |
| highlight.keyword | #006600 | #006600 |
| highlight.string | #CC0000 | #CC0000 |
| html_errors | On | On |
| ignore_repeated_errors | Off | Off |
| ignore_repeated_source | Off | Off |
| ignore_user_abort | Off | Off |
| implicit_flush | Off | Off |
| include_path | .:/usr/share/pear | .:/usr/share/pear |
| log_errors | Off | Off |
| log_errors_max_len | 1024 | 1024 |
| magic_quotes_gpc Must be set to Off |
Off | Off |
| magic_quotes_runtime | Off | Off |
| magic_quotes_sybase | Off | Off |
| max_execution_time | 60 | 60 |
| max_input_time | -1 | -1 |
| memory_limit | 16M | 16M |
| open_basedir | /home/httpd/vhosts/mysite.com/httpdocs:/tmp | no value |
| output_buffering 1 or 0, as it depends on your server |
1 | 1 |
| output_handler | no value | no value |
| post_max_size | 16M | 16M |
| precision | 14 | 14 |
| register_argc_argv | On | On |
| register_globals | On | On |
| report_memleaks | On | On |
| safe_mode Should be set to Off for best results |
Off | Off |
| safe_mode_exec_dir | no value | no value |
| safe_mode_gid | Off | Off |
| safe_mode_include_dir | no value | no value |
| sendmail_from | me@localhost.com | me@localhost.com |
| sendmail_path | /usr/bin/sendmail -t -i | /usr/sbin/sendmail -t -i |
| serialize_precision | 100 | 100 |
| short_open_tag | On | On |
| SMTP | localhost | localhost |
| smtp_port | 25 | 25 |
| sql.safe_mode | Off | Off |
| track_errors | Off | Off |
| unserialize_callback_func | no value | no value |
| upload_max_filesize | 6M | 6M |
| upload_tmp_dir | no value | no value |
| user_dir | no value | no value |
| variables_order | EGPCS | EGPCS |
| xmlrpc_error_number | 0 | 0 |
| xmlrpc_errors | Off | Off |
| y2k_compliance | Off | Off |
| FTP support | enabled |
| MySQL Support | enabled |
|---|---|
| Active Persistent Links | 0 |
| Active Links | 0 |
| Client API version v3.23+ required |
4.0.20 |
| MYSQL_MODULE_TYPE | external |
| MYSQL_SOCKET | /var/lib/mysql/mysql.sock |
| MYSQL_INCLUDE | -I/usr/include/mysql |
| MYSQL_LIBS | -L/usr/lib -lmysqlclient |
| Directive | Local Value | Master Value |
|---|---|---|
| mysql.allow_persistent Persistent connections must be turned on or you/we must manually edit your install script to allow normal connect statements |
On | On |
| mysql.connect_timeout | 60 | 60 |
| mysql.default_host | no value | no value |
| mysql.default_password | no value | no value |
| mysql.default_port | no value | no value |
| mysql.default_socket | no value | no value |
| mysql.default_user | no value | no value |
| mysql.max_links | Unlimited | Unlimited |
| mysql.max_persistent | Unlimited | Unlimited |
| mysql.trace_mode | Off | Off |
| ZLib Support | enabled |
| Compiled Version ZLib 1.1.4+ is required for all Non-ionCube versions. |
1.1.4 |
| Linked Version | 1.1.4 |
| Directive | Local Value | Master Value |
|---|---|---|
| zlib.output_compression | Off | Off |
| zlib.output_compression_level | -1 | -1 |
| zlib.output_handler | no value | no value |
---------- End PHP Settings ----------
| Summary |
| Your PHP Version must be v4.1.3 or higher |
| Your system should be a Linux, Windows or FreeBSD server |
| Your Server API should be Apache or Windows IIS |
| magic_quotes_gpc should be turned Off |
| Output_Buffering may need to be turned on before Ultimate Locator will operate correctly. |
| Safe_Mode should be turned to Off. Especially is you are wanting to use ionCube's Run-time Loaders |
| MySQL v3.23 or higher is required |
| MySQL.Allow_Persistant must be turned on or the install file must be edited manually before trying to install. You must replace all instances of mysql_pconnect with mysql_connect (remove the p) |
| ZLib v1.1.4+ is required for any Non-ionCube version of our software |