您的位置 首页 php

Plesk轻松搭建PHP开发环境

Plesk轻松搭建PHP开发环境

PHP作为最受Web 开发者欢迎的语言,因其效率高、可扩展、易伸缩等特性成为全球众多知名网站的首选。Plesk服务器控制面板为站长提供一个完善的PHP开发环境,不仅自带多个版本的PHP,更提供极其细致的PHP参数设定,并且提供在线代码编辑器、语法高亮功能、网站预览支持、.htaccess设定等。因此,Plesk面板称得上是PHP开发者最理想的服务器管理和建站工具。

Plesk提供哪些PHP版本和处理程序类型?

Plesk提供从PHP5 到PHP 7.0的7个版本,如需除默认版本外的其他PHP版本,只要在新增组件中选择安装指定版本,几分钟内即可安装成功,稳定高效。当然也可以在此移除不需要的版本,操作非常简单。

Plesk轻松搭建PHP开发环境

Plesk附带的PHP处理程序类型共5款,分别是PHP-FPM 应用程序,FastCGI应用程序,ISAPI扩展,CGI应用程序和 Apache 模块。一般而言,Plesk还将会自动为已安装的PHP版本配置最合适的PHP处理程序类型。此外,站长也可以自由组合 PHP 版本和 PHP 处理程序类型,充分满足站长定制化配置PHP的需求。

除Plesk自带的PHP 七大版本外,Linux 系统管理员还可以安装任何其他PHP 版本,通过 php_handler 命令行工具注册后,就能在 Plesk 中正常使用了。

Plesk轻松搭建PHP开发环境

在使用过程中,切换PHP版本和处理程序则相当简单,只需两步:选定版本,确定应用。完全实现随时瞬间切换PHP,方便快捷,高效稳定。当然,前提是你所需的版本和处理程序已经在服务器中安装或激活,否则在菜单中将找不到对应选项。

Plesk轻松搭建PHP开发环境

Plesk支持哪些 PHP设置?

Plesk将PHP设置分为性能设置和通用设置两个部分。在性能设置中,站长可以限制5项脚本参数,包括允许脚本分配的内存、脚本终止前允许运行的最大时间、脚本解析输入数据的最大时间等。通过合理调整和限定PHP参数,能够更好的发挥脚本性能,节约内存空间。

Plesk轻松搭建PHP开发环境

除性能设置外,Plesk还将PHP的通用设置细致划分出15项,从PHP安全模式到存储PHP会话文件的目录再到错误报告和PHP语言设置,PHP使用中最常用的设置需求一应俱全。整个PHP设置界面清晰直观,可视化操作,常用参数设置只需点击鼠标即可,无需输入代码,简化整个操作流程,提升工作效率。

Plesk轻松搭建PHP开发环境

如何用Plesk在线编辑PHP脚本?

Plesk中列出的性能设置和通用设置虽然已经非常详细,但并不能涵盖所有参数。当站长需要对某些特殊参数进行设置时,就可以采取通过编辑 php.ini 文件来配置所需的 PHP 设置,指令输入完成后应用保存即可。

Plesk轻松搭建PHP开发环境

Plesk能管理PHP扩展?

没错,Plesk不仅能够启用或者禁用某个PHP扩展,并且允许站长为每个 PHP 版本单独配置扩展,比如你可以为 PHP 5.3 启用一系列与 PHP 5.4 完全不同的扩展。值得一提的是,这些扩展会应用到所有 PHP 处理程序类型中。举个例子,如果你为 PHP 5.3 启用 xdebug 扩展,那么所有使用 PHP 5.3 的域名都会启用该扩展,不管这些域名使用的是 CGI、FastCGI 还是 PHP-FPM 处理程序。

要更改PHP扩展,Plesk提供了两种方式。一是,进入PHP对应的处理程序,比如FPM应用程序,在预定义的列表中勾选需要启用的 PHP 扩展,确定应用即可,非常方便。

Plesk轻松搭建PHP开发环境

第二种设置Plesk扩展的方式是通过手动编辑 php.ini 文件来配置所需的 PHP 设置,这种方式让站长能对预置列表中未列出的扩展进行管理,更加自由灵活。

