473,508 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Apache php module docs?

Hi all, I'm looking for the docs on the php module. Ol' Apache says
that the docs for LoadModule come from that module (PHP in this case)
but unfortuanlely I can't find it.

Is php5apache2_2.dll what I should be loading into Apache?

I could really use a point to some docs. Thanks!
Mar 28 '08 #1
4 1825
On Mar 28, 10:18*pm, Mark Space <marksp...@sbc.global.netwrote:
Hi all, I'm looking for the docs on the php module. *Ol' Apache says
that the docs for LoadModule come from that module (PHP in this case)
but unfortuanlely I can't find it.

Is php5apache2_2.dll what I should be loading into Apache?

I could really use a point to some docs. Thanks!
php5apache2_2.dll is for use with apache v.2.2.

The dll that you use depends on the version of apache your running.
What is your version?
Mar 28 '08 #2
aj*********@googlemail.com wrote:
On Mar 28, 10:18 pm, Mark Space <marksp...@sbc.global.netwrote:
>Hi all, I'm looking for the docs on the php module. Ol' Apache says
that the docs for LoadModule come from that module (PHP in this case)
but unfortuanlely I can't find it.

Is php5apache2_2.dll what I should be loading into Apache?

I could really use a point to some docs. Thanks!

php5apache2_2.dll is for use with apache v.2.2.

The dll that you use depends on the version of apache your running.
What is your version?
Apache 2.2.6

My config is:
LoadModule php5_module php5apache2_2.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

But I'd like to find some docs, I have no idea really what these do,
even if I can guess.
Mar 28 '08 #3
aj*********@googlemail.com wrote:
<?php

phpinfo();

?>
Yes, I have this for testing. It wasn't working before, but it is now.
If this is processed correctly then PHP is working fine.

In my setup i'm running Apache 2.0.59 and I have
LoadModule php5_module "C:/php/php5apache2.dll"
Yes, the quotes and the absolute path seem to be necessary.

Before, I had copied my php .dll to the Apache modules directory, and
the .dll (and executable) for PHP are in the path. Why wouldn't all
that work? That's why I need the docs. The info on LoadModule on the
Apache website is really pathetic.

Thanks for your help, it appears to be working now.
Mar 29 '08 #4
aj*********@googlemail.com wrote:
In my setup i'm running Apache 2.0.59 and I have

PHPIniDir "C:/php/"
LoadModule php5_module "C:/php/php5apache2.dll"
Just FYI, I re-installed PHP just now (well, actually I added the
mysql.dll for PHP) and PHP stopped working for some reason in Apache.

After poking around a bit, I noticed that the installer had added the
PHPIniDir in my httpd.conf file, where I didn't have it before. So I
commented that line out, restarted, and suddenly PHP is working again.

Any ideas why?

But in general, yeah watch out for PHPIniDir, it might cause problems. I
have everything on my PATH already, maybe that's why it worked before.
I can't figure out why that line would stop PHP from working if it
worked before though...
Mar 29 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2876
by: michael newport | last post by:
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In...
1
3310
by: Terence | last post by:
A curious observation: I have my apache web server configured for the PHP apache module to parse files ending in the .php extension. nothing unusual about that, but I also noticed that if I...
4
1821
by: Joshua Beall | last post by:
Hi All, Is there a way in PHP to know what all the content-types that Apache knows about are? Basically, what I want to be able to do is look at an extension, and then know what content-type...
27
3101
by: Mxsmanic | last post by:
How can I combine SSI, CGI, and PHP in Apache 2.x? I keep reading that this can be done, but I haven't found any examples of the actual configuration required to do it. What I want to do is: ...
2
2905
by: digidalmation | last post by:
Hello all. I've been trying to get my linux server to run mod_python. It's a Mandrake 10 linux box, and apache/mod_python are installed from rpms. apache2-mod_python-2.0.48_3.1.3-1mdk...
3
2075
by: dalyian39 | last post by:
Hello, I'm pretty new to PHP but I have a page, B.php, which runs fine, but I want to be able to call this as B (long story), i.e. http://mysite/B?foo=bar should be equivalent to calling...
3
2306
by: Ryan Riehle | last post by:
Hi All! Trying to upgrade to Apache 2.0.49 and getting compile errors related to mod_auth_pgsql, any clue?: make: Entering directory `/usr/src/httpd-2.0.49'...
6
7958
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as...
6
7580
by: josequinonesii | last post by:
I've searched, I've read, I've tested and re-read numerous post but to no avail yet... Quite simply, the settings I've applied to my httpd.conf, httpd-vhost.conf and my hosts files simply does not...
0
7115
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7489
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5624
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5047
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4705
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.