Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
Tag: macos
Not loading ‘libphp5’ module with CA on apache2.4.51
On Macbook M1Max. Installed PHP5.6 by ‘shivammathur/php/php@5.6’ via Homebrew. And set the module info on a configuration file(httpd.conf) of Apache. then passed apachectl syntax check that has no error. BUT, apache still occurred below errors. How can fix them? Answer Please use httpd package from Homebrew instead of system Apache as that requires code signing. Unload the system Apache Make
PHP cURL error: SSL certificate problem: self signed certificate
Long story short, I had to reinstall php 7.4 on my Mac. I have a php webapp that hits a .NET API. Prior to the reinstall of php, I was able to hit a locally running version of my API at https://localhost:5001 using cURL in php but now I get a response code of 0 with this error: If I
zsh: command not found: php
I have been using php with mamp on mac for a year even with old versions of MacOS, since I installed MacOS Monterrey if I type php on the terminal I get a message:zsh: command not found: php Using older versions of MacOS I have never had this problem. How can I solve the problem? Answer I had the same
Unable to change file mode on bin: Operation not permitted
I’m trying to install Composer globally on Mac OS. I tried to move the composer.phar file by using this command in Terminal as instructed in the Getting Started section: I get this error: When I try create the directory it says the operation is not permitted: I even tried to navigate to the “bin” directory and it says: I’ve enabled
Check if PDFTOHTML is installed on server
I’m trying to check before running a php script if pdftohtml is installed on server. Is there a way to check if pdftohtml is installed on server (linux or mac) from within the code. I’m looking for something similar to function_exists() Answer Perhaps, the following will solve your case: which returns nothing if the program isn’t found. But it will
PHPUnit always output “No tests executed!” on MacOS Big Sur
When trying to run any PHPUnit tests, I always get a No tests executed! message on my MacOS machine. A simple way to reproduce, on this specific machine, is to install a fresh instance of Laravel and running the default tests : The expected output would be OK (2 tests, 2 assertions). As far as I know, this is not
Access External NAS /Volume via scandir in PHP on Mac
I’ve done a bunch of research on this one and there are very different answers. I can’t get confident that I won’t mess up my Apache settings or cause me not to be able to get to the Volume from Mac Finder after making changes. Has anyone done this recently that can walk me through the steps to get my
Update Catalina to Big Sur apache error /private/etc/apache2/httpd.conf: Could not open configuration file /private/etc/apache2/other/+php-osx.conf [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 1 year ago. Improve this question I update my macOS from Catalina to Big Sur. After updating my apache is not working. It shows an error Iam not sure why
How to fix PHP module problems after update
I think this question is asked already, but with so many different conditions, I think my problem is a bit unique, correct me if I’m wrong. I have this response after make a PHP update on my old MacBook. Using curl PHP install command: and this is my result after install and I check my version with “PHP -v” command