NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Confused


Joined: 31 Mar 2007
Posts: 3
Reply with quote
Hi I bought recently a licence and I'm trying to set up the remote debugger at Bluehost (a shared hosting company).

I found from the wizard that:
PHP extensions directory is ./

The how to install part of the wizard suggest:
Add the following lines to /home/MY_SITE_NAME/public_html/php.ini
zend_extension=./dbg.so-5.1.x

However I found at http://forum.nusphere.com/howto-install-debugger-module-t576.html that extension_dir should not be ./
4. make sure extension_dir is not ./. If it is, please set up extension_dir setting in php.ini accordingly. For example "c:/php4/extensions" or "/usr/lib/php4" under unix.

It sounds inconsistent to me and I've been hours trying to make it works. Could you give an idea on how to make it work?

Thanks a lot.

Juan


From my PHP.ini file:

;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
include_path = ".:/usr/lib/php:/usr/local/lib/php" ;
doc_root = ; the root of the php pages, used only if nonempty
user_dir = ; the directory under which php opens the script using /~username, used only if nonempty
extension_dir = ./ ; directory in which the loadable extensions (modules) reside
enable_dl = On ; Whether or not to enable the dl() function.


[Debugger]
debugger.host = localhost
debugger.port = 7869
debugger.enabled = False


[Zend]
zend_optimizer.optimization_level=15

zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
View user's profileFind all posts by jcmtnezSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
extension_dir = ./ ; directory in which the loadable extensions (modules) reside
^^^^^^^^^
it's what you have to change in php.ini
Normally, /usr/lib/php or something similar should be there.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 31 Mar 2007
Posts: 3
Reply with quote
Hi Dmtri,

Thanks for responding.

From your post I understand that I must change the line:

extension_dir = ./ ; directory in which the loadable extensions (modules) reside

to something like:

extension_dir = /usr/lib/php; directory in which the loadable extensions (modules) reside

However, I don't have access to /usr/lib/php and I believe that the reason for changing that line is because I must upload the file dbg.so-5.1.x into this directory.

I've a couple of questions:

Since I can't access /usr/lib/php tryed creating a directory into /public_html and uploaded the file into. I made the edit to PHP.ini to point to the file extension_dir = /public_html/my_ext_dir/; , but It did not work.

Do you have any suggestion considering that I can't access /usr/lib/php?

Thanks in advance.
View user's profileFind all posts by jcmtnezSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
from our conversation by email, it appeared that you installed 32bit module on server running under 64bit hardware. You need to install module from x86_64 subdirectory.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
[resolved] Confused
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic