{"id":40168944,"url":"https://github.com/christiangarcia0311/termux-php-server","last_synced_at":"2026-01-19T17:03:02.522Z","repository":{"id":248949044,"uuid":"821170487","full_name":"christiangarcia0311/termux-php-server","owner":"christiangarcia0311","description":"This repository provides a set of configuration files and a script to set up a PHP, Apache, and MySQL server in Termux.","archived":false,"fork":false,"pushed_at":"2024-08-03T14:28:23.000Z","size":200,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-03T15:43:07.762Z","etag":null,"topics":["apache","apachectl","php","php-server","termux-phpmyadmin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/christiangarcia0311.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-28T00:59:23.000Z","updated_at":"2024-08-03T14:28:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c455274-25f6-4786-af70-3352353784ba","html_url":"https://github.com/christiangarcia0311/termux-php-server","commit_stats":null,"previous_names":["christiangarcia0311/termux-php-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/christiangarcia0311/termux-php-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christiangarcia0311%2Ftermux-php-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christiangarcia0311%2Ftermux-php-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christiangarcia0311%2Ftermux-php-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christiangarcia0311%2Ftermux-php-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christiangarcia0311","download_url":"https://codeload.github.com/christiangarcia0311/termux-php-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christiangarcia0311%2Ftermux-php-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28577042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T16:29:19.148Z","status":"ssl_error","status_checked_at":"2026-01-19T16:29:17.772Z","response_time":67,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["apache","apachectl","php","php-server","termux-phpmyadmin"],"created_at":"2026-01-19T17:02:43.307Z","updated_at":"2026-01-19T17:03:02.516Z","avatar_url":"https://github.com/christiangarcia0311.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Static Badge](https://img.shields.io/badge/apache-server-red?logo=Apache\u0026link=https%3A%2F%2Fhttpd.apache.org%2F)\n![Static Badge](https://img.shields.io/badge/mariadb-brown?logo=MariaDB\u0026link=https%3A%2F%2Fmariadb.org%2F)\n![Static Badge](https://img.shields.io/badge/termux-application-green?link=https%3A%2F%2Ff-droid.org%2Fen%2Fpackages%2Fcom.termux%2F)\n![Static Badge](https://img.shields.io/badge/php-apache-purple?logo=Php\u0026logoColor=white\u0026link=https%3A%2F%2Fwww.php.net%2Fmanual%2Fen%2Fbook.apache.php)\n![Static Badge](https://img.shields.io/badge/phpmyadmin-v.5.2.1-violet?logo=phpmyadmin\u0026logoColor=white\u0026link=https%3A%2F%2Fwww.php.net%2Fmanual%2Fen%2Fbook.apache.php)\n\n# Termux PHP Server\n\n![asset](images/asset.jpg)\n\nThis repository provides a set of configuration files and a script to set up a PHP, Apache, and MySQL server in Termux.\n\n## Files Included\n\n- `config.inc.php`: Configuration file for database connection.\n- `httpd-vhosts.conf`: Configuration file for setting up virtual hosts in Apache.\n- `httpd.conf`: Main configuration file for Apache.\n- `index.php`: Basic PHP script to test the server setup.\n- `setup-server.sh`: Shell script to automate the setup process.\n\n## Requirements\n\n\u003e Termux App\n- download [Termux](https://termux.en.uptodown.com/android/download) here.\n\n## Usage\n\n1. install git `pkg install git -y`\n2. clone the script `git clone https://github.com/christiangarcia0311/termux-php-server`\n3. go to the folder directory `cd termux-php-server`\n4. Make the script executable by running `sh setup-server.sh`\n\n## Run and Access Server\n\n\u003e Initialize and start mysql\n\n`mysqld --skip-grant-tables`\n\n\u003e Start apache server\n\n`apachectl start`\n\n## Run and Start MySQL\n\n\u003e start mysql\n\n`mysql -u $(whoami)`\n\n## Stop Server\n\n\u003e Terminate running mysql \n\n`killall mysqld`\n\n\u003e Stop apache server\n\n`apachectl stop`\n\n## Server Domain\n\n\u003e localhost in web browser\n\n`localhost:8080`\n\n\u003e phpmyadmin in web browser\n\n`0.0.0.0:8080`\n\n## Author\n\n![Static Badge](https://img.shields.io/badge/Christian-Garcia-orange?link=https%3A%2F%2Fgithub.com%2Fchristiangarcia0311)\n\n## Contact\n\nFor issues, please open an issue on GitHub.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristiangarcia0311%2Ftermux-php-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristiangarcia0311%2Ftermux-php-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristiangarcia0311%2Ftermux-php-server/lists"}