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

GoFindUs Hosting Introduction

GoFindUs is an American hosting company that does...

Dacentec: $1/month/512MB/25GB space/1TB traffic/OpenVZ/North Carolina

Dacentec, an American hosting company, focuses on...

FDCServers: Christmas offer, buy 1 month and get 2 months free

FDCServers, an established hosting provider, offe...

Use Tumblr crawler and h5ai to create private video and picture libraries

Tumblr is rich in content, especially pictures an...

TakeWYN: $20/month/E8400/4GB RAM/500GB hard drive/unlimited traffic/Ukraine

TakeWYN, a Russian hosting provider, has its own ...

OLVPS: Double 11 discount, Hong Kong LeaseWeb, Boli and other KVM VPS

1. LeaseWeb HK KVM VPS Buy 1 Get 1 Free (IP, Traf...