From raffo@neuronet.pitt.edu Thu Nov 14 04:02:03 2002 From: "Rafael E. Herrera" To: users@lists.opensuse.org Subject: Problems using PHP scripts with Apache Date: Wed, 13 Nov 2002 23:01:55 -0500 Message-ID: <3DD32033.4020208@neuronet.pitt.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0979014543282145086==" --===============0979014543282145086== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello, I installed the apache server and the PHP4 packages on my machine and started the server. I'm experimenting with PHP scripts, and tried to load code like this: A PHP Example

A PHP Example

You are using The output is just: A PHP Example You are using and does not show the expected results. I have not modified the configuration files for apache, which I think are setup when the PHP rpms are installed. Is there something I'm missing? any suggestion would be appreciated. -- Rafael --===============0979014543282145086==-- From ole@sandbox.adsl.dk Thu Nov 14 07:04:09 2002 From: Ole Kofoed Hansen To: users@lists.opensuse.org Subject: Re: [SLE] Problems using PHP scripts with Apache Date: Thu, 14 Nov 2002 08:04:06 +0100 Message-ID: In-Reply-To: <3DD32033.4020208@neuronet.pitt.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0316273167210463078==" --===============0316273167210463078== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Wed, 13 Nov 2002, Rafael E. Herrera wrote: > Hello, > > I installed the apache server and the PHP4 packages on my machine and > started the server. I'm experimenting with PHP scripts, and tried to > load code like this: > > > > A PHP Example > > >

A PHP Example

> You are using > > > > > The output is just: > > A PHP Example > You are using > > and does not show the expected results. I have not modified the > configuration files for apache, which I think are setup when the PHP > rpms are installed. > > Is there something I'm missing? any suggestion would be appreciated. It looks like php is not called. What is the name of the file? Regards Ole --===============0316273167210463078==-- From fsanta@arrakis.es Thu Nov 14 07:28:21 2002 From: steve To: users@lists.opensuse.org Subject: Re: [SLE] Problems using PHP scripts with Apache Date: Thu, 14 Nov 2002 09:28:27 +0100 Message-ID: <200211140928.27262.fsanta@arrakis.es> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2037131219967056885==" --===============2037131219967056885== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Thursday 14 November 2002 08:04, Ole Kofoed Hansen wrote: > On Wed, 13 Nov 2002, Rafael E. Herrera wrote: > > Hello, > > > > I installed the apache server and the PHP4 packages on my machine and > > started the server. I'm experimenting with PHP scripts, and tried to > > load code like this: > > > > > > > > A PHP Example > > > > > >

A PHP Example

