Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

php.ini

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
49 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: php.ini
  • Quote

Post by joem » Wed Dec 17, 2014 7:30 pm

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.
Top

webass
Posts: 86
Joined: Sat Nov 15, 2014 1:16 am
Contact:
Contact webass
Skype

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: php.ini
  • Quote

Post by webass » Thu Dec 18, 2014 11:26 pm

Thx for your gorgeous help
Top

ponco
Posts: 1
Joined: Mon Mar 30, 2015 3:50 pm

Re: php.ini
  • Quote

Post by ponco » Mon Mar 30, 2015 3:58 pm

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
Top

brokenrailor
Posts: 1
Joined: Thu Apr 09, 2015 12:11 am

Re: php.ini
  • Quote

Post by brokenrailor » Thu Apr 09, 2015 12:13 am

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
Top

Falzo
Posts: 60
Joined: Mon Mar 28, 2016 8:49 am

Re: php.ini
  • Quote

Post by Falzo » Sat Apr 16, 2016 10:38 am

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

Code: Select all

PHPRC=/usr/local/lib
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
Top

Volkinson
Posts: 1
Joined: Sat Jun 11, 2016 12:31 am

Re: php.ini
  • Quote

Post by Volkinson » Sat Jun 11, 2016 12:35 am

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

Code: Select all

/etc/php5/apache2/php.ini

Code: Select all

post_max_size
and

Code: Select all

max_file_upload

Code: Select all

service apache2 restart
Enjoy! ;)
Top

dongato
Posts: 1
Joined: Wed Jan 09, 2019 6:27 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: php.ini
  • Quote

Post by dongato » 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.
Top

websystems
Posts: 31
Joined: Wed Oct 18, 2017 6:34 am

Re: php.ini
  • Quote

Post by websystems » Sun Mar 22, 2020 5:19 pm

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?
Top

tommy
Posts: 13
Joined: Thu Sep 28, 2017 12:14 pm

Re: php.ini
  • Quote

Post by tommy » Tue May 05, 2020 1:59 pm

i have learnt so much in this thread. thanks
Top


Post Reply
  • Print view

49 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password