Uh-oh! unable to start site

Good morning,
I have this error message when I want to connect to wordpress

Hi there @amarigna - welcome to the Local community! :wave:

Can you please provide a little more information?

It would be helpful to know:

  • Your operating system
  • Your Local version
  • Information about the Local site (PHP version, Web server, etc)

Are you able to create a Local site with default settings?

Let’s start there,

Sam

Good morning,
windows 11 operating system.
php 8.1.9
nginx web server

1 Like

yes I can create another site and it works

I get a message telling me that I cannot connect to telnet ::1

Warning: PHP Startup: Unable to load dynamic library 'php_gd2.dll' (tried: C:/Users/LENCI-DELALE/AppData/Local/Programs/Local/resources/extraResources/lightning-services/php-8.1.9+8/bin/win64/ext\php_gd2.dll (Le module spécifié est introuvable), C:/Users/LENCI-DELALE/AppData/Local/Programs/Local/resources/extraResources/lightning-services/php-8.1.9+8/bin/win64/ext\php_php_gd2.dll.dll (Le module spécifié est introuvable)) in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library 'php_xmlrpc.dll' (tried: C:/Users/LENCI-DELALE/AppData/Local/Programs/Local/resources/extraResources/lightning-services/php-8.1.9+8/bin/win64/ext\php_xmlrpc.dll (Le module spécifié est introuvable), C:/Users/LENCI-DELALE/AppData/Local/Programs/Local/resources/extraResources/lightning-services/php-8.1.9+8/bin/win64/ext\php_php_xmlrpc.dll.dll (Le module spécifié est introuvable)) in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library 'php_imagick.dll' (tried: C:/Users/LENCI-DELALE/AppData/Local/Programs/Local/resources/extraResources/lightning-services/php-8.1.9+8/bin/win64/ext\php_imagick.dll (Le module spécifié est introuvable), C:/Users/LENCI-DELALE/AppData/Local/Programs/Local/resources/extraResources/lightning-services/php-8.1.9+8/bin/win64/ext\php_php_imagick.dll.dll (Le module spécifié est introuvable)) in Unknown on line 06.2.2

I’m getting the same error

Hello @amarigna and @kgarrison -

Can you please provide Local Logs so we can assist further?

You can follow this help doc: Retrieving Local’s Log File - Local

Thank you!

Sam

1 Like

hello, here are the files
cheers
local-logs1.zip (49.2 KB)
local-logs.zip (35.0 KB)

local-lightning.log (783.2 KB)
I thought I attached. This is the file that comes up when following those directions.

correction - i DID attach but that was in my own support ticket, not this one. Same issue though.

@amarigna and @kgarrison

Based on the logs it looks like there is a port conflict. Do you have any antivirus, security, or firewall applications that could be blocking Local? Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.

More details about troubleshooting this here: Router Mode

Good morning,
thank you for your advice I tried but it does not work; I once managed to connect to wordpress by switching to Apache but since yesterday nothing.

Creating a new account works fine.

I am having the same problem. Please help! In laymans terms, I am basically computer illiterate so go carefully.

for example, in your self help:
Note: make sure to replace <process-id> with whatever process you found in the first command:
I don’t understand what this means.

When you are looking at the processes running there should be a “PID” column on the far right to designate each process. You’ll use that PID with the command to kill any conflicting processes.

Ok I still do not understand what I am doing.
I right clicked on the windows button and typed cmc.exe under Run. Then where do I find the details of what I am supposed to be typing in there?

Hi @TarynH

Here are the basic steps for identifying and addressing port conflicts:

  • Stop all sites that are running in Local

  • Force quit Local

  • (If using Mac) Run the command lsof -nP -iTCP -sTCP:LISTEN

  • (If using Windows) Run the command netstat -ano

What you’ll be looking for here is to see when sites are stopped and Local is properly shut down if there are still programs running on ports 80 and 443. These may be conflicting with Local or the system may be reporting Local is still running.

Once you run that command you should see a list of listening ports. If you see a particular program making use of those ports, you can then kill that process by running sudo kill -9 XXX where XXX is the PID number of that process. (On Windows you will use taskkill /F /pid XXX where XXX is the PID number of that process)

There are also some more details around this and other troubleshooting steps at this link if needed: Stopping Whatever Is Listening On Port 80.