Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install [2019/03/18 11:05]
aducomadmin [Xampp? I don't use MySQL, but...]
install [2020/02/04 18:29] (current)
Line 1: Line 1:
-====== Install PHsPeed ======+===== Standard install ​=====
  
-There are different ways to install PHsPeedThe most convenient way is to install ​PHsPeed ​AND the embedded PHsPeed-Xampp version. This way you will end up with a development environment where XDebug ​is correctly installed and where you can change the PHP version ​on the fly. It is possible to use any web server, see the section '​manual install'​.+Download the license manager from our websiteMake sure that the download ​is digitally signed by '​aducom software'​. All PHsPeed ​applications are digitally signed, so if yours is not, then you might have an illegal or cracked ​version.
  
-The standard PHsPeed Xampp version currently supports PHP 5.67.07.1 and 7.2You can change the PHP version ​to be used in your IDE on the fly.+If you run the installer you must create an accountusing a valid email addressAs being a Dutch (European) companywe comply with the European privacy rulesWe do not keep track of your personal dataThe email is needed to send you additional license information or to communicate if you lose your credentials.
  
-Important! PHsPeed is installed and maintained from the standard installer. This application will check for updates ​and inform you when there is an update. You MUST install PHsPeed ​and PHsPeed Xampp **on the same disk **so that the integrated IDE can find the installation. If you already have another Xampp version running and you want to install ​the PHsPeed distribution then pick another disk if you have one (i.e., D:\ instead of C:\) or, install it on a directory and create a mapping. In the application ​manager, you can easily define, and PHsPeed ​will create ​the mapping when needed.+If you have created your account than the application will allow you to download ​and install PHsPeed. It is possible ​that due to bad internet connection ​the download is abortedYou can always retry later as the license ​manager will continue where the process stopped.
  
-If you don't have secondary disk then you can create a virtual disk. If the installer does not recognise/find your primary Xampp package then you can create this virtual disk manuallyOtherwise ​PHsPeed will do that for you.+PHsPeed will install ​special Xampp edition that allows ​you to select one of the preset PHP versions, and with XDebug fully configured. It also will install MySQL/MariaDBWhen you start PHsPeed ​then Apache and MySQL will automatically start; when you close PHsPeed, Apache and MySQL will close too.
  
-To create a virtual disk, create a directory where you install PHsPeed, and Xampp, ie..c:​\phspeedinstall. Then create a virtual disk by starting up cmd (command shell) and use command SUBS Z: c:​\phspeedinstall to create a drive letter Z:+===== Use your own database =====
  
-PHsPeed spawns ​the MySQL and Apache processesTherefore when you start PHsPeed the configured applications are started and will be terminated when you stop the application.+Within ​the preferences,​ you can disable the use of MySQL. ​This might be required if you want to use your own (PDO supporting) database. On the other hand, PHsPeed ​comes with a number of samples, ​the database is integrated within ​the supplied database.
  
-===== Automatic full install ​=====+===== Use your own webserver ​=====
  
-Download ​the installer from our website and run it. The system will start up with a registration form. Use a valid email address and not a fake 10 minutes mail address. If you decide to continue with PHsPeed then you will not be able to change the fake address and thus are not able to register (if you decide not to continue with PHsPeed then you can remove your account completely, or we will do that for you. As a Dutch company we comply to the European privacy law (GDPR)). +Within ​the preferences, ​you can disable ​the internal webserverIn general, it is not advised ​because the webserver ​is using a different ​port and should not interfere with your current webserver. If required, you can change ​the used port. If you disable ​the internal ​web server then you need to setup PHP and XDebug ​manually. Aducom Software does not supply ​support ​on this.
- +
-From the installeryou can also install a PHsPeed version of Xampp. The Apache version uses a different port (configurable) then 80, so it can be installed beside your current web server. If you have already a MySQL/​MariaDB instance running, you can disable the PHsPeed MySQL instance in the IDE. It is **highly ​advised** to use our Xampp distribution as it is pre-configured to run different ​PHP versions ​and is pre-configured for XDebug as well. +
- +
-If you have a current instance of Xampp running**then ​you cannot '​just'​ install PHsPeed Xampp. **Instead create a virtual disk, i.e. Z: to point to the second install. The installer ​can do that for you. Another option is to use a different drive if you have any. +
- +
-//In all cases, if you already have a wamp instance of any kind running, ​the create a full backup before installing PHsPeed to prevent data loss in case of issues. // +
- +
-Download the MSI on our website. Verify that this MSI is **digitally signed** by aducom software. All executables are digitally signed! Register and install the embedded wamp server and PHsPeed by following the presented steps. +
- +
- ​{{vimeo>​303748413?​large}} +
- +
-Important! If you start PHsPeed the first time, then Windows firewall might complain. Apache and MySQL need to set to only listen to localhost or 127.0.0.1. PHsPeed needs access to the web for updates and license management. +
- +
-===== Automatic install without MySQL ===== +
- +
-Perform the automatic steps. Uncheck the MySQL checkbox. This setup is generally ​used for installing a second wamp package on your web server. The PHsPeed web server needs to be setup on another ​port than 80 (default is 8010). +
- +
-Requirements:​ MsWindows, web server with XDebug enabled, PHP 5.6 and up and a database. +
- +
-Installing PHsPeed is pretty straightforward. First, ​you need to download ​the installer from our website, unpack the executable from the zip file to the location where you want to setup PHsPeed and run. Fill in the required information and PHsPeed should install without problems. The PHsPeed installer must be in the same directory as the IDE as it will keep your installation in line with updates. +
- +
-If you have already a web server ​environment, ​then you need to setup XDebug if you haven'​t done that. +
- +
-==== Xampp? I don't use MySQL, but... ==== +
- +
-PHsPeed has been build en tested using PDO on MySQL, MariaDB, and SQLite. PDO is the database independent communication layer between any PDO supporting database and PHP. However, we do not know all the databases around. But if you know how to setup PDO for your database, then you should not have much trouble. +
- +
-However, if you are not using MySQL/​MariaDB,​ but other databases like Oracle, SQLServer, etc. then we would like to hear from you. Especially about the PDO-strings to be used. +
- +
- +
-===== Manual install without MySQL ===== +
- +
-==== I want to use my own web server! ==== +
- +
-It is possible to run PHsPeed with any web server that supports PHP 5.6 and up. However, you need to set up the system correctly so that PHsPeed knows it's port, the root directory and you must install and configure ​XDebug ​if you want to make use of the debugging facilities. Aducom Software does not give support ​in these matters.+
  
 ==== Debugging ==== ==== Debugging ====
Line 56: Line 21:
 PHsPeed IDE has a XDebug client on board. To be able to use it you must make some changes to your php.ini file. The IDE will detect and report issues. With the integrated editors, you will be able to make the required modifications from within PHsPeed. PHsPeed IDE has a XDebug client on board. To be able to use it you must make some changes to your php.ini file. The IDE will detect and report issues. With the integrated editors, you will be able to make the required modifications from within PHsPeed.
  
-====== XDebug ​======+==== XDebug ====
  
-Depending on your webserver it might be that your XDebug section is already in your php.ini file, but not enabled. Just set all disabled items to enabled. Another option is to startup PHsPeed, set up the basic preferences and then alter the php.ini within the IDE. On the right site of the screen, you will find the php.ini section. Click on the php.ini and the file will open in the editor. Don't forget to save your file after modification!+Depending on your webserver it might be that your XDebug section is already in your php.ini file, but not enabled. Just set all disabled items to enable. Another option is to startup PHsPeed, set up the basic preferences and then alter the php.ini within the IDE. On the right side of the screen, you will find the php.ini section. Click on the php.ini and the file will open in the editor. Don't forget to save your file after modification!
  
 If the section is not in your php.ini, then it might be necessary to add the section yourself. On the website of XDebug.org, you can download the DLL. It has to match your PHP version as well as the exe type of your web server (32/64 bits). If the section is not in your php.ini, then it might be necessary to add the section yourself. On the website of XDebug.org, you can download the DLL. It has to match your PHP version as well as the exe type of your web server (32/64 bits).
  
-Below are two sample versions, one for PHP 5 and one for PHP 7+. The DLL depends on the PHP version!+Below are two sample versions, one for PHP 5 and one for PHP 7. The DLL depends on the PHP version!
  
-===== PHP 5.6 =====+===== PHP 5.6 (Deprecated) ​=====
  
-To setup xdebug use the following configuration in your php.ini file:+To set up xdebug use the following configuration in your php.ini file:
  
   * ; XDEBUG Extension   * ; XDEBUG Extension
Line 80: Line 45:
   * xdebug.show_local_vars=1   * xdebug.show_local_vars=1
  
-===== PHP 7.0 .. 7.x =====+===== PHP 7.x =====
  
 The zend_extension file is depending on the php version used. See XDebug.org for documentation and/or download. The zend_extension file is depending on the php version used. See XDebug.org for documentation and/or download.
Line 95: Line 60:
   * xdebug.profiler_output_dir ="​d:/​wamp/​tmp"​   * xdebug.profiler_output_dir ="​d:/​wamp/​tmp"​
   * xdebug.show_local_vars=1   * xdebug.show_local_vars=1
- 
- 
-===== Start PHsPeed ===== 
- 
-Start phSpeed. If this is the first time you ever run phpSpeed then it should guide you to the preference page. If it doesn'​t than that's the first thing you must do (tools → preferences). 
- 
-  * In the generic section, select your web server package and click on the search icon. PHsPeed will try to find all the required directories. If it doesn'​t,​ or you don't want it to, then you can enter the directories manually. These directories are required for the good working of PHsPeed. 
-  * In the PDO section, you can enter your pdo strings. The basic strings are already there, but you might want or need to change them. 
-  * Click ok 
-  * Once in the IDE close the program and restart. Then all should work OK. 
- 
-{{:​install_1.png?​400}}