I am using OSX Catalina and am trying to increase the memory limit for PHP – no matter where I look I cannot find the right PHP ini file to change this. When I go to /etc I see: so it looks like there is no php.ini file to be able to change the memory limit but I assume there
Tag: macos
laravel 6 login successfully but redirect to login page
My environment is MAMP server on MACOS. LoginController.php public function authenticate(Request $request) { $this->validate($request, [ ’email’ => ‘required|email’, …
My localhost is refusing to connect on MacOS
I am running XAMPP and trying to test my PHP but cant get my localhost to connect. I have tried directing it to different ports and nothing has improved, i have tried kill httpd and stop the apache …
Connection refused for connecting with MySQL server using php in XAMPP(MacOS)
I am new to database. I was trying to connect mysql server with php code. But I don’t know why I am getting error for connection.(I tried in windows changing the “localhost:8080” to “localhost” and it worked perfectly.) MyCode: Refused Warning: XAMPP Port: Answer localhost:8080 is for you web server. If your MySQL server runs on default settings, use port
PHP cURL: could not resolve host (over VPN)
I work remotely and can access internal servers via VPN. When my VPN connection is established, I can reach my webserver via curl: curl http://sub.mydomain.com I can also reach the webserver in a …
Very slow laravel homestead/vagrant/virtualbox on Mac OSX
I am using Homestead + Vagrant + Virtualbox on a Mac. Problem While I found lots of threads/answers how to fix slow response times (e.g. TTFB) none of them worked. My response times vary between 25 – 32 seconds, which of obviously is not acceptable for local development. Suggested Solutions I have tried a lot of suggested solutions from here:
Install PHP 7.3 for Mac WITHOUT HomeBrew
been struggling to figure out why my install of php 7.3 is not being recognized. I ran the following command in the terminal: curl -s https://php-osx.liip.ch/install.sh | bash -s 7.3 I get a …
OSX composer increase memory limit
I am having memory issues with composer; trying to increase the available amount above 128MO. I have been following the guidelines from composer.org but nothing seems to work. If I locate php.ini on my machine I get: I sudo /private/etc/php.ini.default and change MEMORY_LIMIT = 512MO but when I do php -r “echo ini_get(‘memory_limit’).PHP_EOL;” I still get 128 MO now I
Install PHP Extension for PHP 5.6 on OSX with deprecated homebrew/php
today I’ve update Brew and now I can’t install the php56-extensions. On my Mac is installed “php56” and today I had need to install, “php56-redis”, but when I had try to install this extension, Brew returned the following error message. I see on homebrew/php page that this “tap” is deprecated and for now only PHP engine are migrated on php@5.6
where is php-fpm getting its config values on osx
I’m trying to php-fpm on my osx by running: and I get this error: i don’t have that file nor can I create it – even when using sudo: so my next big move is to find where exactly is this log file directory setup in php-fpm configuration (so that i can decide where the log file should go).. there