Quote from egodyla on August 4, 2024, 1:51 amHello,
Is it possible to automatically start neoPHPServer at system startup?
Thanks in advance
Hello,
Is it possible to automatically start neoPHPServer at system startup?
Thanks in advance

Quote from luishp on August 4, 2024, 7:36 pm@egodyla neoPhp Server is a user interface for the built-in web server PHP includes.
You can start it automatically at system startup as any other Windows Program (more below).Check here all the available options, so you can be sure the root folder is your app folder:
https://www.php.net/manual/en/features.commandline.webserver.phpTo automatically start a software at system startup in Windows, you can use several methods depending on your preferences and the software you want to start. Here are the most common methods:
Method 1: Using the Startup Folder
- Locate the Software: Find the executable file (
.exe) of the software you want to start automatically.- Open the Startup Folder:
- Press
Win + Rto open the Run dialog.- Type
shell:startupand press Enter. This opens the Startup folder for the current user.- Create a Shortcut:
- Right-click in the Startup folder, go to
New > Shortcut.- Browse to the location of the software’s executable file, select it, and click
Next.- Give the shortcut a name, and click
Finish.- Test: Restart your computer to verify that the software starts automatically.
Method 2: Using Task Scheduler
- Open Task Scheduler:
- Press
Win + Sand search for "Task Scheduler". Open it.- Create a New Task:
- In Task Scheduler, click on
Create Taskin the Actions panel on the right.- Give the task a name under the
Generaltab.- Set the Trigger:
- Go to the
Triggerstab, and clickNew.- Select
At startupfrom the dropdown menu.- Click
OK.- Set the Action:
- Go to the
Actionstab, and clickNew.- Choose
Start a programas the action.- Browse to the executable file of the software you want to start automatically.
- Click
OK.- Configure Additional Settings (Optional):
- You can adjust additional settings under the
ConditionsandSettingstabs.- Finish:
- Click
OKto save the task.- Restart your computer to verify that the software starts automatically.
Method 3: Using Registry Editor (Advanced)
- Open Registry Editor:
- Press
Win + R, typeregedit, and press Enter.- Navigate to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Runfor user-specific startup orHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Runfor all users.- Add a New String Value:
- Right-click on the right pane, select
New > String Value.- Name it with the software's name.
- Modify the Value Data:
- Double-click the new string value.
- Set the value data to the full path of the software’s executable file.
- Click
OK.- Close Registry Editor: Restart your computer to verify that the software starts automatically.
Method 4: Using Group Policy Editor (For Domain Environments)
This method is generally used in domain environments for managing multiple computers and requires access to Group Policy Editor.
- Open Group Policy Editor:
- Press
Win + R, typegpedit.msc, and press Enter.- Navigate to
User Configuration > Administrative Templates > System > Logon.- Configure the Policy:
- Find the
Run these programs at user logonsetting.- Enable it and add the full path to the executable file.
- Apply and Restart: Save the changes, then restart your computer.
These methods will ensure that your software starts automatically whenever your system boots up. Choose the method that best fits your needs and comfort level with the Windows environment.
@egodyla neoPhp Server is a user interface for the built-in web server PHP includes.
You can start it automatically at system startup as any other Windows Program (more below).
Check here all the available options, so you can be sure the root folder is your app folder:
https://www.php.net/manual/en/features.commandline.webserver.php
To automatically start a software at system startup in Windows, you can use several methods depending on your preferences and the software you want to start. Here are the most common methods:
.exe) of the software you want to start automatically.Win + R to open the Run dialog.shell:startup and press Enter. This opens the Startup folder for the current user.New > Shortcut.Next.Finish.Win + S and search for "Task Scheduler". Open it.Create Task in the Actions panel on the right.General tab.Triggers tab, and click New.At startup from the dropdown menu.OK.Actions tab, and click New.Start a program as the action.OK.Conditions and Settings tabs.OK to save the task.Win + R, type regedit, and press Enter.HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run for user-specific startup or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run for all users.New > String Value.OK.This method is generally used in domain environments for managing multiple computers and requires access to Group Policy Editor.
Win + R, type gpedit.msc, and press Enter.User Configuration > Administrative Templates > System > Logon.Run these programs at user logon setting.These methods will ensure that your software starts automatically whenever your system boots up. Choose the method that best fits your needs and comfort level with the Windows environment.