php-install Digest 6 Aug 2001 08:48:54 -0000 Issue 398
Topics (messages 3846 through 3852):
using PHP, PWS WIN98: HTTP error 403 running PHP-scripts
3846 by: Chris Stegeman
3851 by: Phil Driscoll
Red Hat 7.0 and can't find apxs
3847 by: Harold Hallikainen
3848 by: Rasmus Lerdorf
Re: PHP 4.0.6 freeBSD mysql apache2
3849 by: lasse ohgren
Additional Install of PHP question
3850 by: Joel Ricker
Re: Imlib2 issues
3852 by: Mika Tuupola
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]
----------------------------------------------------------------------
Hello there,
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.
You also have to configure PWS - the manual or the install.txt file tell you
what to do.
--
Phil Driscoll
I did a standard server install (via ftp) of Red Hat 7.0. I got
Apache running and am now trying to install PHP4 . The install line
./configure --with-mysql --with-apxs
fails, apparently because it can't find apxs (and neither can I). Where
can I get apxs and where should I put it? Should I do a reinstall of
Apache (probably messing up everything I already have going), or can I
just add apxs?
Thanks!
Harold
> I did a standard server install (via ftp) of Red Hat 7.0. I got
> Apache running and am now trying to install PHP4 . The install line
>
> ./configure --with-mysql --with-apxs
>
> fails, apparently because it can't find apxs (and neither can I). Where
> can I get apxs and where should I put it? Should I do a reinstall of
> Apache (probably messing up everything I already have going), or can I
> just add apxs?
Install the apache-devel rpm
-Rasmus
d/l:ed latest binarys of apache and php.
compiled apache with
./configure --enanable-module=so
make
make install
then php with
./configure --with-apxs=/path/to/apxs --with-mysql
make
make install
then edited httpd.conf
added the php4 lines;
LoadModule php4_module /path/to/libphp4.so
AddType application/x-httpd-php .php
restarted httpd with apachectl restart.
voila.
(i have not tested connecting to mysql yet... hoping...)
"Lasse Ohgren" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[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'm currently hosted on a shared web server running Linux & Apache. Right now the
version of PHP is 3.0.12. I requested from the webmaster to do an upgrade to PHP4 but
his concern with upgrading is the problems that may occur and disruption of service,
upsetting his other clients.
I can see his point but would really like to have PHP4. Its possible that he would
provide me with help in creating my own install and I also have SSH access to do work
with so my question is, Can I set up my own install of PHP4 to be used on my site and
how do I go about doing it or what should I tell him about setting it up?
Thanks
Joel
On Thu, 2 Aug 2001, Greg Donald wrote:
> /usr/bin/ld: cannot find -l--library=crypt
> collect2: ld returned 1 exit status
> make[1]: *** [libphp4.la] Error 1
> make[1]: Leaving directory `/usr/src/php-4.0.6'
> make: *** [all-recursive] Error 1
> /usr/bin/ld: cannot find -l--library=crypt
There is a typo somewhere. I had same kind of the problem
which was fixed by manually finding the lone "-l" from configure
script and removing it. After that it compiles nicely.
#diff configure configure.org
23235c23235
< LIBS=" $LIBS"
---
> LIBS="-l $LIBS"
I think the typo comes there from buildconf. Didn't dig any
deeper though.
--
Mika Tuupola http://www.appelsiini.net/~tuupola/