What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-10-17 19:10:15
Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/Cellar/composer/1.9.1/bin/composer/src/Composer/DependencyResolver/Solver.php on line 223 mac
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 -
Other 2021-10-15 04:40:09
could not find driver (SQL: PRAGMA foreign_keys = ON;)
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-10-13 02:46:03
mail() function in php not working
CONFIGURE THESE SETUPS: in your php.ini: SMTP=smtp.gmail.com smtp_port=587 sendmail_from = [email protected] sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t" in your sendmail.ini smtp_server=smtp.gmail.com smtp_port=587 e... Add solution -
PHP 2021-10-12 12:28:09
enable mcrypt in php ini in xampp php.ini
First, you should download the suitable version for your system from here: https://pecl.php.net/package/mcrypt/1.0.3/windows Then, you should copy php_mcrypt.dll to ../xampp/php/ext/ and then enable the extension by adding extension=mcrypt to your xampp... Add solution