PHP su Windows: differenze tra le versioni
Da Webmobili Wiki.
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
| Riga 11: | Riga 11: | ||
* In <code>/etc/nginx/nginx.com</code> aggiungere nella ''sezione http'' | * In <code>/etc/nginx/nginx.com</code> aggiungere nella ''sezione http'' | ||
<syntaxhighlight lang="bash">client_max_body_size 30M;</syntaxhighlight> | <syntaxhighlight lang="bash">client_max_body_size 30M;</syntaxhighlight> | ||
* In <code>php.ini</code> settare | * In <code>php.ini</code> settare questi valori come segue | ||
<syntaxhighlight lang="bash"> | |||
post_max_size = 35M | |||
upload_max_filesize = 30M | |||
max_execution_time = 300 | |||
max_input_time = 120 | |||
</syntaxhighlight> | |||
Versione delle 12:15, 18 mar 2022
Purtroppo si rende necessario creare una istanza Wordpress che giri sotto www.designbest.com per avere un blog integrato nel sito che dia più contenuti.
Non si sfugge, è necessario scaricare l'interprete PHP per Windows.
MySQL rimane su macchina linux.
Fonti:
- https://soupbowl.io/2020/01/the-complete-guide-to-running-wordpress-on-windows
- https://kinsta.com/it/knowledgebase/si-e-verificato-un-errore-critico-sul-tuo-sito-web/
Remembers:
- In
/etc/nginx/nginx.comaggiungere nella sezione http
client_max_body_size 30M;
- In
php.inisettare questi valori come segue
post_max_size = 35M
upload_max_filesize = 30M
max_execution_time = 300
max_input_time = 120