|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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! |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Mar 28, 10:18pm, Mark Space <marksp...@sbc.global.net> wrote:
> 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? |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
ajtrichards@googlemail.com wrote:
> On Mar 28, 10:18 pm, Mark Space <marksp...@sbc.global.net> wrote: >> 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. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Mar 28, 11:14pm, Mark Space <marksp...@sbc.global.net> wrote:
> ajtricha...@googlemail.com wrote: > > On Mar 28, 10:18 pm, Mark Space <marksp...@sbc.global.net> wrote: > >> 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. Can you view a php document? For example: Create a document called index.php Within this document write <?php phpinfo(); ?> If this is processed correctly then PHP is working fine. In my setup i'm running Apache 2.0.59 and I have PHPIniDir "C:/php/" LoadModule php5_module "C:/php/php5apache2.dll" contained in my httpd.conf file. |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
ajtrichards@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 , it appears to be working now. |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
ajtrichards@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... |
|
![]() |
| Outils de la discussion | |
|
|