This documentation will cover how installing PHP 8.1 and ScriptCase manually on macOS. Performing this type of installation is your responsible for configuring your entire environment as well as database extensions. Listed below are versions of macOS approved for use by Scriptcase. Our supported versions: You can install the Scriptcase with PHP 7.3 or PHP 7.0: If you already have a Web Server with Apache and PHP 8.1
configured, just go to the SourceGuardia configuration and proceed to manual installation. To proceed with the installation, you need to download some files. Required Files: Before proceeding with the installation it is recommended not to have any other web environments (such as XAMP, Zend Server, etc.) installed on the operating system. Knowledge of Unix environment is recommended to use terminal. Listed below are the commands required for
the manual installation of PHP 8.1 on macOS. Check the package naming on your macOS terminal correctly. 1 - You’ll need to install Homebrew to be able to access PHP 8.1 and other packages. Install Brew with the following commands in the macOS terminal: 2 - In the macOS terminal, execute 3 - Use the command 4 - After the installation proccess completes, execute 5 - You need to configure Apache so that PHP 8.1 that was installed in the previous steps will be used as default on your system.
5.1 - Edit the Apache file Exemple:
At the end of the file add:
6 - Add path to PHP 8.1 module installed after last line Exemple:
After performing this action, save the file and restart the apache service.
7 - Add the path to the installation of PHP 8.1 in the
8 - Edit the file
9 - Verify PHP version by running command: Exemple: 10 - Access the php.ini file in the directory. Search for the directives and assign the value according to this example:
11 - By default, PHP disables some functions that are important to Scriptcase. Click here to access the necessary functions list for ScriptCase
Exemple: 12 - Set PHP TimeZone according to your region. Use the value available in the PHP documentation. Searh for date.timezone in your php.ini file, uncomment it and edit according to the selected TimeZone. Exemple:
13 - Set the folder where temporary files will be stored. search for Exemple:
14 - Save all modifications made and restart the Apache service using the following command in terminal:
15 - Verify changes made through the file info.php. You need to create this file and
put it in the directory.
After that, check in your browser the page generated by accessing the URL
Enable SourceGuardian LoaderBefore you start installing Scriptcase, you need to enable the loader responsible for encrypting Scriptcase in PHP. Follow the steps below to perform this action successfully. 1 - Access the Downloads folder and extract the downloaded file referring to SourceGuardian Loader at the beginning of this documentation.
Exemple:
2 - Copy the file ixed.8.1.dar and paste it into your PHP extension_dir directory. We’ll use Exemple:
3 - Edit the php.ini file and below the last line enter the path to the extension within the parameter Exemple:
4 - Restart the Apache service with the following terminal command:
Manual ScriptCase installationListed below are the steps needed to do a Scriptcase manual installation. To do the steps, it is needed that you have a web server configured in your machine. 1 - Download the Scriptcase (.zip) directly from the download page from our website. 2 - Extract the .zip file and rename the extracted folder to 3 - Move the scriptcase to your server root. Depending of your operating system and the installation the path can be different from the example. However, by default the paths are:
4 - Access the Scriptcase using your browser:
5 - Check the extensions required for Scriptcase to function and database connection modules that are enabled. Typical installationCheck the steps below to complete the manual installation of Scriptcase in a typical way.
After clicking proceed, you will be redirected to the Scriptcase Login page. UserIn this field, it is necessary to inform the user to login to Scriptcase. By default, the user is admin. PasswordIn this field, you must enter the password to login to Scriptcase. By default, the password is admin. Keep me connectedThis option keeps the user logged in until they log out through the Scriptcase interface. Forgot your password?By clicking this option, it is possible to recover the password of the informed user. An email will be sent to the user in question so they can access the recovery steps.
Custom installationCheck the steps below to complete the manual installation of Scriptcase in a custom manner.
1- Verify that the directories required by Scriptcase have the correct permissions. If any directory listed does not have the active check icon , correct permission for this directory.Clique em prosseguir para avançar no processo de instalação. 2- Choose the database where the Scriptcase database will be installed. By default, Scriptcase recommends that it be installed with the SQLite database.
DBMSIn this option, you will select the Driver to connect to your database. ServerIn this option, you will inform the server to connect to the desired database. UserYou need to inform a user who has access to the database you want Scriptcase to be installed on. PasswordYou must enter the authentication password corresponding to the entered user. DatabaseYou must enter the name of the database where Scriptcase will be installed. Example:
Clique em prosseguir para avançar no processo de instalação. 3 - Verifique se a criação das tabelas da base de dados do Scriptcase ocorreu com sucesso. As tabelas serão marcadas com o ícone de sucesso na lateral.Click proceed to proceed with the installation process. _4 -__ Set the default user who will have access to Scriptcase. LoginIn this option, you will enter the default Scriptcase User Login. PasswordIn this option, you must enter the password that will correspond to the user informed. ConfirmationYou must repeat the previously entered password for successful user creation. Click proceed to proceed with the installation process. 5 - Complete Scriptcase custom installation on your web server. After clicking proceed, you will be redirected to the Scriptcase Login page. UserIn this field, it is necessary to inform the user to login to Scriptcase. By default, the user is admin. PasswordIn this field, you must enter the password to login to Scriptcase. By default, the password is admin. Keep me connectedThis option keeps the user logged in until they log out through the Scriptcase interface. Forgot your password?By clicking this option, it is possible to recover the password of the informed user. An email will be sent to the user in question so they can access the recovery steps.
Needing register your ScriptCase? Where is PHP installed on my Mac?Set the php. ini location or use the default A typical default location on macOS is /usr/local/php/php.
How do I know if PHP is installed on Mac?2 Answers. Go to File > Preferences > User Settings > Settings.json.. Change the value of php. validate. executablePath according to the installed directory of php7. "php.validate.executablePath": "/Applications/MAMP/bin/php/php7.0.14/bin/php". Relaunch VM Code.. Is PHP pre installed?Linux and macOS users often have Apache and PHP pre-installed or available via package managers. Windows 10 requires a little more effort.
How do I change my default PHP on Mac?Follow these simple steps:. Within the Terminal, run vim ~/.bash_profile.. Type i and then paste the following at the top of the file: export PATH=/Applications/MAMP/bin/php/php5.4.10/bin:$PATH.. Hit ESC , Type :wq , and hit Enter.. In Terminal, run source ~/.bash_profile.. |