Page 5 of 5
Re: php.ini
Posted: Wed Dec 17, 2014 7:30 pm
by joem
webass wrote:I have no idea why, but now it works.
http://trax.weilfair.com/check-server-requirements.php
I just used the new ones and copied over.
I tried first to instlal here: extension_dir => /usr/lib/php5/20121212 => /usr/lib/php5/20121212
Didnt work...
BUT.... why isnst it stored in /usr/lib/php5/20121212 but in /usr/local/ioncube/ioncube_loader_lin_5.5.s
Mine is also stored there even know I am using centos, Glad you got everything working.
Re: php.ini
Posted: Thu Dec 18, 2014 11:26 pm
by webass
Thx for your gorgeous help
Re: php.ini
Posted: Mon Mar 30, 2015 3:58 pm
by ponco
for vesta Version: 0.9.8
if using hosting template ; edit /etc/php.ini
if using fcgid template :
to set php.ini per user/domain
copy /etc/php.ini to :
/home/<username>/web/<domain>/cgi-bin/php5-cgi.ini
edit the php5-cgi.ini file for the domain
Re: php.ini
Posted: Thu Apr 09, 2015 12:13 am
by brokenrailor
Hi I have a problem changing the Upload_max_limit
I have changed all the php.ini I can find and did change htaccess , create php.ini in root folder. anything that I can think of.
I have reset the service (service apache2 restart) as well.
And btw when I use phpinfo script , loaded configuration file = (none)
anyone can help? I am using wordpress if that helps
Re: php.ini
Posted: Sat Apr 16, 2016 10:38 am
by Falzo
ponco wrote:for vesta Version: 0.9.8
to set php.ini per user/domain
copy /etc/php.ini to :
/home/<username>/web/<domain>/cgi-bin/php5-cgi.ini
edit the php5-cgi.ini file for the domain
this may only work with the
cgi template and is a bad implementation because it depends on pointing to a php.ini via the command-line of /usr/bin/php-cgi.
if you lack that specific individual php.ini file in this place, none is loaded and you got stuck to the small php defaults. (most likely something like that happens with @brokenrailor posting above)
better way and esp. for the
fcgi-template you'll just need to edit:
Code: Select all
/usr/local/vesta/data/templates/web/apache2/phpfcgid.sh
and change the line
to the more likely
Code: Select all
PHPRC="$home_dir/$user/web/$domain/cgi-bin/"
after that rewrite all vhost-configurations and put your individual php.ini into /home/<username>/web/<domain>/cgi-bin/
if there is no php.ini in the path specified via PHPRC it will simply look in the default place aka /etc/php5/cgi
Re: php.ini
Posted: Sat Jun 11, 2016 12:35 am
by Volkinson
brokenrailor wrote:Hi I have a problem changing the Upload_max_limit
I have changed all the php.ini I can find and did change htaccess , create php.ini in root folder. anything that I can think of.
I have reset the service (service apache2 restart) as well.
And btw when I use phpinfo script , loaded configuration file = (none)
anyone can help? I am using wordpress if that helps
and
Enjoy! ;)
Re: php.ini
Posted: Wed Jan 09, 2019 6:35 am
by dongato
Hi everyone.
I have installed vesta -
centos7 nginx - php-fpm and upgraded to php7.3
and changed the settings at the php.ini file, went crazy untill I just restarted the
php-fpm backend server **located at the server tab**.
Hope can help somebody.
Re: php.ini
Posted: Sun Mar 22, 2020 5:19 pm
by websystems
dongato wrote: Wed Jan 09, 2019 6:35 am
Hi everyone.
I have installed vesta -
centos7 nginx - php-fpm and upgraded to php7.3
and changed the settings at the php.ini file, went crazy untill I just restarted the
php-fpm backend server **located at the server tab**.
Hope can help somebody.
Restarting php-php did not help in my case. I even rebooted the machine, but no luck. Any other ideas?
Re: php.ini
Posted: Tue May 05, 2020 1:59 pm
by tommy
i have learnt so much in this thread. thanks