php-install Digest 25 Jul 2003 21:08:04 -0000 Issue 1475
Topics (messages 11340 through 11342):
Re: How to make php work with apache
11340 by: Roberto Gonzalez Sierra
11341 by: Roberto Gonzalez Sierra
Fresh install - apache coredumps when I use php_value
11342 by: jeff thomas
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]
----------------------------------------------------------------------
--- Begin Message ---
Hi again,
I'm using Mandrake 8.2 and I have problems with Apache and PHP.
I have compiled my Apache 2.0.47 with the command in part B of this
message. I have tried if it works, and all is ok, it shows me my html pages.
Then I have installed these RPMs:
php-gd-4.1.2-1mdk, php-mysql-4.1.2-2mdk, php-common-4.1.2-1mdk,
mod_php-4.1.2-1mdk, php-imap-4.1.2-1mdk, php-readline-4.1.2-1mdk,
php-4.1.2-1mdk, php-ldap-4.1.2-1mdk
I have put the config lines in my httpd.conf file, in order to run PHP
pages, but It doesn't work. Can someone help me??
Thanks a lot
Roberto Gonzalez
PART B
./configure --mandir=/usr/share/man --sysconfdir=/etc/httpd/conf --includedi
r=/usr/include/httpd --libexecdir=/usr/lib/httpd/modules --datadir=/home/htt
pd --localstatedir=/var --with-mpm=prefork --enable-access=shared --enable-a
ctions=shared --enable-alias=shared --enable-auth=shared --enable-auth-dbm=s
hared --enable-auth-digest=shared --enable-autoindex=shared --enable-cern-me
ta=shared --enable-cgi=shared --enable-cgid=shared --enable-dav=shared --ena
ble-dav-fs=shared --enable-dir=shared --enable-env=shared --enable-expires=s
hared --enable-file-cache=shared --enable-headers=shared --enable-include=sh
ared --enable-log-config=shared --enable-mime=shared --enable-mime-magic=sha
red --enable-negotiation=shared --enable-rewrite=shared --enable-setenvif=sh
ared --enable-speling=shared --enable-ssl=shared --enable-unique-id=shared -
-enable-usertrack=shared --enable-vhost-alias=shared --enable-suexec=shared
--with-suexec-caller=www --with-suexec-docroot=/home/httpd --with-suexec-log
file=/var/log/httpd/suexec.log --with-suexec-bin=/usr/sbin/suexec --with-sue
xec-uidmin=500 --with-suexec-gidmin=500 --disable-auth-anon --disable-charse
t-lite --disable-disk-cache --disable-mem-cache --disable-cache --disable-de
flate --disable-ext-filter --disable-case-filter --disable-case-filter-in --
disable-example --disable-proxy --disable-proxy-connect --disable-proxy-ftp
--disable-proxy-http --disable-status --disable-asis --disable-info --disabl
e-imap --disable-userdir --with-z --with-ssl --with-suexec
"Jacob A. Van Zanen" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
>
> Hi,
>
>
>
> What is your OS?
>
>
>
> Jacob A. van Zanen
> Oracle DBA
>
>
>
--- End Message ---
--- Begin Message ---
Hi,
I have the same problem...
I have a Mandrake 8.2 installed. This week, I downloaded Apache 2.0.47, and
compiled It. Then I installed the RPMs of the PHP that the Mandrake 8.2 CDs
have. The version is 4.1.2.
I have runned Apache2 and it runs ok. I can see my html pages. If I run PHP
from command line It runs ok....
But when I have tried to see a PHP page in my Apache2, It doesn't interpret
the php, it gives me a window asking me if I want to download the page.
what have I done wrong?
How can I get that my Apache2 interpret PHP pages?
thanks...
"Jacob A. Van Zanen" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
>
> Hi,
>
>
>
> What is your OS?
>
>
>
> Jacob A. van Zanen
> Oracle DBA
>
>
>
>
> -----Original Message-----
> From: skumar [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 24, 2003 4:13 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] How to make php work with apache
>
>
> Hello,
> I am newbie to PHP. I have installed php but i don't know, how to make
> it work with apache. I will grateful if someone can give some pointersof
> web page or any tips.
>
> Thanks
> kumar
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
when i set php_value in my httpd.conf, and i run
apachectl configtest (or try to start apache), it core
dumps/seg faults.... but if i comment out that
php_value, it starts fine....
when php_value is used in a .htaccess file, the httpd
child process core dumps. when the php_value line is
removed, it works fine.
this is a fresh install on freebsd...
The php_value option I'm using are the php_value
auto_prepend_file
This works fine on similar boxes...
any idea how to aleviate the problem?
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--- End Message ---