php-install Digest 4 Sep 2001 10:15:16 -0000 Issue 443

Topics (messages 4175 through 4177):

PHP 4.0.6 not working with Apache 1.3.20 on Win Me
        4175 by: David Rego

PHP + IMAP : instalation problems
        4176 by: David

Re: PHP4 and Apache 1.3.20 DSO mode not working?
        4177 by: i82much

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


Hi,

I have just joined this list. So pls pardon me if this has been asked 
before. Pls point me to an archive if so.

I downloaded the executable of Apache from their web site and it works 
along with my CGI (Perl) scripts. I then downloaded from php.net a zip of 
4.0.6. I followed the instructions of install.txt and from the site for 
both types of installation except that I put PHP on D: (D:\PHP). My Apache 
installation is on D:\ApacheGroup\Apache. My web site is on D:\Data\Web Site\.
For CGI type I put the following lines in httpd.conf:

     ScriptAlias /PHP/ "D:/Data/Web Site/PHP/"

     <Directory "D:/Data/Web Site/PHP/">
         AllowOverride None
         Options None
         Order deny,allow
         Allow from 127.0.0.1
     </Directory>

in the <IfModule mod_alias.c> section

and in the <IfModule mod_mime.c> section I put the lines:

     AddType application/x-httpd-php .php .phtml
     Action application/x-httpd-php "D:/PHP/php.exe"

But it didn't work (I believe the apache log didn't have a message even 
though  put the loglevel the lowest)

Then I tried the module method (removing the lines from the mod_mime section:
I copied php4ts.dll to c:\windows\system and added the line:

LoadModule php4_module D:/php/sapi/php4apache.dll

But it still doesn't work. I believe Apache said something like: Premature 
end of script headers

I tried a combination of both and similar results.

But from the command line (keeping the file where it is for the web site) 
the output works!

Any suggestions?

Tks in advance

Dr





I'm using PHP 4.0.6 on Mandrake 8.0 with IMAP 2000c-4.4
All the compilation is ok but when I try to start Apache I have the
following message :

Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol: mxdriver
/usr/local/apache/bin/apachectl start: httpd could not be started

I have tried the installation process described on php.net but it don't
work.

Can't you help me ?

Thanks

David










"Bill Carter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Thanks for the info. Did you install Apache and PHP binaries derived from
> the rpm's on the distribution disk or did you download sources from the
> websites and configure/compile/install from sources?
>
> Peter Clarke wrote:
> > I've recently installed:
> > Red Hat Linux release 7.1 (Seawolf), PHP 4.0.6 Apache, 1.3.20 DSO from
> > scratch with no problems.
> > also:
> > Red Hat Linux release 6.1 (Cartman), PHP 4.0.6 Apache, 1.3.20 DSO from
> > scratch with no problems.
> >
> > Just so you know it can work.
> >
> > Peter

I'm running rh7 2.2.19 and installed 4.0.6 dso /1.3.19 from source - from
web not srpms - successfully with no probs.  I've rebuilt php several times
since to change extensions and every time it works fine.  Here is my
configure command:

./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/
apxs \
--enable-bcmath --enable-calendar --with-gd --with-xml --with-oci8 \
--enable-dbg=shared --with--dbg-profiler

I'll upgrade my apache to 1.3.20 to see what happens and keep you posted.

Dan





Reply via email to