Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

phpsuexec

I had challenges following the instructions provided for MINT installation as a result of my host (surpass) running phpsuexec.

I received the following reply which means nothing to me - except that it works. I leave it here for the benefit of other…..

QUOTE—————————————————-

The current server setting that you are using are given below.

~~~~~~~~~~~~~~~~~~~

PHP Server API: cgi // That is php is running as a CGI binary and not as an apache module. auto_prepend_file : novalue

~~~~~~~~~~~~~~~~~~

Please verify this from the info.php page using the link given below.

~~~~~~~~~~~~~~~~~~

[url=”“]http://www.domain_name.com/info.php[/url]

~~~~~~~~~~~~~~~~~~

Please add the following lines in the .htaccess instead of using “AddType application/x-httpd-php .html .htm” in the .htaccess.

~~~~~~~~~~~~~~~~~~~~~~~~

AddHandler application/x-httpd-php5 .php5 .php .php3 .php2 .phtml .html .htm

~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~

You will also want to create an .htaccess file for the /mint/ directory with the following line:

php_value auto_prepend_file none [This prevents Mint from tracking itself automatically.]

~~~~~~~~~~~~~~~~~~~~~~~~~

You can’t add php values in the .htaccess file since the server is phpsuexec.

If you want to make any changes to the default php.ini file, do it using a local php.ini file. We have copied a php.ini file to your public_html folder.

NOTE :: You can put the file in your root Web directory to apply custom configuration settings to all your PHP scripts, or you can put it in a subdirectory to apply custom configuration settings to a subset of PHP scripts.

  • SurpassHosting 3rd Level Administrator

/QUOTE——————————————

Best regards.

You must be logged in to reply. Login above or create an account