Gurol, edit your httpd.conf and add at the end of the file line
Include /etc/apache2/conf.d/php.conf
Check whether path is correct. After that restart apache. These are simple things... you need to know many others to be able to administrate ser!
Pavel Siderov
----- Original Message ----- From: "Gurol Akman" gurol_akman@hotmail.com To: pi@hostmates.com Sent: Wednesday, December 29, 2004 3:57 PM Subject: Re: [Serusers] cannot open index.php under konqueror
Pavel,
I'm attaching a copy of all the files under /etc/apache2/conf.d directory. There is no file named mod_php4.conf but there is one named php4.conf. Thanks,
Gurol
>From: "Pavel Siderov" <pi@hostmates.com> >To: "Gurol Akman" <gurol_akman@hotmail.com> >Subject: Re: [Serusers] cannot open index.php under konqueror >Date: Wed, 29 Dec 2004 12:18:16 +0200 > >Hi Gurol, > >your php configuration file is located under. > >/etc/apache2/conf.d/mod_php4.conf > >Please send it to me. > >Regards, > >Pavel Siderov > >----- Original Message ----- >From: "Gurol Akman" <gurol_akman@hotmail.com> >To: <pi@hostmates.com> >Sent: Wednesday, December 29, 2004 12:31 AM >Subject: Re: [Serusers] cannot open index.php under konqueror > > > > Hi Pavel, > > > > I was able to locate httpf.conf under /etc/apache2 & attaching a copy of > > it > > to this e-mail. I used 'rcapache2 start' to start the apache server. > > However, I continue to have the same problem when I try to click on a > > *.php > > file from within konqueror. I'm also attaching a copy of the php.ini file > > that is under /etc directory. Thanks for your help, > > > > Gurol > > > >>From: "Pavel Siderov" <pi@hostmates.com> > >>To: <serusers@lists.iptel.org> > >>CC: "Gurol Akman" <gurol_akman@hotmail.com> > >>Subject: Re: [Serusers] cannot open index.php under konqueror > >>Date: Tue, 28 Dec 2004 23:25:57 +0200 > >> > >> Hi, > >>usually this file is located at /etc/httpd/ or /etc/apache/ > >>if not try to find your httpd.conf this way - type in console > >>slocate -u > >>slocate httpd.conf > >>Last command will show you where it's located. > >>At the last lines of httpd.conf you will find info about. > >>If lines are commented (#) uncomment them and restart your apache: > >>apachectl restart > >> > >>To test whether php is working create file for example info.php with > >>content > >><?php phpinfo(); ?> > >>And after that open it with your browser ( http://your_ip/info.php ). > >>If apache and php are working you'll see some info at your browser window > >>otherwise you'll get the same dialog as the one when you tried to open > >>index.php. > >> > >>Regards, > >>Pavel Siderov > >> > >>P.S. If you can't resolve your problem send me as atachement your > >>httpd.conf > >>and I'll tell you what you have to change :). > >> > >>----- Original Message ----- From: "Gurol Akman" <gurol_akman@hotmail.com> > >>To: <pi@hostmates.com> > >>Sent: Tuesday, December 28, 2004 10:52 PM > >>Subject: Re: [Serusers] cannot open index.php under konqueror > >> > >> > >>>Hi, > >>> > >>>I'm running SuSE 9.2. When I check on the list of software packages > >>>installed, I see that 'apache2' and a whole bunch of php packages > >>>installed. Where would the httpd.conf or php.conf files be located? > >>>Thanks, > >>> > >>>GA > >>> > >>>&gt;From: &quot;Pavel Siderov&quot; &lt;pi@hostmates.com&gt; > >>>&gt;To: &quot;Gurol Akman&quot; &lt;gurol_akman@hotmail.com&gt; > >>>&gt;Subject: Re: [Serusers] cannot open index.php under konqueror > >>>&gt;Date: Tue, 28 Dec 2004 22:38:11 +0200 > >>>&gt; > >>>&gt;Do you have php installed and configured with the apache server:) ? > >>>&gt;Check apache httpd.conf or php.conf. > >>>&gt; > >>>&gt;Regards, > >>>&gt;Pavel Siderov > >>>&gt; > >>>&gt;----- Original Message ----- From: &quot;Gurol Akman&quot; > >>>&gt;&lt;gurol_akman@hotmail.com&gt; > >>>&gt;To: &lt;serusers@lists.iptel.org&gt; > >>>&gt;Sent: Tuesday, December 28, 2004 10:12 PM > >>>&gt;Subject: [Serusers] cannot open index.php under konqueror > >>>&gt; > >>>&gt; > >>>&gt;&gt;Hi, > >>>&gt;&gt; > >>>&gt;&gt;After installing serweb per INSTALL instructions, if I attempt to > >>>&gt;&gt;open the index.php file under konqueror, I get prompted with > >>>&gt;&gt;another window asking me which application to use to open the > >>>file. > >>>&gt;&gt;What may be wrong, any ideas? Thanks, > >>>&gt;&gt; > >>>&gt;&gt;GA > >>>&gt;&gt; > >>>&gt;&gt; > >>>&gt;&gt;_______________________________________________ > >>>&gt;&gt;Serusers mailing list > >>>&gt;&gt;serusers@lists.iptel.org > >>>&gt;&gt;http://lists.iptel.org/mailman/listinfo/serusers > >>>&gt;&gt; > >>>&gt;&gt; > >>>&gt; > >>>&gt; > >>> > >>> > >>> > >>> > >> > >> > > > >