macos-catalina

Under Catalina MacOS 10.15 PHP under Apache has restricted access to some files via file links possibly by privacy changes

限于喜欢 提交于 2021-02-18 21:14:14
问题 PROBLEM After upgrading to MacOS 10.15 Catalina PHP is having problems reading some links, and not others, runing PHP (As Apache's user "www"). The problem appears to be possibly changes to the OS privacy/security configuration, which we know has changed, rather than directory execution permisson / FollowSymLink permissions. DETAILS $ ls -alt /Users/[MYUSER]/Sites/*info.php lrwxr-xr-x 1 [MYUSER] staff 8 Oct 10 11:16 /Users/[MYUSER]/Sites/linfo.php -> info.php -rwxr-xr-x 1 [MYUSER] staff 25

Under Catalina MacOS 10.15 PHP under Apache has restricted access to some files via file links possibly by privacy changes

限于喜欢 提交于 2021-02-18 21:12:11
问题 PROBLEM After upgrading to MacOS 10.15 Catalina PHP is having problems reading some links, and not others, runing PHP (As Apache's user "www"). The problem appears to be possibly changes to the OS privacy/security configuration, which we know has changed, rather than directory execution permisson / FollowSymLink permissions. DETAILS $ ls -alt /Users/[MYUSER]/Sites/*info.php lrwxr-xr-x 1 [MYUSER] staff 8 Oct 10 11:16 /Users/[MYUSER]/Sites/linfo.php -> info.php -rwxr-xr-x 1 [MYUSER] staff 25

Problems using zsh with Catalina, Python/Python3, pip/pip3, PATH, zshrc, etc

早过忘川 提交于 2021-02-17 21:30:06
问题 I recently updated to Catalina and the default zsh. I probably messed up paths during the transition, and I'm currently trying to sort out the locations of Python3.7, pip3, the command-line PATH and my zshrc file. It looks as if there are potentially redundant files contained within /usr/bin, /usr/local/bin, /usr/local/Cellar/python and /Users/[user]/.local/bin The following are reproductions of commands: $ which python3 /usr/bin/python3 $ which python /usr/bin/python $ which pip pip not

Problems using zsh with Catalina, Python/Python3, pip/pip3, PATH, zshrc, etc

笑着哭i 提交于 2021-02-17 21:29:18
问题 I recently updated to Catalina and the default zsh. I probably messed up paths during the transition, and I'm currently trying to sort out the locations of Python3.7, pip3, the command-line PATH and my zshrc file. It looks as if there are potentially redundant files contained within /usr/bin, /usr/local/bin, /usr/local/Cellar/python and /Users/[user]/.local/bin The following are reproductions of commands: $ which python3 /usr/bin/python3 $ which python /usr/bin/python $ which pip pip not

Package rgl in R not loading in Mac OS

依然范特西╮ 提交于 2021-02-17 06:43:31
问题 I installed the rgl package (0.104.16) in R (3.6.3), but it does not load. I don't get any errors. It just never ends loading. I tried reinstalling R and RStudio and also Xquartz. Nothing is working. I have Mac OS Catalina version 10.15.7. Any help would be highly appreciated! Cheers 回答1: Edited to add new details and suggested fixes. This appears to be due to problems in the 2.8.0beta version of Xquartz that was released in early February. There are two problems: It makes incompatible

DYLD_LIBRARY_PATH environment variable is not forwarded to external command in Makefile on macOS

时间秒杀一切 提交于 2021-02-16 20:48:10
问题 I am debugging some test failures ( make test ) for a Perl module on macOS. I discovered that the problem seems to be that the environment variable DYLD_LIBRARY_PATH is not forwarded to an external command run from within the Makefile . Here is a minimal example: .PHONY: all all: @echo $$DYLD_LIBRARY_PATH On Linux from the Bash shell, I can do (or rather replace DYLD_LIBRARY_PATH with LD_LIBRARY_PATH which is used for this purpose on Linux): $ export DYLD_LIBRARY_PATH=bar $ make bar However,

when opening multiple files in vscode, only the first is actually loaded in memory

老子叫甜甜 提交于 2021-02-11 15:02:35
问题 For my job i'm frequently opening lists of files from the terminal. When i do this with vscode, they are opened and all the tabs are there. But only the files i have clicked though and looked at are loaded into memory. If i were to do a find and replace it would only bring up results from the files i have looked at. It also doesnt tell me how many files are open exactly which would be nice. These all seem like things other editors do by default. I was wondering what i have to do to enable

when opening multiple files in vscode, only the first is actually loaded in memory

时间秒杀一切 提交于 2021-02-11 14:58:18
问题 For my job i'm frequently opening lists of files from the terminal. When i do this with vscode, they are opened and all the tabs are there. But only the files i have clicked though and looked at are loaded into memory. If i were to do a find and replace it would only bring up results from the files i have looked at. It also doesnt tell me how many files are open exactly which would be nice. These all seem like things other editors do by default. I was wondering what i have to do to enable

Default php.ini macOs Catalina

我的梦境 提交于 2021-02-08 15:11:33
问题 I would like to know which php.ini is the default one used by PHP ? Because if you write locate php.ini there a 3 files and all of these files have an /etc as parent directory, but not the same parent directory of /etc, so I don't know which one is the default one used by PHP. Terminal output 回答1: Type in your console: php -i |grep php\.ini 回答2: The fastest way ist to check out the ini path on the phpinfo() Call Simply edit your index.php <?php echo phpinfo(); ?> 回答3: On macOS Catalina type

Qemu not responding after upgrading to macOS Catalina

核能气质少年 提交于 2021-02-07 21:05:16
问题 After upgrading my Mac to Catalina, I can't use qemu anymore. Whenever I try to start it, it just hangs. The menu bar also doesn't respond while the qemu window is active. Running qemu-system-i386 --help does work though. Qemu version: 4.1.0 Edit: Passing -nographic fixes the issue. 回答1: This is the result of a change in behaviour in Catalina which breaks an assumption in the design of the QEMU Cocoa front-end. We've put in a change to the QEMU code (upstream git commit dff742ad27efa474)