How to correct custom php.ini for taking all the settings of the server?

The following article should employ how to change a value of php.ini through a custom php.ini file under public_html directory:

http://www.mellowhost.com/billing/knowledgebase.php?action=displayarticle&catid=5&id=44

This article will allow you to understand what changes needed to do to gather services like zend, ioncube, extensions etc on the custom php.ini file.

1. How to add Zend Optimizer support on custom php.ini

Simply add the following line on your php.ini file:

zend_extension="/usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so"

2. How to add Ioncube support on custom php.ini file:

Simply add the following line on your php.ini file:

zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.2.so"

3. How to add Zend Extension manager on custom php.ini file:

Simply add the following line on your php.ini file:

zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so

 

4. How to add ffmpeg - php on custom php.ini file:

To do this, you first need to add the extension_dir variable on your custom php.ini file. First, remove/rename to your custom php.ini file and check the phpinfo, from the phpinfo, you can find the value for the variable extension_dir, it is usually set to: /usr/local/lib/php/extensions/no-debug-non-zts-20060613

So, to add extension_dir, simply add the following line in your php.ini file:

extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20060613

After that, add the following line to enable ffmpeg-php:

extension="ffmpeg.so"

For any further assistance please contact our support desk.

 

  • 58 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

How to change a php.ini value?

We use suPHP in all of our servers. This is the common reason why php_flag or php_value doesn't...

How to configure Cpanel mail with Apple Mail.app

Click on the "Mail" option at the top and Select Preferences From the top tabs, select Accounts...

My primary cpanel quota is set to 10GB, why is that?

We create the main reseller account automatically after the payment, all the reseller is...

"421 - 50 Users already logged in" - FTP Error

Our ftp is configured to 50 users at a time to log in. If you are receiving this error that means...

Server Time

Our Server time is set to GMT +6, if you need to change the server time, use php time fuction to...