编译php_screw时报错[php_screw.lo]error 1

  1. yum install php-devel
  2. phpize
  3. ./configure
  4. vi my_screw.(随意修改)
  5. vi php_screw.c
    全文搜索并替换
    org_compile_file(file_handle, type); -> org_compile_file(file_handle, type TSRMLS_CC);
    GC(extended_info)=1; => CG(compiler_options) |=ZEND_COMPILE_EXTENDED_INFO;
  6. make