Issue Summary
My corp network is blocked downloadable PHP version call. So I can’t get the correct PHP version to test the site. At the moment it is only using default PHP 7.3.
-
Is there a manual way to install additional version of PHP? I have tried to drop the folder with PHP 7.4 into this lighting-services folder but it is not working. macOS popup with code-signing warning.
-
What are the external URLs that Local calls that would make this to work? I need the list so I can make whitelist request to our IT team.
Troubleshooting Questions
- Does this happen for all sites in Local, or just one in particular?
This is happening for any sites.
- Are you able to create a new, plain WordPress site in Local and access it in a Browser?
I can create with PHP 7.3 but not with PHP 7.4 (drop-in)
Replication
Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!
Try to work-around but not working
- On personal machine go to
~/Library/Application Support/Local/lightning-services
- Move
php-7.4.1+16
to work machine~/Library/Application Support/Local/lightning-services
- Start a new site with select PHP 7.4.1 version
- macOS will popup with “…was blocked from use because it is not from an identified developer”
- Click Allow anyway but there is nothing happening
System Details
-
Which version of Local is being used?
Tried 5.10.5, 6.1.1 -
What Operating System (OS) and OS version is being used?
- macOS BigSur
-
Attach the Local Log. See this Community Forum post for instructions on how to do so:
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%userDataPath%%/lightning-services/php-7.4.1+16/lib/main.js","timestamp":"2021-08-18T15:16:54.730Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%userDataPath%%/lightning-services/php-7.4.1+16/lib/main.js","timestamp":"2021-08-18T15:16:54.760Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/mailhog-1.0.0+3/lib/main.js","timestamp":"2021-08-18T15:16:54.761Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/mailhog-1.0.0+3/lib/main.js","timestamp":"2021-08-18T15:16:54.763Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/mariadb-10.4.10+4/lib/main.js","timestamp":"2021-08-18T15:16:54.764Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/mariadb-10.4.10+4/lib/main.js","timestamp":"2021-08-18T15:16:54.791Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/mysql-8.0.16+6/lib/main.js","timestamp":"2021-08-18T15:16:54.792Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/mysql-8.0.16+6/lib/main.js","timestamp":"2021-08-18T15:16:54.815Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/nginx-1.16.0+5/lib/main.js","timestamp":"2021-08-18T15:16:54.816Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/nginx-1.16.0+5/lib/main.js","timestamp":"2021-08-18T15:16:54.838Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/php-7.3.5+11/lib/main.js","timestamp":"2021-08-18T15:16:54.839Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/php-7.3.5+11/lib/main.js","timestamp":"2021-08-18T15:16:54.860Z"}
{"thread":"main","reason":{"code":"SELF_SIGNED_CERT_IN_CHAIN"},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2021-08-18T15:16:56.282Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2021-08-18T15:18:21.475Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-08-18T15:18:22.882076Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld (mysqld 8.0.16) starting as process 70249","timestamp":"2021-08-18T15:18:23.566Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-08-18T15:18:22.886872Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","timestamp":"2021-08-18T15:18:23.566Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-08-18T15:18:22.887678Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive","timestamp":"2021-08-18T15:18:23.567Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-08-18T15:18:23.181929Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2021-08-18T15:18:23.567Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-08-18T15:18:23.199800Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld: ready for connections. Version: '8.0.16' socket: '%%site.runData%%/mysql/mysqld.sock' port: 10008 MySQL Community Server - GPL.","timestamp":"2021-08-18T15:18:23.567Z"}