enable xdebug on bluehost shared server

。_饼干妹妹 提交于 2019-12-10 10:29:51

问题


I want to setup phpunit on a demo site on a bluehost shared server. I want to check if the php codes work on the environment after I made modifications and added more components. With this, I need to set up xdebug. The problem is that my account is not allowed to download and install xdebug, I got permission denied.

pecl install xdebug

Then I read upon an answer here Xdebug for remote server not connecting. What I did is upload the xdebug.so file from my local, copy the /etc/php.ini to the server's public_html directory, and edited the php.ini file and and added the line below to refer to the xdebug.so file on the server.

zend_extension=/home1/user/public_html/xdebug.so

But after what I did, the phpinfo state that the xdebug is not enabled. Bluehost does not require to restart the apache. So it will refresh itself as I understand it. And the phpinfo state that the loaded ini file is the one on my public_html directory now. Is this possible to enable xdebug this way? Are there other ways to install/enable on bluehost shared server?

来源:https://stackoverflow.com/questions/16685237/enable-xdebug-on-bluehost-shared-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!