Ixwebhosting host php.ini modification 100% successful ultimate solution

Ixwebhosting host php.ini modification 100% successful ultimate solution

Many friends said that the modification of Ixwebhosting host php.ini was unsuccessful. Of course, there are many purposes for modifying this file. The ultimate solution is given below.
First, the first step: create two files named
php.ini If you have already prepared the php.ini file to upload, this step can be omitted.
php5-custom-ini.cgi
Step 2: Enter the modified content in php.ini and the following red font part in php5-custom-ini.cgi
#!/bin/sh
export PHP_FCGI_CHILDREN=3
exec /hsphere/shared/php5/bin/php-cgi -c /hsphere/local/home/yourusername/yourdomainname/cgi-bin/php.ini

Please note that the username of IXwebhosting is the email address. Do not enter the email address as the username here. Just enter the content before @. The domain name must be the complete domain name, which is actually the name of the folder bound to your domain name.
Step 3: Enter the following highlighted parts into your .htaccess file.
AddHandler phpini-cgi .php .htm
Action phpini-cgi /cgi-bin/php5-custom-ini.cgi

After testing, it is only necessary to put it at the end of the .htaccess file.
That's it. You can use a phpinfo file to check whether your modification was successful. Let me tell you how to do it. Create a php file, for example 123.php, and enter the following red part in it.
<?php phpinfo(); ?>
Save and upload it to the website for access. Some friends may say that it should be <?echo phpinfo(); ?>, but according to my experiments, it is all OK, so don't be too serious about it.
The above method is guaranteed to be effective. If an error occurs, please check whether you have followed the prompts for each step.

<<:  Introduction to American virtual host WebHostingBuzz

>>:  easyCGI US virtual hosting plan introduction

Recommend

NIXStats: Another Linux VPS and server information monitoring tool

I have introduced one before: NodeQuery: Linux VP...

incapsula The most complete IP segment with address can be resolved by A

As we all know, Incapsula's CDN can be A-reso...

ServerCheap: $2.99/month/2GB memory/25GB SSD space/unlimited traffic/KVM/Chicago

ServerCheap, an American hosting provider, is new...

Sentris: $3.99/month/1GB memory/80GB space/1TB traffic/1 IP/XEN/Seattle

Sentris has been introduced many times, and its s...

bigrock .net .org .biz offers

The domain name discounts at bigrock.in are prett...

Favorite VPS: Prometeus vs. Linode

The quality of a VPS directly affects the growth ...