{"id":25874663,"url":"https://github.com/lyft/heroku-buildpack-php","last_synced_at":"2025-03-02T09:28:41.538Z","repository":{"id":6007888,"uuid":"7231046","full_name":"lyft/heroku-buildpack-php","owner":"lyft","description":null,"archived":false,"fork":false,"pushed_at":"2020-08-21T00:36:56.000Z","size":141,"stargazers_count":2,"open_issues_count":0,"forks_count":13,"subscribers_count":29,"default_branch":"master","last_synced_at":"2023-04-10T04:51:27.860Z","etag":null,"topics":["lyft"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"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/lyft.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}},"created_at":"2012-12-18T21:52:17.000Z","updated_at":"2023-01-04T00:08:05.000Z","dependencies_parsed_at":"2022-07-07T00:33:40.962Z","dependency_job_id":null,"html_url":"https://github.com/lyft/heroku-buildpack-php","commit_stats":null,"previous_names":[],"tags_count":3,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyft%2Fheroku-buildpack-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyft%2Fheroku-buildpack-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyft%2Fheroku-buildpack-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyft%2Fheroku-buildpack-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lyft","download_url":"https://codeload.github.com/lyft/heroku-buildpack-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241485260,"owners_count":19970452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["lyft"],"created_at":"2025-03-02T09:28:41.069Z","updated_at":"2025-03-02T09:28:41.530Z","avatar_url":"https://github.com/lyft.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Apache+PHP build pack\n========================\n\nThis is a build pack bundling PHP and Apache for Heroku apps.\n\nConfiguration\n-------------\n\nThe config files are bundled with the build pack itself:\n\n* conf/httpd.conf\n* conf/php.ini\n\n\nPre-compiling binaries\n----------------------\n\n    # apache\n    mkdir /app\n    wget http://apache.cyberuse.com//httpd/httpd-2.2.19.tar.gz\n    tar xvzf httpd-2.2.19.tar.gz\n    cd httpd-2.2.19\n    ./configure --prefix=/app/apache --enable-rewrite\n    make\n    make install\n    cd ..\n    \n    # php\n    wget http://us2.php.net/get/php-5.3.6.tar.gz/from/us.php.net/mirror \n    mv mirror php.tar.gz\n    tar xzvf php.tar.gz\n    cd php-5.3.6/\n    ./configure --prefix=/app/php --with-apxs2=/app/apache/bin/apxs --with-mysql --with-pdo-mysql --with-pgsql --with-pdo-pgsql --with-iconv --with-gd --with-curl=/usr/lib --with-config-file-path=/app/php --enable-soap=shared --with-openssl\n    make\n    make install\n    cd ..\n    \n    # php extensions\n    mkdir /app/php/ext\n    cp /usr/lib/libmysqlclient.so.15 /app/php/ext/\n    \n    # pear\n    apt-get install php5-dev php-pear\n    pear config-set php_dir /app/php\n    pecl install apc\n    mkdir /app/php/include/php/ext/apc\n    cp /usr/lib/php5/20060613/apc.so /app/php/ext/\n    cp /usr/include/php5/ext/apc/apc_serializer.h /app/php/include/php/ext/apc/\n    \n    \n    # package\n    cd /app\n    echo '2.2.19' \u003e apache/VERSION\n    tar -zcvf apache.tar.gz apache\n    echo '5.3.6' \u003e php/VERSION\n    tar -zcvf php.tar.gz php\n\n\nHacking\n-------\n\nTo change this buildpack, fork it on Github. Push up changes to your fork, then create a test app with --buildpack \u003cyour-github-url\u003e and push to it.\n\n\nMeta\n----\n\nCreated by Pedro Belo.\nMany thanks to Keith Rarick for the help with assorted Unix topics :)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyft%2Fheroku-buildpack-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flyft%2Fheroku-buildpack-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyft%2Fheroku-buildpack-php/lists"}