This forum is no longer active. Please post your questions to our new community site
mampstack, xdebug and netbeans
|
|
Hi I am trying to get this working, but failing. I read that zend optimiser needs to be turned off, is it installed? If not, do I add the xdbug extension to the apache config instead of the php.ini file? Also, is there an equivalent of phppinfo, as setting one up in the root directory as index.php with the lines doesnt work Am I being stupid? Thanks |
|
|
Hi, We do not include Zend Optimizer or xdebug extension. Have you copy the php info file, which contains the lines that you posted, in the /apache2/htdocs folder? If the name of the file is “phpinfo.php”, try to access at http://127.0.0.1/phpinfo.php Cheers. |
|
|
calling phpinfo.php from the built in version 4 apple php works from the command line. This is on a new mampstack 1.2-0 install on osx 10.4.11 Regarding xdebug, I know you do not support it, I am trying to get it to work. The other MAMP can do it apparently, but I want to use mampstack. |
|
|
It is strange. Does it appear any error when you try to run php from the command line? Does any error in the apache2/logs folder? |
|
|
>imac:/Applications/mampstack-1.2-0/php/bin zonko$ ./php -v No errors seen |
|
|
Hi, Zend Engine is different to Zen Optimizer, Zen Engine is in PHP by default. The phpinfo script does not seem correct, you need to add “<?php” and the beginning of the script:
I hope it helps. |
|
|
Hi yes it works, I am off to beat myself with a big stick for being so stupid!!! :) Managed to get the code working without the debugger, however it would be useful to have xdebug working |
|
|
Thanks for the suggestion. We will add xdebug module in our TODO list. |

