{"id":18706562,"url":"https://github.com/maruf-pfc/php-mysql-project-run-in-linux","last_synced_at":"2026-04-19T04:35:21.407Z","repository":{"id":258304940,"uuid":"861679369","full_name":"maruf-pfc/php-mysql-project-run-in-linux","owner":"maruf-pfc","description":"Run PHP MySQL Projects on Linux","archived":false,"fork":false,"pushed_at":"2024-09-23T10:47:45.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T06:36:23.388Z","etag":null,"topics":["lampp","linux","mysql","php","xampp"],"latest_commit_sha":null,"homepage":"https://maruf-pfc.github.io/php-mysql-project-run-in-linux/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maruf-pfc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-23T10:34:48.000Z","updated_at":"2024-09-23T10:47:47.000Z","dependencies_parsed_at":"2024-10-18T11:27:47.259Z","dependency_job_id":"935acad6-494c-470f-8913-e7d20fdd4545","html_url":"https://github.com/maruf-pfc/php-mysql-project-run-in-linux","commit_stats":null,"previous_names":["maruf-pfc/php-mysql-project-run-in-linux"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maruf-pfc/php-mysql-project-run-in-linux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruf-pfc%2Fphp-mysql-project-run-in-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruf-pfc%2Fphp-mysql-project-run-in-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruf-pfc%2Fphp-mysql-project-run-in-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruf-pfc%2Fphp-mysql-project-run-in-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maruf-pfc","download_url":"https://codeload.github.com/maruf-pfc/php-mysql-project-run-in-linux/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maruf-pfc%2Fphp-mysql-project-run-in-linux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31995167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lampp","linux","mysql","php","xampp"],"created_at":"2024-11-07T12:14:31.672Z","updated_at":"2026-04-19T04:35:21.386Z","avatar_url":"https://github.com/maruf-pfc.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"The problem involves restricted access to the /opt/lampp/htdocs directory, which is owned by the root user, preventing the user \"maruf\" from accessing it for development. The solution entails changing the ownership and permissions of the directory, allowing \"maruf\" to read, write, and execute files within it, enabling seamless development using Visual Studio Code.\n\nTo give your user \"maruf\" access to the `/opt/lampp/htdocs` directory and allow you to work with VSCode, you can change the ownership and permissions of the folder. Here are the steps:\n\n1. **Change Ownership**: You can change the ownership of the folder to \"maruf\" using the `chown` command.\n   ```bash\n   sudo chown -R maruf:maruf /opt/lampp/htdocs\n   ```\n\n   This will give your user ownership of the directory and its contents recursively.\n\n2. **Adjust Permissions**: If you also want to modify permissions, you can use the `chmod` command. For example, to give read, write, and execute permissions to the owner and group, and read and execute permissions to others:\n   ```bash\n   sudo chmod -R 755 /opt/lampp/htdocs\n   ```\n\n3. **Add User to `www-data` Group (Optional)**: If the web server uses the `www-data` group, you can also add \"maruf\" to this group:\n   ```bash\n   sudo usermod -aG www-data maruf\n   ```\n\n4. **Restart the Web Server**: If needed, restart your web server to apply the changes.\n   ```bash\n   sudo /opt/lampp/lampp restart\n   ```\n\nAfter following these steps, you should be able to work on your PHP project in VSCode without permission issues.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaruf-pfc%2Fphp-mysql-project-run-in-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaruf-pfc%2Fphp-mysql-project-run-in-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaruf-pfc%2Fphp-mysql-project-run-in-linux/lists"}