Re: [users@httpd] Help getting php up and running

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have not used Apache 1.3.x series for a while now. If 
these are 1.3 modules, then you don't need to load the 
libapache2-mod-php5 - it's for the 2 series. Even it it was 
for 1.3.x series, I don't think you can load php4 & php5 
modules together into the same instance of apache. Which 
module's function would be called for functions that are the 
same name, e.g. mysql_query()?


> > I have the following installed
> >
> > ii  libapache-mod-php4            4.4.2-1
> > server-side, HTML-embedded scripting language


***
> > rc  libapache2-mod-php5           5.0.5-3
> > server-side, HTML-embedded scripting languag
***


> > ii  php4          4.4.2-1   server-side, HTML-embedded scripting language
> > ii  php4-common   4.4.2-1   Common files for packages built from the php
> > ii  php4-mysql    4.4.2-1   MySQL module for php4
> >
> > And this is my modules.conf
> >
> > ClearModuleList
> > AddModule mod_so.c
> > AddModule mod_macro.c
> > LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
> > LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
> > LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
> > LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
> > LoadModule status_module /usr/lib/apache/1.3/mod_status.so
> > LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
> > LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
> > LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
> > LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
> > LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
> > LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
> > LoadModule access_module /usr/lib/apache/1.3/mod_access.so
> > LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
> > LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
> > LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
> > LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so


> > LoadModule includes_module /usr/lib/apache/1.3/mod_include.so
> > LoadModule includes_module /usr/lib/apache2/modules/libphp4.so

Looks like you have done a cut-and-paste and have forgotten 
to change the module alias name for libphp4.so, cause it is 
the same as the previous line for mod_include.

IIRC, does Apache 1.3.x also require LoadModule statements for the
following modules? 

php4               4.4.2-1   server-side, HTML-embedded scripting language
php4-common        4.4.2-1   Common files for packages built from the php

Is this also loadable by apache 1.3.x
php4-mysql         4.4.2-1   MySQL module for php4

HTH 

Keith

> >
> > For the life of me I can't figure out why following the 
> > instructions won't
> >  get this up and running this time.  I think I'm missing 
> >  a file somewhere.
> >
> > Don

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux