Fwd: Re: [PHP-DB] Help getting php up and running

2006-02-11 Thread CasperLinux
Anyone have any input? I am googling till my fingers hurt and everything I
find says it should be running.  Whenever I try to open a test.php file all I
get is the web browswer trying to save the file instead of serving up the php
content.

On Friday 10 February 2006 21:28, CasperLinux wrote:
> I run a Debian unstable system with apache 1.3 installed.  I had PHP
>  installed and running then tried to install Acid/Base for Snort.  That
>  installation did not work properly so I attempted to remove the components
>  but then I lost php support.  I removed all the PHP files and reattemtped
> to install. No joy. Anyone have any ideas of what may be an issue.
>
> I have the following installed
>
> ii  libapache-mod-php44.4.2-1
> server-side, HTML-embedded scripting languag
> 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 languag
> ii  php4-common   4.4.2-1   Common
> files for packages built from the php
> ii  php4-mysql4.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
>
> 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
>
> --
> - Powered by Debian Linux -
>
> ---
>
> --
> - Powered by Debian Linux -

--
- Powered by Debian Linux -

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

---

-- 
- Powered by Debian Linux - 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [PHP-DB] Help getting php up and running

2006-02-11 Thread CasperLinux
On Saturday 11 February 2006 10:54, David Kirchner wrote:
> On 2/11/06, CasperLinux <[EMAIL PROTECTED]> wrote:
> > Anyone have any input? I am googling till my fingers hurt and everything
> > I find says it should be running.  Whenever I try to open a test.php file
> > all I get is the web browswer trying to save the file instead of serving
> > up the php content.
> >
> > On Friday 10 February 2006 21:28, CasperLinux wrote:
> > > LoadModule includes_module /usr/lib/apache/1.3/mod_include.so
> > > LoadModule includes_module /usr/lib/apache2/modules/libphp4.so
>
> That should probably be php4_module or something along those lines. It
> needs to match whatever the .so was built for; it's not arbitrary.
I did a dpkg-reconfigure apache a bit ago and this is now the php line in 
modules.conf : 
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

Still won't come up.
-- 
- Powered by Debian Linux - 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]