Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Trying to get php and apache to work together

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  mod_jk2, Apache 2, Tomcat 4.1 problems (possibly ..  
Author Message
nwsgrp01

External


Since: Apr 01, 2004
Posts: 2



(Msg. 1) Posted: Thu Apr 01, 2004 11:46 pm
Post subject: Trying to get php and apache to work together
Archived from groups: alt>apache>configuration (more info?)

Using php 4.3.x and apache (both 1.3.x and 2). I am trying to get them built
on Linux.
Have followed the very good site of dan.drydog.com/apache2php.html and have
been able to build both apaches with no errors. Can start apache and have
no errors and all tests pass. Also can build php and again no errors. All
installations pass the tests.

However no php code works at all. The following is true for both Apache
1.3.X and Apache 2.X
If I test <?php phpinfo(); ?> which _should_ work, I get no output (to the
browser) at all. Further the mime type of *.php files (whether I define an
AddType entry in httpd.conf or not) is application/x-x-httpd-php.

I get the impression that php module is not being invoked at all. Has anyone
any ideas because I have totally run out.

(Any hints on debugging apache so I can see what is happening would also be
welcome)
--
Gr, Tim

 >> Stay informed about: Trying to get php and apache to work together 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Fri Apr 02, 2004 8:47 am
Post subject: Re: Trying to get php and apache to work together [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Nwsgrp <nwsgrp01.DeleteThis@fambinsted.demon.nl> wrote:
 > I get the impression that php module is not being invoked at all. Has anyone
 > any ideas because I have totally run out.

I've always followed the installation instruction on <a style='text-decoration: underline;' href="http://www.php.net" target="_blank">www.php.net</a>
and never failed. Check the log files of Apache.

Davide

--
| There's no real need to do housework -- after four years it doesn't
| get any worse.
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Trying to get php and apache to work together 
Back to top
Login to vote
nwsgrp01

External


Since: Apr 01, 2004
Posts: 2



(Msg. 3) Posted: Sat Apr 03, 2004 8:33 pm
Post subject: Re: Trying to get php and apache to work together [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Davide Bianchi wrote:

 > Nwsgrp <nwsgrp01.DeleteThis@fambinsted.demon.nl> wrote:
  >> I get the impression that php module is not being invoked at all. Has
  >> anyone any ideas because I have totally run out.
 >
<font color=purple> > I've always followed the installation instruction on <a style='text-decoration: underline;' href="http://www.php.net</font" target="_blank">www.php.net</font</a>>
 > and never failed. Check the log files of Apache.
 >
 > Davide
 >
To complete the story. I have found that you must build php with the
--with-apache and with-apache has to point to the source tree. In my case
this was in /tmp and not in /usr/local/XXX where configure expected it to
be.

Now it works fine.
--
Gr, Tim<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Trying to get php and apache to work together 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
website does not work under apache ssl - Dear all, I wrote a php-site to set up a vacation note under linux using procmail mechanism. This website is written in php4 and uses session-cookies in the very easiest manner. I programmed it under Debian Linux 3.0 sid (unstable) with apache 1.3.xx....

How to configure Apache to work with ISS - I've installed Apache 2 on Windows 2000 Professional and it's called alpha (my computer name) and I can also access it via http://localhost Now I want to install IIS 5 on the same machine, so it can work together with Apache, so that I can access Apache...

Will Apache 2.x work with old version of Zonealarm? - I'm using the free version of Zonealarm 2.6.362, Windows 95b and I want to install the Apache web server so I can practice making Web pages using CGI and Perl. Will they work together? How about the last stable 1.x version of Apache? I'd like to at..

HELP! Installed IIS and Apache Wont Work Now - I installed IIS last night. You see, my girlfriend, who is going to night school, is taking a class in ColdFusion. So, as a favor, I installed a copy of her Dreamwaever software on my laptop so she could do her homework. This is my development PC..

Apache 1.3.29+mod_jk on solaris: "jk will not work" -> ./e.. - Hello everybody I am getting the following in mu logs/error_log file upon starting the beast: [Fri Feb 6 09:29:12 2004] [error] (2)No such file or directory: Error while opening the workers, jk will not work [Fri Feb 6 09:29:13 2004] [error] (2)No..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]