extending php.ini
Posted by: fatbob (---.range81-157.btcentralplus.com)
Date: October 30, 2007 09:13AM

I am trying to add the following to php.ini at the end of the file to enable a debug module to run under php. It throws up configuration error messages. How do I add it without upsetting the balance of things?

extension=php_dbg.dll-5.2.x
(I add this using the add button which is accepted OK)

The following cannot be added by cut and paste to the end of php.ini without errors so how do I add it please?

[debugger]
debugger.hosts_allow= 127.0.0.1 localhost
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16


PS WAMPSERVER is EXCELLENT!

Options: ReplyQuote
Re: extending php.ini
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: October 30, 2007 06:41PM

open your php.ini file and find:

extension=php_zlib_filter.dll

below that add:

extension=php_dbg.dll

then add this to the end
[debugger]
debugger.hosts_allow= 127.0.0.1 localhost
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16

now save the file and restart apache for the new settings to take effect.


CyberSpatium
----------------------
WAMP English Forum Admin

I have WAMP5 working with (for development use only):
Windows Vista Ultimate x64 (64 bit)
Kaspersky Internet Security Suite 7.0.x
Spyware Terminater 2.x
CounterSpy 2.5.x


Need help? Check out my WAMP User Manual/Guide here!


Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.

Options: ReplyQuote
Re: extending php.ini RESOLVED
Posted by: fatbob (---.range81-157.btcentralplus.com)
Date: October 30, 2007 07:10PM

Thanks for that, what I did was incredibly stupid, but just in case someone else has a related problem

extension=php_dbg.dll-5.2.x

REMEMBER to remove the dll version so it reads
extension=php_dbg.dll

and also when you move the dll into /php/ext/ likewise remove the dll version number
php_dbg.dll


Classic stupidity!!

Thanks



Post Edited (10-30-07 19:11)

Options: ReplyQuote


Sorry, only registered users may post in this forum.