Milos Knezevic
Articles
-
How to download a database from the backups and set it up on a different environment?
Yes, you can restore a backup to a separate environment. Alternatively, you can also use the database from one environment into another environment: Export the database to your local computer with...
-
Can I use a Cookie as a Cache Key in Fastly?
Yes, to use a Cookie as a Cache Key, you can create it through a Header and attaching a Condition. Access to the Fastly API is available from the following file on your cluster: /mnt/shared/fastly_...
-
Are outgoing mail logged?
Outgoing mail from the server aren't logged. A workaround to this would be to use PHPMail and configure it to log any outgoing mail sent from the app to /var/log/app.log. To find out how to do thi...
-
Can I run a one-off script?
You can run a one-off script and access the Environment with the Platform.sh CLI, or using SSH via the address that can be found on the SSH drop-down on the project page. /tmp is a reasonable place...
-
Is it possible to restrict URL Route Access by IP address?
It's not possible to restrict IP addresses to access a given route. You can block IPs at the environment level with the HTTP Access Control and provide either: a list of IP addresses a username an...
-
With the ssh key-less approach, is there a way to do a quick scp?
You can use platform scp to copy files to and from your current environment. For example, to download data to your local system, you can do: platform scp -r remote:<DIRECTORY_TO_SYNCHRONIZE> <LOC...
-
Is it possible to use the project deploy key for the GitHub integration?
No, it is currently not possible. The GitHub integration requires more permissions than only being able to git push. It needs to fetch the Pull Requests (PR) and interact with them, among other thi...
-
Where is the documentation on static IPs?
It can be found in the public IP addresses section.
-
How do I install a php extension with pecl?
Download the pecl bash script specifically created for Platform.sh environments and put it in your source code. From then on, you can use the pecl tool to install packages. For example: in .p...
-
Why is my project not using all resources?
Project plans provide a total pool of resources given to your production environment for a project, not just the app container. All containers within that production environment (all apps and servi...