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 General Discussion
  • Search

Which "Web Template" to use?

General questions about VestaCP
Locked
  • Print view
Advanced search
23 posts
  • Previous
  • 1
  • 2
  • 3
  • Next
tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Which "Web Template" to use?

Post by tjebbeke » Thu Feb 11, 2016 10:02 am

MrBlue wrote:At first, the httpd template: default Nginx: default.
i use opencart and WordPress.
i changed template for each domains httpd template: hosting
OpenCart sites are good. This WordPress sites has 500 server error.

what should I do?
Check log files
Top

MrBlue
Posts: 7
Joined: Thu Feb 11, 2016 8:25 am

Re: Which "Web Template" to use?

Post by MrBlue » Thu Feb 11, 2016 1:10 pm

Which log file?

thank you answer.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Which "Web Template" to use?

Post by tjebbeke » Thu Feb 11, 2016 1:56 pm

MrBlue wrote:Which log file?

thank you answer.
It depends on your OS.

Check:
http://vestacp.com/docs/#config-log-loc ... hel-centos
http://vestacp.com/docs/#config-log-loc ... ian-ubuntu
Check logs for:
Apache
PHP
Nginx
Top

MrBlue
Posts: 7
Joined: Thu Feb 11, 2016 8:25 am

Re: Which "Web Template" to use?

Post by MrBlue » Thu Feb 11, 2016 2:37 pm

tjebbeke wrote:
MrBlue wrote:Which log file?

thank you answer.
It depends on your OS.

Check:
http://vestacp.com/docs/#config-log-loc ... hel-centos
http://vestacp.com/docs/#config-log-loc ... ian-ubuntu
Check logs for:
Apache
PHP
Nginx

[Thu Feb 11 09:35:38 2016] [error] [client] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6400 bytes)


I did try a few times. It comes the same error.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Which "Web Template" to use?

Post by tjebbeke » Thu Feb 11, 2016 4:26 pm

MrBlue wrote:
tjebbeke wrote:
MrBlue wrote:Which log file?

thank you answer.
It depends on your OS.

Check:
http://vestacp.com/docs/#config-log-loc ... hel-centos
http://vestacp.com/docs/#config-log-loc ... ian-ubuntu
Check logs for:
Apache
PHP
Nginx

[Thu Feb 11 09:35:38 2016] [error] [client] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6400 bytes)


I did try a few times. It comes the same error.
Your PHP script has not enough memory.
Increase php memory limit http://stackoverflow.com/a/5254547
Top

MrBlue
Posts: 7
Joined: Thu Feb 11, 2016 8:25 am

Re: Which "Web Template" to use?

Post by MrBlue » Thu Feb 11, 2016 9:44 pm

tjebbeke wrote:
MrBlue wrote:
tjebbeke wrote: It depends on your OS.

Check:
http://vestacp.com/docs/#config-log-loc ... hel-centos
http://vestacp.com/docs/#config-log-loc ... ian-ubuntu
Check logs for:
Apache
PHP
Nginx

[Thu Feb 11 09:35:38 2016] [error] [client] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6400 bytes)


I did try a few times. It comes the same error.
Your PHP script has not enough memory.
Increase php memory limit http://stackoverflow.com/a/5254547
i changed memory limit. but not work hosting template.

forexample: i choose basedir,default template... after change wp_memory_limit 256M -> memory 256 Mb seems
but i choose hosting template, after change wp_memory_limit 256M -> but memory 5012 byte seems

why could it be?
Top

jonn
Posts: 72
Joined: Sun Jun 08, 2014 12:18 pm

Re: Which "Web Template" to use?

Post by jonn » Thu Feb 11, 2016 11:12 pm

check it registered the change make a php.php file in your home directory with.

Code: Select all

<?php phpinfo(); ?>
did you restart apache after the change?
Top

MrBlue
Posts: 7
Joined: Thu Feb 11, 2016 8:25 am

Re: Which "Web Template" to use?

Post by MrBlue » Fri Feb 12, 2016 12:08 am

jonn wrote:check it registered the change make a php.php file in your home directory with.

Code: Select all

<?php phpinfo(); ?>
did you restart apache after the change?

i added .htaccess php_value memory_limit 256M

if i choose default and basedir tamplate :
Local Value Master Value
memory_limit 256M 128M

if i choose hosting tamplate :

Local Value Master Value
memory_limit 32M 128M
Top

jonn
Posts: 72
Joined: Sun Jun 08, 2014 12:18 pm

Re: Which "Web Template" to use?

Post by jonn » Fri Feb 12, 2016 3:13 am

there is two php.ini files

Code: Select all

/etc/php5/cgi/php.ini
/etc/php5/cli/php.ini
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Which "Web Template" to use?

Post by tjebbeke » Fri Feb 12, 2016 7:55 am

If you check the template file:
https://github.com/serghey-rodin/vesta/ ... osting.tpl
php_admin_value memory_limit 32M

So it's normal ...
Top


Locked
  • Print view

23 posts
  • Previous
  • 1
  • 2
  • 3
  • Next

Return to “General Discussion”



  • 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