Plesk轻松搭建PHP开发环境

扩展更改完成后,所作出的设置将应用到所有使用这一处理程序的网站。顺便提一句,拥有服务器管理员权限的站长还能够为域名和子域名自定义配置PHP 设置,在域名层面配置的设置将高于服务器范围的设置。

无论是从PHP版本和处理程序的选择多样性,还是从PHP操作和扩展设置的灵活性来说,Plesk面板的表现都十分出色,本身附带的七大主流版本PHP足以满足站长的基本需求,而保留的在线脚本编辑功能更让站长能充分发挥才能,构建自己专属的PHP开发环境。

另外,Plesk的最大优势在于团队研发能力强,产品更新频率高,从1999年最初问世至今几乎每年都会发布一至两个大版本,小的自动更新和补丁更是即时高效,这不仅成就了Plesk坚如磐石的稳定性能,更有利于紧跟PHP产品更新的步伐,让站长得以获得更加完善应时的开发环境。据悉,支持Docker的Plesk Onyx 即将正式在国内上线,作为首款支持Docker容器的服务器管理面板,Plesk Onyx值得我们期待!

欲了解更多Plesk资讯,请关注官方微信公众号:Plesk,还可以领取免费试用Key哦!

更多相关专题/资讯:

文章来源:智云一二三科技

文章标题:Plesk轻松搭建PHP开发环境

文章地址:https://www.zhihuclub.com/78271.shtml

关于作者: 智云科技

热门文章

评论已关闭

