NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
moodle and 64bit platform


Joined: 24 Oct 2007
Posts: 4
Reply with quote
I'm also having problems getting the debugger working with moodle. I have download the trial version of PhPed 5.2 and have it all set up. But I'm having problems with it recognizing the 64 bit version of php_dbg.dll-5.2.x. I am running on windows 2003 server 64 bit. When I run the dbg-wizard.php with the x64 bit php_dbg.dll-5.2.x placed in PHP/ext/ it says that the debugger is not installed however if I use the 32bit version of php_dbg.dll-5.2.x it says the debugger is installed. However using the 32 bit version I have problems with sessions when running moodle. What is happening is that it keeps saying my session has timed out. I assume this is a 64 bit to 32 bit conversion problem. And the problem with using the 64 bit version as you can imagine is it won't continue passed the login page because it won't start a new bedug session after the login is clicked since the debugger is not installed. If you can provide me with any help it would be appreciated.

Thanks
View user's profileFind all posts by robhSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
The problem with php session you encountered has no relation to the bittness of the platform. Please submit problem report to moodle developers.

Reagarding 64bit vs 32bit version of the debugger, you have to choose it according to php and Apache installed on your system. You can't run 64bit dll under 32bit Apache or php. They all have to have the same bittness. So if Apache is 32bit, you have to install 32bit debugger module even though you have 64 bit cpu and 64bit OS.

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


Joined: 24 Oct 2007
Posts: 4
Reply with quote
I'm not using Apache i'm using IIS 6.0. IIS installed is a 64 bit version. However the PHP 5.2.4 installed I believe is 32-bit, since php5isapi.dll is 32-bit. however I have enabled 32-bit by running the following at the command line.

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1

This enables both 64 and 32 bit extensions in IIS.

The thing is if I'm not running the website in debug mode I do not get the session timed out problems with moodle the webpage acts normally only through phped do I experience this session time out.

Based on the fact that my OS & IIS is 64bit, php 32bit? should I be running the 32-bit php_dbg.dll-5.2.x or the 64 bit version?
View user's profileFind all posts by robhSend private message


Joined: 24 Oct 2007
Posts: 4
Reply with quote
Weird I rebooted the machine reinstalled phped 5.2 and now everything seems to work. I guess its just one of those things
View user's profileFind all posts by robhSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
The thing is if I'm not running the website in debug mode I do not get the session timed out problems with moodle the webpage acts normally only through phped do I experience this session time out.

The only thing debugger changes is that when you start debug a page, it won't let browser to use cached copies of the pages. I believe this is okay because otherwise they would be shown from cache without executing any scripts on the server.

Still I see no relation to php sessions.
BTW what did you mean under "I do not get the session timed out problems"? Did you try full refresh (Ctrl-F5) in browser?


Quote:
Based on the fact that my OS & IIS is 64bit, php 32bit? should I be running the 32-bit php_dbg.dll-5.2.x or the 64 bit version?

debugger is a php extension, not IIS's, hence it must match php bitness, not IIS

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


Joined: 24 Oct 2007
Posts: 4
Reply with quote
Quote:
BTW what did you mean under "I do not get the session timed out problems"? Did you try full refresh (Ctrl-F5) in browser?


I just meant if I was not using phped internal browser when logging into the site but instead would open a firefox or IE window and then browse to the site normally I wouldn't get any issues. It was only having problems through the imbedded browsers.

But as In my last post everything seems to be working correctly now.

Thanks for your help
View user's profileFind all posts by robhSend private message
moodle and 64bit platform
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