

More information on how to connect to MySQL using PHP (PHP = 5.6.x) can be found in our How To section. Please turn to the PHP documentation for further information.ĭetermine if errors should be recorded in a log file and/or displayed in a web browser window. Report further error types through constants. Possible problems, that do not concern PHP, but which could be a notice of an error in a script. Script errors that make the further execution of the current PHP script impossible. Log PHP errors that occur when Apache loads the PHP module. More information on using Xdebug with the MacGDBp Debugger can be founder here.ĭetermine which error types should be reported. With Xdebug activated you can open the MacGDBp debugger to enable PHP debugging.īy default, MacGDBp expects debugging information on port 9000 of localhost. More information on using Xdebug with the MacGDBp Debugger can be founder here. An interface is not available if the Arrow button is not enabled.Īctivate Xdebug to allow PHP to create debugging information during script execution.īy default, Xdebug uses localhost and port 9000 in the PHP.ini file. Press the button to the right of the cache name to view this interface. Several caches provide a user interface to help analyze and profile your code. Every host can have it’s own directory to store html, PHP files, and.

You can add an unlimited number of hosts allowing you to create one host per project. The virtual host localhost is created by default and cannot be deleted. OPcache improves PHP performance by storing precompiled script bytecode in shared memory, thereby removing the need for PHP to load and parse scripts on each request. MAMP PRO uses virtual hosts to allow your web servers to serve different websites. You can learn more about eaccelerator here.
#Mamp pro default ini free
ĮAccelerator a free open-source PHP accelerator & optimizer. The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. A particular cache is not available for the current PHP version if it is not enabled. Enabling a cache extension does not necessarily translate into greater execution speed. PHP has several cache extensions that can help speed up execution in certain circumstances.

More information on how to change the PHP version for an individual host is covered in the Settings > Hosts > General section. Navigate to the Hosts section to change the PHP version for each individual host. In CGI Mode the PHP settings will be identical for all hosts – except for the PHP version. Individual PHP version for every host (CGI mode).In module mode all hosts use the same PHP version. Identical PHP versions for all hosts (module mode).More information on configuring your command line PHP can be found here.Ĭhoose whether to use identical PHP versions for all hosts (module mode) or on a host by host basis (CGI mode). Note: Your version of PHP on the command line is not configured by your PHP templates, or the MAMP PRO interface.
