ludo wrote: > Sriram Natarajan wrote: >> Latha >> Going forward, please post your questions to 'webstack-discuss' alias >> so that other smart minds can contribute as well. Also, you might want >> to keep Ludovic Champenois(ludo at sun.com) in the loop as well . He is >> currently looking at various aspects of improving the user experience >> of Web Stack in Solaris 10. >> >> thanks >> sriram >> >> Latha K wrote: >> >>> Hi Sriram, >>> >>> I am looking for information on the following topics for the Web Stack >>> getting Started Guide. Can you please help me? >>> >>> 1) How to configure PHP with Apache? What specific changes are >>> required to be done in the config files? >>> >> >> We plan to deliver SUNWapch22m-php5 and SUNWapch22r-php5 packages within >> Nevada build 79. These packages provide the necessary glue / >> configuration to get php5 working with Apache 22 out of the box. Simply >> installing these packages should be sufficient . >> >> However, PHP5 support is provided only for Apache (32-bit) pre-fork MPM >> . The support for Apache 2.2 worker MPM will be added once FastCGI >> module for Apache 2.2 has been integrated. >> >>> 2) To be able to use NB for scripting, does a developer has to >>> configure PHP with NB and if so, how? >>> >> Hmm.. I am not sure that I completely understand your question. Let us >> see if Ludo can provide the insights here. Ludo - Any thoughts ? >> > > One must first regsiter the Apache Web Server to Nb. This is done via > the "Services" Tab and using the "Web Servers" node. > Select the popup menu "Add Web Server" and enter the location of the > httpd.conf file (/etc/apache2/2.2). > > After that, you can use this server target to deploy PHP projects > (upload command on a PHP project) > >>> 3) What are the features that should be highlighted in the Getting >>> Started Guide? >>> >> - On the top of my head, ability to debug PHP5 runtime using NetBeans >> comes to my mind. >> > > YOu turn on PHP debugging with the SAMP Options UI in the php tab, or > you edit the > /etc/php5/5.2.4/conf.d/xdebug.ini file and add this content: (and > then restart the apache 2 server) > ;Comment out next line to disable xdebug extension in php > zend_extension=/usr/php5/5.2.4/modules/xdebug.so > xdebug.remote_mode=req > xdebug.remote_enable=1 > xdebug.remote_handler=dbgp > xdebug.remote_host=localhost > Do you plan to provide any wrapper script that does these configurations or user will have to do this manually
- sriram > > Then, on NetBeans, use the "Debug" menu on a php project... You can > turn on breakpoints by click on the grey vertical bar int he Nb editor. > All the other features are documented in the regular NetBeans > debugger.(same UI for Java, Ruby, jsp debugger) >> >>> Please suggest any other topic that might be useful to a developer. >>> >>> >> Again, Ludo - any thoughts >> > > I hope you have enhough data from the NetBeans PHP team there... I > guess they send you links. > Let me know, > > Ludo >> thanks >> sriram >> >>> Thanks, >>> -latha >>> -- >>> Latha K >>> Lead Technical Writer >>> Information Products Group >>> Sun Microsystems >>> Bangalore >>> Phone: +91-080-66937676 >>> Desk: x87676 >>> >>> >>> >> _______________________________________________ >> webstack-discuss mailing list >> webstack-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/webstack-discuss/attachments/20071128/c3f6135b/attachment.html>
