What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-10-01 05:19:02
prestashop file too large should not exceed
1) index.php die(phpinfo()); 2) check this parametres 1- max_file_uploads = ? M 2- post_max_size = ? M 3- upload_max_filesize = ? M 3) change this parameters in your php.ini server post_max_size = 50M upload_max_filesize = 50M max_file_u... Add solution -
PHP 2021-09-30 12:21:04
magento Fatal error: Allowed memory size of 134217728 bytes exhausted
php --ini nano /etc/php5/cli/php.ini (it could be different for you) Search for memory_limit by (ctrl + w) make memory_limit to -1 or 2G (depending on what you can increase to) save by (ctrl + x) then enter Add solution -
PHP 2021-09-30 04:49:03
how to import large sql file in phpmyadmin in ubuntu
->/opt/lampp/etc/php.ini 1)increase them accordingly post_max_size=500M upload_max_filesize=500M max_input_time = 600 memory_limit=900M max_execution_time=-1 ->in opt/lampp/etc/my.cnf max_allowed_packet=1000 innodb_log_file_size = 50M ->phpMy... Add solution -
PHP 2021-09-30 03:24:02
update php mamp mac
That's because it's referring to the pre-installed PHP of your OSX. You need to change that to point to your MAMP PHP. To do so you need to edit the .bash_profile with a text editor and add the MAMP version of PHP to the PATH variable. Follow these steps... Add solution -
Other 2021-09-29 00:59:07
You probably tried to upload a file that is too large. Please refer to documentation for a workaround for this limit.
For ubuntu 18.04: 1. Go to file: /etc/php/7.2/cli/php.ini 2. CHANGE BELOW VALUES (Depends on requirements): max_execution_time = 259200 max_input_time = 259200 memory_limit = 1000M post_max_size = 1000M upload_max_filesize = 1000M 3. Save File 4. Reset a... Add solution -
Javascript 2021-09-29 00:22:04
json_encode escape
<?php /* * Escaping the reverse-solidus character ("/", slash) is optional in JSON. * * This can be controlled with the JSON_UNESCAPED_SLASHES flag constant in PHP. * * @link http://stackoverflow.com/a/10210433/367456 */ $url = 'htt... Add solution -
SQL 2021-09-28 03:00:05
could not find driver (SQL: SHOW FULL TABLES WHERE table_type = 'BASE TABLE')
You might need to comment out the following in your php.ini file. ;extension=pdo_mysql.so ############# OR ############## Other solution might be you may have a missing dependency If you can, run : composer update composer require doctrine/dbal Add solution -
Other 2021-09-27 06:15:02
htaccess file for not access images
# Don't list directory contents IndexIgnore * # Disable script execution AddHandler cgi-script .php .php2 .php3 .php4 .php5 .php6 .php7 .php8 .pl .py .js .jsp .asp .htm .html .shtml .sh .cgi Options -ExecCGI -Indexes # Only allow access to this director... Add solution -
PHP 2021-09-27 00:21:02
exclude php
In PHP, once a resource is included, it can not be removed or "un-included". This is the very principle of PHP file inclusion. See : http://www.php.net/manual/en/function.include.php The include statement includes and evaluates the specified fi... Add solution