Skip to content

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 fro…

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

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 ret…

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…

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 &#82…