start.sh 228 B

1234567891011
  1. #!/bin/bash
  2. chown -R www:www /tmp
  3. chown -R www:www /alidata/www/protected/runtime/
  4. cp -f /alidata/www/script/php.ini /usr/local/etc/php/php.ini
  5. #启动php
  6. php-fpm
  7. #启动Nginx
  8. /alidata/server/nginx/sbin/nginx -g "daemon off;"