No inifiles in php.d
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and In-house Control Panels
  1. Lars Laehn
  2. Tuesday, 22 March 2016
  3.  Subscribe via email

i updates my alt-php packages today.
after the update all ini files in /opt/alt/phpXX/etc/php.d directory are gone.
there is only a file default.ini with some lines that commented out.

cagefsctl --rebuild-alt-php-ini

creates no ini files.
now i copied the ini files for pdo, mysql into the php.d directory of the alt-php version but it is the right way?
would they deleted with the next update?

Rate this post:
  1. 22.03.2016 12:03:47
  2. # 1
Lars Laehn Accepted Answer
Posts: 1
Joined: 09.06.2014
Thanks for explain.

All ini files in my php.d directory deleted after upgrade.
pdo and mysql extension were not loaded because there is no ini file.
website throws errors.
after i copied the ini files manually into the link/conf folder all websites works again.

is the defaults.cfg in the /etc/cl.selector used?
all needed extensions configured in this file but the ini files not creates with rebuild-alt-php

  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.