Skip to content

Instantly share code, notes, and snippets.

@boranbar
Last active September 14, 2025 17:26
Show Gist options
  • Select an option

  • Save boranbar/0a10e78286c5d01e16e5a804c920976d to your computer and use it in GitHub Desktop.

Select an option

Save boranbar/0a10e78286c5d01e16e5a804c920976d to your computer and use it in GitHub Desktop.
Plesk - NPM İçinde Sürüm Bazlı PHP Scripti Tetiklemek

package.json dosyasında build satırını aşağıdaki şekilde değiştiriyoruz. 8.3 yazan yere site PHP sürümü ne ise o yazılacak.

{
  "scripts": {
    "build": "PATH=/opt/plesk/php/8.3/bin:$PATH vite build"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment