php-install Digest 5 Aug 2001 20:40:21 -0000 Issue 397

Topics (messages 3843 through 3845):

Re: PHP 4.0.6 freeBSD mysql apache2
        3843 by: lasse ohgren

php-4.0.6 compile
        3844 by: hunter

using PHP, PWS WIN98; HTTP error 403 executing PHP-scripts
        3845 by: Chris Stegeman

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]


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


hey

yeah thanks, i was planning on using apache2 but i tested it your way
although, still having problems.
after running make install in /usr/ports/www/apache13
and trying to run apachectl start . it won't. just gives me
# apachectl start
/usr/local/sbin/apachectl start: httpd could not be started
#

when running httpd -l i get:
# httpd -l
Compiled-in modules:
 http_core.c
 mod_so.c
suexec: disabled; invalid wrapper /usr/local/sbin/suexec
#
(and i don't even know what suexec does... the file is not in
/usr/local/sbin/ can't find suexec on my whole system)
following that problem, the make install in /usr/ports/www/mod_php4
will not succeed, because it tries to start/restart httpd.

I'm not sure this is appropriate to this list.
But, anyhow:
Ideas?

regards
lasse öhgren
"Jon Cheng" <[EMAIL PROTECTED]> wrote in message
006801c11d19$a7627500$0200a8c0@joncheng">news:006801c11d19$a7627500$0200a8c0@joncheng...
> If you are installing on Freebsd, why not just make use of things in
> /usr/ports/www/?
>
> apache is located:
> /usr/ports/www/apache13
>
> php4
> /usr/ports/www/mod_php4
>
> mysql:
> /usr/ports/database/mysql323-server
>
> change directory into the list above and run an "make install" on each. Do
> them in order one at a time.
> That's it
>
> -Jon
>
>






I have been trying to complete this compile on a redhat-7.1 linux-2.4.3
server running apache-1.3.20 and when i compile in --with-imap i get the
following trying to restart apache:

~/temp/php-4.0.6# /etc/rc.d/init.d/httpd restart
Stopping httpd: [  OK  ]
Starting httpd: Syntax error on line 257 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server:
/etc/httpd/modules/libphp4.so: undefined symbol: mxdriver
[FAILED]

I look and sure enough its an imap issue as in the following:

~/temp/php-4.0.6# grep -r mxdriver *
ext/imap/php_imap.c:    mail_link(&mxdriver);           /* link in the
mx driver */
ext/imap/php_imap.c.orig:       mail_link(&mxdriver);           /* link
in the mx driver */
Binary file ext/imap/php_imap.lo matches
Binary file ext/imap/.libs/libimap.al matches
Binary file libs/libphp4.so matches

Has any got any ideas or possible solutions?
-- 
Michael B. Weiner, Linux+, Linux+ SME
Systems Administrator/Partner
The UserFriendly Network (UFN)
--
Linux Registered User #94900    Have you been counted?
http://counter.li.org

PGP: 30 1D CC BA 30 30 63 35  CD 58 E0 89 A9 17 CC C0  8C 55 F7 72

.........    Escape the 'Gates' of Hell
  `:::'                  .......  ......
   :::  *                  `::.    ::'
   ::: .::  .:.::.  .:: .::  `::. :'
   :::  ::   ::  ::  ::  ::    :::.
   ::: .::. .::  ::.  `::::. .:'  ::.
...:::.....................::'   .::::..
--

S/MIME Cryptographic Signature





I installed PWS and  PHP using WIN98. After running a php file named:
"test.php" withe the line "<?php phpinfo();?>" in it, it resulted in a
HTTP-error 403.
This is the translation of the dutch error I got:

HTTP-error 403
403.1 Forbidden: executing refused
This error may occur when you are trying to execute a CGI, ISAPI or an other
executable in a directory where it is not allowed to execute aplications.
Contact your webserver adminstrator if this problem keeps appearing.

Is there anyone who what went wrong?

I configured the php.ini as shown in the manual, but haven't done to much
with the PWS. Could that causes the problem?

Thanks, Chris

ps. once again the error in dutch: (if there are any dutch people that
didn't understand my translation)

HTTP-fout 403
403.1 Verboden: uitvoertoegang geweigerd
Deze fout kan optreden als u probeert een CGI-toepassing, ISAPI-toepassing
of een ander uitvoerbaar programma te starten in een map waarin het
uitvoeren van programma's niet is toegestaan.Neem contact op met de
beheerder van de webserver als het probleem zich blijft voordoen.





Reply via email to