Re: Getting PHP to work w Apache 1.3.41

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

 





Daniel Reinhardt wrote:

--------------------------------------------------
From: "Paul McFerrin" <pmcferrin@xxxxxxxxxxxxxxx>
Sent: 01 January, 2010 2:55
To: <users@xxxxxxxxxxxxxxxx>
Subject: Re:  Getting PHP to work w Apache 1.3.41

Well yes & no. I'm having to build PHP4 myself. Instructions for installing SAPI are not clearly written. That's been my hard part. Does not matter PHP4 or PHP5. There is always a road-block.

Daniel Reinhardt wrote:

--------------------------------------------------
From: "Devraj Mukherjee" <devraj@xxxxxxxxx>
Sent: 31 December, 2009 23:15
To: <users@xxxxxxxxxxxxxxxx>; <pmcferrin@xxxxxxxxxxxxxxx>
Subject: Re:  Getting PHP to work w Apache 1.3.41

You need to add something like

AddType application/x-httpd-php .php

to your Apache configuration file. You are also likely to get more
information regarding this on the PHP resource centres.

Also is there a reason you aren't choosing Apache 2.x + PHP5?

On Fri, Jan 1, 2010 at 8:17 AM, Paul McFerrin <pmcferrin@xxxxxxxxxxxxxxx> wrote:
I'me been trying to get PHP4 to run with Apache1.3.41 but I don't know
enough to tie things in as a fastcgi. What other files have to be modified? Where does PHP4 have to be installed? Can someone tie things in for me. I
seemed to so close but yet so far.

Rightnow my .php file jst downloads the contents.


Is PHP compiled to run with Apache?


Try this configure script:

./configure --with-apxs2=/usr/sbin/apxs --prefix=/usr --libdir=/usr/lib --with-libdir=lib --sysconfdir=/etc --disable-safe-mode --disable-ipv6 --with-libexpat-dir=/usr --disable-magic-quotes --enable-zend-multibyte --enable-mbregex --enable-tokenizer=shared --with-config-file-scan-dir=/etc/php --with-config-file-path=/etc/httpd --enable-mod_charset --with-layout=PHP --enable-sigchild --enable-xml --with-libxml-dir=/usr --enable-simplexml --enable-spl --enable-filter --disable-debug --with-openssl=shared --with-pcre-regex=/usr --with-zlib=shared,/usr --enable-bcmath=shared --with-bz2=shared,/usr --enable-calendar=shared --enable-ctype=shared --with-curl=shared --with-curlwrappers --with-mcrypt=/usr --enable-dba=shared --with-gdbm=/usr --with-db4=/usr --enable-dbase=shared --enable-exif=shared --enable-ftp=shared --with-gd=shared --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --with-t1lib=/usr --enable-gd-native-ttf --enable-gd-jis-conv --with-gettext=shared,/usr --with-gmp=shared,/usr --with-iconv=shared --with-imap-ssl=/usr --with-ldap=shared --enable-mbstring=shared --enable-hash --with-mhash=shared,/usr --with-mysql --enable-pdo=shared --with-pdo-mysql=shared,/usr --with-pdo-sqlite=shared --with-pspell=shared,/usr --with-mm=/usr --enable-shmop=shared --with-snmp=shared,/usr --enable-soap=shared --enable-sockets --with-sqlite=shared --with-regex=php --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx=shared --with-xsl=shared,/usr --enable-zip=shared --with-tsrm-pthreads --enable-shared=yes --enable-static=no --with-gnu-ld --with-pic

Its for Apache 2.xx you may have to change a few of the options, and the directories.

Apache 2.xx series is much easier and more supported.




---------------------------------------------------------------------
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


No, you don't want to use AddType.

Read this:

http://wiki.apache.org/httpd/PHPDownload

Frank.

---------------------------------------------------------------------
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