> > You are using > > > > > > > > > > The output is just: > > > > A PHP Example > > You are using > > > > and does not show the expected results. I have not modified the > > configuration files for apache, which I think are setup when the PHP > > rpms are installed. > > > > Is there something I'm missing? any suggestion would be appreciated. > > It looks like php is not called. What is the name of the file? > > Regards > > Ole Is the file in your public_html or htdocs directory and are you calling up th= e=20 file from a browser using http://a.b.c.d/(~)yourfile.php? S. --===============2037131219967056885==-- From raffo@neuronet.pitt.edu Thu Nov 14 13:14:04 2002 From: "Rafael E. Herrera" To: users@lists.opensuse.org Subject: Re: [SLE] Problems using PHP scripts with Apache Date: Thu, 14 Nov 2002 08:14:01 -0500 Message-ID: <3DD3A199.6080407@neuronet.pitt.edu> In-Reply-To: <200211140928.27262.fsanta@arrakis.es> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4495978681241108029==" --===============4495978681241108029== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable steve wrote: > On Thursday 14 November 2002 08:04, Ole Kofoed Hansen wrote: >> >>It looks like php is not called. What is the name of the file? >> > Is the file in your public_html or htdocs directory and are you calling up = the=20 > file from a browser using http://a.b.c.d/(~)yourfile.php? > S. I placed my file in mu public_html and in the apache server's document=20 root directory. Tried html and php extensions, like: http://127.0.0.1/example.html http://127.0.0.1/example.php When trying example.php, the browser (mozilla) tries to save the file=20 instead of viewing it. I've looked at the server's access_log and error_log files and no signs=20 of a problem shows. --=20 Rafael --===============4495978681241108029==-- From mersco@pandora.be Thu Nov 14 13:25:50 2002 From: Chris FitzGerald To: users@lists.opensuse.org Subject: Re: [SLE] Problems using PHP scripts with Apache Date: Thu, 14 Nov 2002 14:25:43 +0100 Message-ID: <017701c28be1$56f95b00$5301440a@corp.emc.com> In-Reply-To: <3DD3A199.6080407@neuronet.pitt.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0355105855783014913==" --===============0355105855783014913== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, Not sure about this one, but might be in the direction , in your httpd.conf file... (/etc/httpd/) is there an entry for filetype php ? like : AddType application/x-httpd-php .php or something similar ... make sure it is not commented out. regards Chris _____________________________________________ Make money while you work !!! http://www.degoo.com/index.php?refid=mersco This is for real !!! http://e-mailpaysu.com/members/index.cgi?mersco _____________________________________________ ----- Original Message ----- From: "Rafael E. Herrera" To: "SuSE" Sent: Thursday, November 14, 2002 2:14 PM Subject: Re: [SLE] Problems using PHP scripts with Apache > steve wrote: > > On Thursday 14 November 2002 08:04, Ole Kofoed Hansen wrote: > >> > >>It looks like php is not called. What is the name of the file? > >> > > Is the file in your public_html or htdocs directory and are you calling up the > > file from a browser using http://a.b.c.d/(~)yourfile.php? > > S. > > I placed my file in mu public_html and in the apache server's document > root directory. Tried html and php extensions, like: > > http://127.0.0.1/example.html > http://127.0.0.1/example.php > > When trying example.php, the browser (mozilla) tries to save the file > instead of viewing it. > > I've looked at the server's access_log and error_log files and no signs > of a problem shows. > -- > Rafael > > > -- > Check the headers for your unsubscription address > For additional commands send e-mail to suse-linux-e-help(a)suse.com > Also check the archives at http://lists.suse.com > Please read the FAQs: suse-linux-e-faq(a)suse.com > > > --===============0355105855783014913==-- From mersco@pandora.be Thu Nov 14 13:28:33 2002 From: Chris FitzGerald To: users@lists.opensuse.org Subject: Re: [SLE] Problems using PHP scripts with Apache Date: Thu, 14 Nov 2002 14:28:28 +0100 Message-ID: <019501c28be1$b9110cc0$5301440a@corp.emc.com> In-Reply-To: <3DD3A199.6080407@neuronet.pitt.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3968154386881289890==" --===============3968154386881289890== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, Not sure about this one, but might be in the direction , in your httpd.conf file... (/etc/httpd/) is there an entry for filetype php ? like : AddType application/x-httpd-php .php or something similar ... make sure it is not commented out. regards Chris _____________________________________________ Make money while you work !!! http://www.degoo.com/index.php?refid=mersco This is for real !!! http://e-mailpaysu.com/members/index.cgi?mersco _____________________________________________ ----- Original Message ----- From: "Rafael E. Herrera" To: "SuSE" Sent: Thursday, November 14, 2002 2:14 PM Subject: Re: [SLE] Problems using PHP scripts with Apache > steve wrote: > > On Thursday 14 November 2002 08:04, Ole Kofoed Hansen wrote: > >> > >>It looks like php is not called. What is the name of the file? > >> > > Is the file in your public_html or htdocs directory and are you calling up the > > file from a browser using http://a.b.c.d/(~)yourfile.php? > > S. > > I placed my file in mu public_html and in the apache server's document > root directory. Tried html and php extensions, like: > > http://127.0.0.1/example.html > http://127.0.0.1/example.php > > When trying example.php, the browser (mozilla) tries to save the file > instead of viewing it. > > I've looked at the server's access_log and error_log files and no signs > of a problem shows. > -- > Rafael > > > -- > Check the headers for your unsubscription address > For additional commands send e-mail to suse-linux-e-help(a)suse.com > Also check the archives at http://lists.suse.com > Please read the FAQs: suse-linux-e-faq(a)suse.com > > > --===============3968154386881289890==-- From dgrayson@sportpaint.com Thu Nov 14 13:29:42 2002 From: Donald Grayson To: users@lists.opensuse.org Subject: RE: [SLE] Problems using PHP scripts with Apache Date: Thu, 14 Nov 2002 08:29:50 -0500 Message-ID: In-Reply-To: <3DD3A199.6080407@neuronet.pitt.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5320121212938879770==" --===============5320121212938879770== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > -----Original Message----- > From: Rafael E. Herrera [mailto:raffo(a)neuronet.pitt.edu] > Sent: Thursday, November 14, 2002 8:14 AM > To: SuSE > Subject: Re: [SLE] Problems using PHP scripts with Apache > > > steve wrote: > > On Thursday 14 November 2002 08:04, Ole Kofoed Hansen wrote: > >> > >>It looks like php is not called. What is the name of the file? > >> > > Is the file in your public_html or htdocs directory and are you > calling up the > > file from a browser using http://a.b.c.d/(~)yourfile.php? > > S. > > I placed my file in mu public_html and in the apache server's document > root directory. Tried html and php extensions, like: > > http://127.0.0.1/example.html > http://127.0.0.1/example.php > > When trying example.php, the browser (mozilla) tries to save the file > instead of viewing it. > > I've looked at the server's access_log and error_log files and no signs > of a problem shows. > -- > Rafael > > > -- > Check the headers for your unsubscription address > For additional commands send e-mail to suse-linux-e-help(a)suse.com > Also check the archives at http://lists.suse.com > Please read the FAQs: suse-linux-e-faq(a)suse.com > > Did you install the FTP version of SuSE8.1 or did you buy the disks? I did a clean install with the FTP release and I haven't even been able to get Apache to start when trying to load the PHP4 module. Don --===============5320121212938879770==-- From raffo@neuronet.pitt.edu Thu Nov 14 13:38:46 2002 From: "Rafael E. Herrera" To: users@lists.opensuse.org Subject: Re: [SLE] Problems using PHP scripts with Apache Date: Thu, 14 Nov 2002 08:38:44 -0500 Message-ID: <3DD3A764.7030907@neuronet.pitt.edu> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0212653463200419018==" --===============0212653463200419018== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Donald Grayson wrote: > > Did you install the FTP version of SuSE8.1 or did you buy the disks? It was un upgrade from 8.0 using the disks. -- Rafael --===============0212653463200419018==-- From raffo@neuronet.pitt.edu Thu Nov 14 13:42:51 2002 From: "Rafael E. Herrera" To: users@lists.opensuse.org Subject: Re: [SLE] Problems using PHP scripts with Apache Date: Thu, 14 Nov 2002 08:42:49 -0500 Message-ID: <3DD3A859.7040203@neuronet.pitt.edu> In-Reply-To: <019501c28be1$b9110cc0$5301440a@corp.emc.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6041930636648063182==" --===============6041930636648063182== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Chris FitzGerald wrote: > Hi, > > Not sure about this one, but might be in the direction , > > in your httpd.conf file... (/etc/httpd/) > is there an entry for filetype php ? > > like : > AddType application/x-httpd-php .php > or something similar ... > > make sure it is not commented out. Yes, it's under: ... AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x-httpd-php-source .phps In any case, I didn't touch the file, it's pretty much as the RPM file installed it. -- Rafael --===============6041930636648063182==-- From mersco@pandora.be Thu Nov 14 14:27:04 2002 From: Chris FitzGerald To: users@lists.opensuse.org Subject: Re: [SLE] Problems using PHP scripts with Apache Date: Thu, 14 Nov 2002 15:27:00 +0100 Message-ID: <01ec01c28be9$e61e9540$5301440a@corp.emc.com> In-Reply-To: <3DD3A199.6080407@neuronet.pitt.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2160123356514651951==" --===============2160123356514651951== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit hmmm ic ... strange indeed ... I have SuSE 8.1 Pro from CD and had no problem what so ever ,,, before I had suse 8.0 and didn't have any problem either ... Must admit I am clueless now ... :S Anywayz ... still keeping the braincells alive to help you find an answer ;) regards Chris _____________________________________________ Make money while you work !!! http://www.degoo.com/index.php?refid=mersco This is for real !!! http://e-mailpaysu.com/members/index.cgi?mersco _____________________________________________ ----- Original Message ----- From: "Rafael E. Herrera" To: "SuSE" Sent: Thursday, November 14, 2002 2:14 PM Subject: Re: [SLE] Problems using PHP scripts with Apache > steve wrote: > > On Thursday 14 November 2002 08:04, Ole Kofoed Hansen wrote: > >> > >>It looks like php is not called. What is the name of the file? > >> > > Is the file in your public_html or htdocs directory and are you calling up the > > file from a browser using http://a.b.c.d/(~)yourfile.php? > > S. > > I placed my file in mu public_html and in the apache server's document > root directory. Tried html and php extensions, like: > > http://127.0.0.1/example.html > http://127.0.0.1/example.php > > When trying example.php, the browser (mozilla) tries to save the file > instead of viewing it. > > I've looked at the server's access_log and error_log files and no signs > of a problem shows. > -- > Rafael > > > -- > Check the headers for your unsubscription address > For additional commands send e-mail to suse-linux-e-help(a)suse.com > Also check the archives at http://lists.suse.com > Please read the FAQs: suse-linux-e-faq(a)suse.com > > > --===============2160123356514651951==--