Install PhpStorm on Centos7
1.official network downloads phpstorm's latest package, phpstorm-2017.2.4.tar.gz
Decompress tar -zxfPhpStorm-2017.2.4.tar.gz
2. Move the extracted directory to your favorite directory.
Mv PhpStorm/usr/local/phpstorm
Cd/usr/local/phpstorm/bin
Chmod 777 phpstorm. sh
./Phpstorm. sh
3. Start the installation. Enter the corresponding license according to the running prompt and find a license of this version from the Internet.
Then ln-s/usr/local/phpstorm/bin/phpstorm. sh/usr/local/bin/phpstorm: create environment variables for phpstorm. You can directly enter the phpstorm command in the command line to start
(Ps: because no desktop icon is found after installation, add a shortcut
1. Create a file touch phpstorm. desktop
2. edit the file vim phpstorm. desktop
Here is my content:
[Desktop Entry]
Categories = Development;
Comment [zh_CN] =
Comment =
Exec =/usr/local/phpstorm/bin/phpstorm. sh
GenericName [zh_CN] = IDE
GenericName = IDE
Icon =/usr/local/phpstorm/bin/phpstorm.png
MimeType =
Name = PHPStorm
Path =
StartupNotify = true
Terminal = false
Type = Application
X-forwarded-ServiceName =
X-forwarded-StartupType =
X-KDE-SubstituteUID = false
X-KDE-Username = eddie
Save and exit.
3. Move phpstorm. desktop to the directory
Sudo mv phpstorm. desktop/usr/share/applications/
4. Add executable permissions to the file cd/usr/share/applicationschmod + x phpstorm. desktop)