php-install Digest 14 Jul 2001 22:29:06 -0000 Issue 362

Topics (messages 3544 through 3552):

Access Violation : W2K, PHP4.0.0
        3544 by: Josh Lehman
        3545 by: Phil Driscoll

Re: Oracle 8.1.6, Solaris and PHP
        3546 by: Benjamin Heckmann

Re: Debian Install
        3547 by: Steven Bergstedt

Re: Apache 2.0, APXS & PHP 2.0.6
        3548 by: James Tan

Why no one answers this?
        3549 by: Panos Katergiathis
        3550 by: James Tan

Re: PHP 4.0.5 install problems
        3551 by: James Tan

RPM Install #6 still doesn't work - x-post from PHP.GENERAL
        3552 by: Gaylen Fraley

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]


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


I've installed PHP as an ISAPI filter using php4isapi.dll on IIS 5.0
At first it appeared to run fine (I could echo basic stuff out to a page),
but when I attempted to get the date, using the date() function I got "PHP
Access Violation at...". After that point I could not get any PHP code to
execute (even the simple echo statements) and my IIS Admin service locked
up. I had to go all the way back and kill the System Application to get it
to restart. My main question is whether or not this would be a problem with
my configuration/installation or possibly some sort of permissions error.
Any help would be greatly appreciated...

Thanks
Josh Lehman






On Saturday 14 July 2001 08:55, Josh Lehman wrote:
> I've installed PHP as an ISAPI filter using php4isapi.dll on IIS 5.0
> At first it appeared to run fine (I could echo basic stuff out to a page),
> but when I attempted to get the date, using the date() function I got "PHP
> Access Violation at...". After that point I could not get any PHP code to
> execute (even the simple echo statements) and my IIS Admin service locked
> up. I had to go all the way back and kill the System Application to get it
> to restart. My main question is whether or not this would be a problem with
> my configuration/installation or possibly some sort of permissions error.
> Any help would be greatly appreciated...


It's a problem with the stability of the PHP Isapi module. I'm sure its 
better now (4.0.6) than it was in your 4.0.0 version but it's still not good.
Upgrade to 4.0.6 anyway, but use the cgi version and you'll have no trouble.

Cheers
-- 
Phil Driscoll




> Hi,
> I\'m relatively new to PHP and I want to use it in conjunction with Oracle
> (well if you\'ve got one, why not use it? :).  I initially have placed it
on
> my app server which has a full Oracle client implementation.  However when
I

Make sure what you mean by "full". If your oracle client installation was
full,
php won't complain at compile time that some libraries are missing?!

You can install a oracle client with many differen options. Make sure at
least
those are installed: NET 8, OCI, C, SQLPlus, Installation

Not all of those are really needed, but they may be helpfull in the future.

> run the make after the configure (with oci8 of course) it starts muttering
> about header files that are only available on the server.  I\'m worried
that:
> a) I can only build the php on an Oracle server not client.
> b) Even if I do build it on a server and migrate it to a client (which
I\'m
> not sure how to do) will the remote Oracle connections be OK?

to case b): It won't be OK to do so. PHP needs always a working oracle
client
to be installed on the system php is running.

>
> Does anyone have any help or advice on this?
>
> Thanks in advance.
> Robert.

Benjamin





Sarah Fish wrote in <[EMAIL PROTECTED]>:

> <? phpinfo(); ?>
> 
> and it displays as text.
If you're running apache webserver try to add following to your httpd.conf:

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

and 

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

That should do it.

-- 
/* Best regards   
  Steven Bergstedt
      "Imagination is more important than knowledge."
            by AE */




hiee,,

i've recently went into php configure file and found an option that could
coonfigure with apache 2.0 apxs...
simply
--with-apxs2=/pathtoapache/bin/apxs

i think it could help :)

regards,

James


"Tim Stoop" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi people,
>
> When I compile PHP, I get the following error:
> +--------------------------------------------------------------------+
> | WARNING: Your /usr/local/apache/bin/apxs script is most likely broken.
> |                                                                    |
> | Please go read http://www.php.net/FAQ.php#6.11 and make the        |
> | changes described there and try again.                             |
> +--------------------------------------------------------------------+
> I looked at that page, but I can't find the variables that are mentioned
> there. Could this have anything to do with me using Apache 2.0 Beta?
> Does anyone have a fix for this?
>
> Kind regards,
> Tim Stoop
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>






Hello

I am new to installing PHP, yet i am a guy who likes to read. Despite 5 books, no one 
explains to me this:

Suppose i have installed Apache and PHP duting the standard installation of a Linux 
distribution (Suse, Redhat...). What do i do if i want to upgrade to a newer PHP 
version when it becomes available?

Please assist.

Panos




hi,

it depends on how u install it..
if u install it with rpm, u could use the rpm features to upgrade ur installation of 
php....

if u install it from source,
u could simply replace the older version by simply configure and install the latest 
version...
once u are done with it, simply restart your apache webserver...

hope it helps,

regards,

James

Panos Katergiathis wrote:

> Hello
>
> I am new to installing PHP, yet i am a guy who likes to read. Despite 5 books, no 
>one explains to me this:
>
> Suppose i have installed Apache and PHP duting the standard installation of a Linux 
>distribution (Suse, Redhat...). What do i do if i want to upgrade to a newer PHP 
>version when it becomes available?
>
> Please assist.
>
> Panos





hi,

did u have flex properly installed on your system???

regards,

James

Asaf Maruf wrote:

> Dear All
> I have been running and developing in LAMP environment for nearly six
> months now.
> Recently my server crashed and i have setup a new server.
>
> It is Linux-Mandrake, Apache 1.3.20, MySQL 3.23.39 and PHP 4.0.5
>
> Everything is in place and i am now trying to install php as a dynamic
> module.
>
> mod_so.c is available using httpd -l
>
> I give php-4.0.5$ ./configure --with-mysql --with-apxs
>
> and it gives a very strange error
>
> "
> Looking for Flex .......found lex
>
> Error could not write output to lex or something."
>
> I for the life of me cannot understand this error
>
> I am grateful for any help.
>
> Asaf Maruf
> IT Consultant





Ok.  I've been in this industry for 32 years.  I've loved O/S2, hated windoz
and been intrigued with *nix.  So, I have a successful web site and server
under windoz/php/mysql and I decide to venture into RedHat Linux because I
have heard some great things about it.

I get 7.0 and install it, virgin.  Apache and PHP work, but I was never able
to get MySQL working, except from a command line.  So, after abut 17 hours
of frustration, I get 7.1 .  Apache is the only thing that works.  I was
able to get PHP working when I did an install from scratch (tarball).  But,
it seems as if the RPM should work.  I still could not get MySQL working
working.  It consistently gives an error 2002 / socket problem.

Right now I have a virgin Apache and PHP4 and MySwl install from the RPM
(7.1) and php will not work.  As far as I can tell, I have modified my
httpd.config in all the right places.  Please, could someone who has a
working install from the 7.1 RPM package, please post their httpd.conf lines
that pertain to getting php to work?  Also, if their is a library that I
need to move around, please advise that too.

Thanks.  The MySQL problem would be a nice caveat if someone knows how to
fix that too :)

Regards,

--
Gaylen
[EMAIL PROTECTED]






Reply via email to