<html><div style='background-color:'><DIV class=RTE>
<P><BR>Hi Manish</P>
<P> </P>
<P>be sure you have this line :</P>
<P> </P><FONT size=2>
<P>AddType application/x-httpd-php .php</P>
<P>I followed the instructions on this web and everything worked fine:</P>
<P> </P>
<P><A href="http://www.learning-solaris.com/index.php/php-for-apache2-on-solaris-10/">http://www.learning-solaris.com/index.php/php-for-apache2-on-solaris-10/</A></P>
<P> </P>
<P> </P>
<P>Good Luck :)!</P>
<P> </P>
<P>Mauricio Cerna</FONT><BR></P></DIV>
<DIV></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">
<HR color=#a0c6e5 SIZE=1>
<DIV></DIV>From: <I>"Manish Agrawal" <magrawal@coba.usf.edu></I><BR>Reply-To: <I>questions and discussions <users@lists.blastwave.org></I><BR>To: <I>"questions and discussions" <users@lists.blastwave.org></I><BR>Subject: <I>Re: [csw-users] Apache/php issue</I><BR>Date: <I>Fri, 07 Sep 2007 11:55:51 -0400</I><BR>>You also need the ap2_modphp5 package - I think it will do the integration of php into apache<BR>><BR>>Manish<BR>><BR>><BR>>On Tue, 31 Jul 2007 13:15:25 -0400, Jeremy Wakeman <jwakeman@coe.drexel.edu> wrote:<BR>><BR>> > Hi all,<BR>> ><BR>> > I've got apache 2.2.4 and php 5.2.1 installed on my sun server (5.10). I<BR>> > can't seem to get php scripts to work correctly on the server. I've tried a<BR>> > few different settings in the
httpd.conf file (since several howto/help<BR>> > sites have conflicting info), but I believe I now have it configured<BR>> > correctly.<BR>> ><BR>> > The script I'm using to test php is here:<BR>> > http://webmail.ece.drexel.edu/test.php It just runs phpinfo(), but even<BR>> > that simple script isn't working.<BR>> ><BR>> > I'll stick a bunch of my httpd checks and excerpts from the config file.<BR>> ><BR>> > BTW, one of the websites I found mentioned that php files should have<BR>> > content-type headers of text/plain. Is that correct (that's what I've got,<BR>> > now)?<BR>> ><BR>> > Any suggestions would be appreciated.<BR>> ><BR>> > -Jeremy Wakeman<BR>> ><BR>> ><BR>> > /opt/csw/apache2/sbin/httpd -t<BR>> > Syntax OK<BR>> ><BR>>
><BR>> > /opt/csw/apache2/sbin/httpd -v<BR>> > Server version: Apache/2.2.4 (Unix)<BR>> > Server built: Feb 19 2007 00:20:08<BR>> ><BR>> ><BR>> > /opt/csw/apache2/sbin/httpd -V<BR>> > Server version: Apache/2.2.4 (Unix)<BR>> > Server built: Feb 19 2007 00:20:08<BR>> > Server's Module Magic Number: 20051115:4<BR>> > Server loaded: APR 1.2.8, APR-Util 1.2.8<BR>> > Compiled using: APR 1.2.8, APR-Util 1.2.8<BR>> > Architecture: 32-bit<BR>> > Server MPM: Prefork<BR>> > threaded: no<BR>> > forked: yes (variable process count)<BR>> > Server compiled with....<BR>> > -D APACHE_MPM_DIR="server/mpm/prefork"<BR>>
> -D APR_HAS_SENDFILE<BR>> > -D APR_HAS_MMAP<BR>> > -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)<BR>> > -D APR_USE_FCNTL_SERIALIZE<BR>> > -D APR_USE_PTHREAD_SERIALIZE<BR>> > -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT<BR>> > -D APR_HAS_OTHER_CHILD<BR>> > -D AP_HAVE_RELIABLE_PIPED_LOGS<BR>> > -D DYNAMIC_MODULE_LIMIT=128<BR>> > -D HTTPD_ROOT="/opt/csw/apache2"<BR>> > -D SUEXEC_BIN="/opt/csw/apache2/sbin/suexec"<BR>> > -D DEFAULT_PIDLOG="/var/run/httpd.pid"<BR>> > -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"<BR>> > -D DEFAULT_LOCKFILE="/var/run/accept.lock"<BR>> > -D DEFAULT_ERRORLOG="logs/error_log"<BR>> > -D
AP_TYPES_CONFIG_FILE="etc/mime.types"<BR>> > -D SERVER_CONFIG_FILE="etc/httpd.conf"<BR>> ><BR>> ><BR>> > /opt/csw/apache2/sbin/httpd -S<BR>> > VirtualHost configuration:<BR>> > default server portal.ece.drexel.edu<BR>> > (/opt/csw/apache2/etc/includes/portal.ece.drexel.edu.conf:1)<BR>> > port 80 namevhost portal.ece.drexel.edu<BR>> > (/opt/csw/apache2/etc/includes/portal.ece.drexel.edu.conf:1)<BR>> > port 80 namevhost webmail.ece.drexel.edu<BR>> > (/opt/csw/apache2/etc/includes/webmail.ece.drexel.edu.conf:1)<BR>> > Syntax OK<BR>> ><BR>> ><BR>> > /opt/csw/apache2/sbin/httpd -M<BR>> > Loaded Modules:<BR>>
> core_module (static)<BR>> > mpm_prefork_module (static)<BR>> > http_module (static)<BR>> > so_module (static)<BR>> > authn_file_module (shared)<BR>> > authn_dbm_module (shared)<BR>> > authn_anon_module (shared)<BR>> > authn_default_module (shared)<BR>> > authn_alias_module (shared)<BR>> > authz_host_module (shared)<BR>> > authz_groupfile_module (shared)<BR>> > authz_user_module (shared)<BR>> > authz_dbm_module (shared)<BR>> > authz_owner_module (shared)<BR>> > authnz_ldap_module (shared)<BR>> > authz_default_module (shared)<BR>> > auth_basic_module (shared)<BR>> > auth_digest_module
(shared)<BR>> > include_module (shared)<BR>> > deflate_module (shared)<BR>> > ldap_module (shared)<BR>> > log_config_module (shared)<BR>> > env_module (shared)<BR>> > mime_magic_module (shared)<BR>> > expires_module (shared)<BR>> > headers_module (shared)<BR>> > setenvif_module (shared)<BR>> > mime_module (shared)<BR>> > status_module (shared)<BR>> > autoindex_module (shared)<BR>> > info_module (shared)<BR>> > cgi_module (shared)<BR>> > negotiation_module (shared)<BR>> > dir_module (shared)<BR>> > actions_module (shared)<BR>> > userdir_module (shared)<BR>> > alias_module
(shared)<BR>> > rewrite_module (shared)<BR>> > php5_module (shared)<BR>> > Syntax OK<BR>> ><BR>> ><BR>> > # This is the main Apache HTTP server configuration file. It contains the<BR>> > # configuration directives that give the server its instructions.<BR>> > # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.<BR>> > # In particular, see<BR>> > # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html><BR>> > # for a discussion of each configuration directive.<BR>> ><BR>> > <snip><BR>> ><BR>> > <IfModule dir_module><BR>> > DirectoryIndex index.pl index.html awstats.pl index.php<BR>> > </IfModule><BR>> ><BR>> > <snip><BR>> ><BR>> > # php stuff<BR>>
><BR>> > LoadModule php5_module libexec/libphp5.so<BR>> > Addhandler application/x-httpd-php .php<BR>> ><BR>> > <snip><BR>> ><BR>> > <VirtualHost *:80><BR>> > ServerAlias webmail.ece.drexel.edu<BR>> > ServerAlias webmail.coe.drexel.edu<BR>> > ServerName webmail.ece.drexel.edu<BR>> > ScriptAlias /cgi/ "/web/webmail/cgi/"<BR>> > DirectoryIndex index.php<BR>> > DocumentRoot /web/webmail<BR>>
> TransferLog /var/log/http/webmail/access_log<BR>> > ErrorLog /var/log/http/webmail/error_log<BR>> > </VirtualHost><BR>> ><BR>> ><BR>> > _______________________________________________<BR>> > users mailing list<BR>> > users@lists.blastwave.org<BR>> > https://lists.blastwave.org/mailman/listinfo/users<BR>> ><BR>><BR>><BR>><BR>>--<BR>>Manish Agrawal<BR>>Asstt. Prof., Dept. of ISDS, Univ. of South Florida<BR>>4202 E. Fowler Ave., CIS 1040, Tampa, Fl 33620 - 7800, U.S.A.<BR>><?XML:NAMESPACE PREFIX = SKYPE /><SKYPE:SPAN onmouseup="javascript:skype_tb_imgOnOff(this,1,'0',true,16,'');return skype_tb_stopEvents();" class=skype_tb_injection oncontextmenu="javascript:skype_tb_SwitchDrop(this,'0','sms=0');return
skype_tb_stopEvents();" onmousedown="javascript:skype_tb_imgOnOff(this,2,'0',true,16,'');return skype_tb_stopEvents();" id=softomate_highlight_0 onmouseover="javascript:skype_tb_imgOnOff(this,1,'0',true,16,'');" title="Call this phone number in United States of America with Skype: +18139746716" onclick="javascript:doRunCMD('call','0',null,0);return skype_tb_stopEvents();" onmouseout="javascript:skype_tb_imgOnOff(this,0,'0',true,16,'');" durex="0" context="(813)-974-6716"><SKYPE:SPAN onmouseup="javascript:doSkypeFlag(this,'0',1,1,16);return skype_tb_stopEvents();" class=skype_tb_imgA onmousedown="javascript:doSkypeFlag(this,'0',2,1,16);return skype_tb_stopEvents();" id=skype_tb_droppart_0 onmouseover="javascript:doSkypeFlag(this,'0',1,1,16);" title="Change country code ..." style="BACKGROUND-IMAGE:
url(C:\DOCUME~1\Mario\CONFIG~1\Temp\__SkypeIEToolbar_Cache\caea264d80cf3346d48a96a3762727b1\static\inactive_a.compat.flex.w16.gif)" onclick="javascript:doHandleChdial(this,1,'0',1);return skype_tb_stopEvents();" onmouseout="javascript:doSkypeFlag(this,'0',0,1,16);"><SKYPE:SPAN class=skype_tb_imgFlag id=skype_tb_img_f0 style="BACKGROUND-IMAGE: url(C:\DOCUME~1\Mario\CONFIG~1\Temp\__SkypeIEToolbar_Cache\caea264d80cf3346d48a96a3762727b1\static\famfamfam/US.gif)"></SKYPE:SPAN></SKYPE:SPAN><SKYPE:SPAN class=skype_tb_imgS id=skype_tb_img_s0></SKYPE:SPAN><SKYPE:SPAN class=skype_tb_injectionIn id=skype_tb_text0><SKYPE:SPAN class=skype_tb_innerText id=skype_tb_innerText0>(813)-974-6716</SKYPE:SPAN></SKYPE:SPAN><SKYPE:SPAN class=skype_tb_imgR id=skype_tb_img_r0></SKYPE:SPAN></SKYPE:SPAN> (W) 974-6749 (FAX)
magrawal@coba.usf.edu<BR>>http://coba.usf.edu/departments/isds/faculty/agrawal/index.html<BR>>--<BR>>_______________________________________________<BR>>users mailing list<BR>>users@lists.blastwave.org<BR>>https://lists.blastwave.org/mailman/listinfo/users<BR></FONT></BLOCKQUOTE></div><br clear=all><hr>Consigue aquí las mejores y mas recientes ofertas de trabajo EE.UU. <a href="http://g.msn.com/8HMAESUS/2737??PS=47575" target="_top">Clic aquí</a> </html>