diff --git a/.gitignore b/.gitignore index 3d6001ca06..cd7eb09eda 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,8 @@ /tests/resources/functions/**/code.tar.gz /app/sdks/* /.idea/ +!/.idea/workspace.xml +!/.idea/php.xml .DS_Store .php_cs.cache debug/ diff --git a/Dockerfile b/Dockerfile index 023e88a205..ab3837b243 100755 --- a/Dockerfile +++ b/Dockerfile @@ -295,7 +295,7 @@ RUN echo extension=redis.so >> /usr/local/etc/php/conf.d/redis.ini RUN echo extension=imagick.so >> /usr/local/etc/php/conf.d/imagick.ini RUN echo extension=yaml.so >> /usr/local/etc/php/conf.d/yaml.ini RUN echo extension=maxminddb.so >> /usr/local/etc/php/conf.d/maxminddb.ini -RUN if [ "$DEBUG" == "true" ]; then printf "zend_extension=yasd \nyasd.debug_mode=remote \nyasd.init_file=/usr/local/dev/yasd_init.php \nyasd.remote_port=9005 \nyasd.log_level=-1" >> /usr/local/etc/php/conf.d/yasd.ini; fi +RUN if [ "$DEBUG" == "true" ]; then printf "zend_extension=yasd \nyasd.debug_mode=remote \nyasd.remote_host=host.docker.internal \nyasd.remote_port=9005 \nyasd.log_level=0" >> /usr/local/etc/php/conf.d/yasd.ini; fi RUN if [ "$DEBUG" == "true" ]; then echo "opcache.enable=0" >> /usr/local/etc/php/conf.d/appwrite.ini; fi RUN echo "opcache.preload_user=www-data" >> /usr/local/etc/php/conf.d/appwrite.ini diff --git a/dev/yasd_init.php.stub b/dev/yasd_init.php.stub deleted file mode 100644 index a7d977fbf7..0000000000 --- a/dev/yasd_init.php.stub +++ /dev/null @@ -1,4 +0,0 @@ -