56条评论

  1. My relatives every time say that I am killing my time here
    at net, however I know I am getting know-how everyday
    by reading such fastidious articles or reviews.

  2. Greetings from Colorado! I’m bored at work so I decided to browse your site on my iphone during lunch break.

    I really like the info you present here and can’t
    wait to take a look when I get home. I’m shocked at how quick your blog
    loaded on my mobile .. I’m not even using WIFI, just 3G ..
    Anyhow, good blog!

  3. What’s up i am kavin, its my first occasion to commenting anywhere, when i read
    this piece of writing i thought i could also create comment due to this brilliant article.

  4. Tumor number in the F 1a population did not differ significantly from that in the ACI population P 0

  5. 615; On Berberine, Goldenseal Chronic Fatigue Syndrome, A Holistic Herbal Treatment Approach 124, p

  6. menhaden oil, tuna oil, salmon oil, bonito oil, and cod oil, microalgae omega 3 oils or combinations thereof

  7. A change in overall contrast agent uptake lower peak enhancement and area under the curve values compared to tumor bearing but untreated, control rats as well as in wash out of the contrast agent from the tumor lower wash out values in treated rats compared to the controls was observed

  8. Flv induces neuroprotection by increasing Sig 1R protein expression 475 DECAVIT M PROCAPS Vitaminas asociadas con minerales Caja x 30 cГЎps

  9. How do you know your E2 is sorted Gastrointestinal reactions contributed to the reasons for early discontinuation from the trial for 4 14 patients

  10. It is not a wholesale theft; the lyrics, at least, are original and occasionally quite poetic

  11. In the anastrozole group, the main sites of joint pain and painless joint symptoms were the knee and hand, respectively, as found in a previous study 6

  12. The genetic variability of the coding genes results in different metabolizing activities of these enzymes, which could be the reason for interindividual different effects of the chemotherapy

  13. Patients from whom only a fine needle aspiration or material from another site than the primary tumor available was, were excluded Jeremy Braybrooke and Rosie Bradley discuss the results of their meta analysis of four studies looking at effectiveness of aromatase inhibitors compared to tamoxifen

  14. It has since been shown that this variant is involved in the initiation and progression of ILC growth, dependent on its cooperative interactions with the actin cytoskeleton, E cadherin loss, and PI3K activation through PTEN loss 122 Like its older cousin, Paclitaxel Taxol, Docetaxel is extracted from the bark or needles of the yew tree

  15. More than 60 of cancers in the United States occur in people age 65 years and older, a population that will grow exponentially over the coming years

  16. 13 In conditions of adrenal insufficiency, such as Addison s disease, aldosterone is not produced or is produced in insufficient quantities and must be replaced by exogenous mineralocorticoids such as fludrocortisone

  17. Uterus Small, AV, non tender, mobile Pregnancy Hormonal changes during pregnancy can cause gingivitis or aggravate existing gingivitis

  18. Tell your doctor or dentist that you take Gyraxen solution before you receive any medical or dental care, emergency care, or surgery

  19. com 20 E2 AD 90 20Can 20Viagra 20And 20Cialis 20Be 20Taken 20Together 20 20Efectos 20Secundarios 20De 20Viagra 20Femenino efectos secundarios de viagra femenino Ablyazov, a theoretical physics graduate who earned afortune after the Soviet Union s demise, told Reuters in aninterview in December that he would run for office if freeelections were called when Nazarbayev s rule ends

  20. Exclusion criteria were non cirrhotic ascites, congestive heart failure, acute renal failure, hepatocellular carcinoma 13, cancer, rheumatologic diseases or acute infectious diseases

  21. Maruyama R, Yokoyama H, Seto T, et al Philomena Moise, 77, had a long journey to get the care she needed after discovering a mass in her breast more than eight years ago

  22. prandin minoxidil and finasteride topical solution buy online We think nearly all of the stars have been pulled away from the exterior of what once was a much bigger galaxy, said co author Duncan Forbes of Swinburne University in Australia

  23. Then I worked out hard again Hormonal Therapy Recurrent or metastatic endometrial carcinoma is usually treated initially with a hormonal agent such as a progestational agent or an antiestrogen tamoxifen

  24. If you are going to insist on using something on cycle, Rebirth is perfect because it only uses natural ingredients to both raise your testosterone levels, and acts as a natural aromatase inhibitor lowers estrogen production

  25. Patients were identified through electronic searches of the hospital diagnostic and treatment databases The selection of an appropriate therapeutic agent for a patient depends on numerous factors, such as the effectiveness and adverse effect profile of the drug; therefore, minimizing the use of medications shown to cause false positives must be weighed against clinical judgment in product selection

  26. Similarly, a more significant diuretic effect by furosemide has been demonstrated in this model

  27. The EORTC 10, 850 randomized trial, for instance, analyzed survival and QoL in elderly patients, undergoing mastectomy or tumor excision plus tamoxifen

  28. We next focused on the expression of genes important for pancreatic development and maintenance of pancreatic differentiation 1 creams and gels

  29. In women already diagnosed and treated for estrogen positive breast cancers, tamoxifen is used to reduce the risk of breast cancer recurrence

  30. Zongyi Hu, Keng Hsin Lan, Shanshan He, Manju Swaroop, Xin Hu, Noel Southall, Wei Zheng, T And so we went into the locker room so I m sitting there and I m fuming

  31. s students performed when tested under the new so called Common Core standards, the Daily News ran a computer analysis that ranked every third grade through eighth grade in the stateГў

  32. Waiting to hear the results from my CD21 Progestrone test to see if I ovulated but wanted to see how Fermara worked for you The causes of low blood pressure range from dehydration to serious medical conditions

  33. Lab experiments suggest various properties and benefits, but only a few studies have been conducted in humans

  34. However, Azasite cannot match the anti inflammatory properties of corticosteroids such as prednisolone acetate or lotoprednol Lotemax and is a much more costly drug than generic steroid drops C B, Diuresis with associated decreased stroke volume with mild cardiac dysfunction

  35. I have just been diagnosed with breast cancer and have been offered a trial on Letrozole before and after surgery along with radiotherapy

  36. com 20 E2 AD 90 20Viagra 20Natural 20Sandia 20 20Buy 20Viagra 20Liverpool viagra natural sandia The latest attacks will increase tensions in Tripoli between the Sunni Muslim majority, which supports opposition fighters in Syria, and its Alawite community that remains loyal to the Syrian president

  37. 39 An alternative option for patients rejecting an operation would be a trial of conservative therapy with diuretics

网站地图