Revision #60 was created by rackycz on Mar 9, 2021, 10:07:04 PM.
Vagrant
Content
[...]
sudo service apache2 restart
```
... so create both files in your project ...
If you want to manually open php.ini and paste this text, you can copy it from here:
```
// sudo nano /etc/php/7.0/apache2/php.ini
[XDebug]
xdebug.remote_enable=1
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.remote_log=/var/www/public/xdebug.log
xdebug.remote_connect_back=1
xdebug.idekey=netbeans-xdebug
// Important: Make sure that your IDE has identical settings: idekey and remote_port.
```
Before you use Vagrantfile, you must install Vagrant and VirtualBox.
Note 1: Sadly, these days VirtualBox does not work on the ARM-based Macs with the M1 chip
Note 2: You can use many other virtual systems besides VirtualBox ( see the list of OS images above), but "my" scotch/box is designed only for VirtualBox I think.