php-install Digest 22 Aug 2001 04:32:21 -0000 Issue 425

Topics (messages 4047 through 4056):

Suse 7.2 + Apache + PHP
        4047 by: Adam Oliver
        4055 by: Paulo Assis

Install Problems
        4048 by: Ben Davis
        4049 by: Julie Meloni

php,mysql and ihtml language
        4050 by: Cedric Zeline

Re: Installing on a cobalt Raq 3
        4051 by: Steve Broski

Help - Raq3 install. 4.0.6 fails, need to install 4.0.5
        4052 by: Steve Broski

PHP3 y PHP4 extensions
        4053 by: Hanso
        4054 by: Paulo Assis

Re: [PHP] php 4.0.6 and imap support
        4056 by: Lic. Rodolfo Gonzalez Gonzalez

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 installed the rpms for php but it still does not work.  The browser
prompts me whether I want to open or save a php file.  I then compiled and
installed from the source.  Same problem.  The sections loading the
libphp4.so module and mod_php4.c are there.  As is the section that
associates .php and .php4 extensions.  Any ideas as to what the problem
might be?


----------------------------------------------------
Adam D. Oliver
Independent Consultant
http://www.meyedev.com/people/aoliver.html
[EMAIL PROTECTED]








SuSE sends some parameters when running the apache web server, these
parameters are taken from the SuSEconfig, and are checked at the httpd.conf
when apache is starting.
If you are using the apache that comes with suse, edit httpd.conf and remove
these checks.

Paulo Assis

"Adam Oliver" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I installed the rpms for php but it still does not work.  The browser
> prompts me whether I want to open or save a php file.  I then compiled and
> installed from the source.  Same problem.  The sections loading the
> libphp4.so module and mod_php4.c are there.  As is the section that
> associates .php and .php4 extensions.  Any ideas as to what the problem
> might be?
>
>
> ----------------------------------------------------
> Adam D. Oliver
> Independent Consultant
> http://www.meyedev.com/people/aoliver.html
> [EMAIL PROTECTED]
>
>
>
>






I am running Windows 98 with Apache version 1.3.20 for Win32 systems and I
am installing PHP version 4.0.6 using the binary intaller.  I have install
them into their directories, moved the php.ini file to c:\windows and then
made the change to extensions_dir.  Furthermore, here is what I added to the
httpd.conf file:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
That was added at the bottom of the httpd.conf file.
Then I ran the php.exe -i command and it ran correctly and sent out html.
but when I try and access a script that I made, it doesnt parse the script,
it leaves the php source.  My guess is that apache is not sending the .php
files to the php.exe file, and therefor is not getting parsed, but I cannot
figure out why.  Any suggestionts??

-Ben

____________________________
Ben Davis
Digital Dog, Inc.
(615) 777-1938
[EMAIL PROTECTED]





BD> ScriptAlias /php/ "c:/php/"
BD> AddType application/x-httpd-php .php
BD> Action application/x-httpd-php "/php/php.exe"
BD> That was added at the bottom of the httpd.conf file.
BD> Then I ran the php.exe -i command and it ran correctly and sent out html.
BD> but when I try and access a script that I made, it doesnt parse the script,
BD> it leaves the php source.  My guess is that apache is not sending the .php
BD> files to the php.exe file, and therefor is not getting parsed, but I cannot
BD> figure out why.  Any suggestionts??

First get rid of the "" around the action; that sometimes causes
problems.

Next, look for a hidden file extension of txt on the end of your
script file name.

Finally, verify that you restarted httpd after making changes to
httpd.conf.



           Julie Meloni 
        [EMAIL PROTECTED]
"PHP Essentials" & "PHP Fast & Easy"
     --- www.thickbook.com ---





Hi all!

I've just installed the php module 4.0.5 on a raq.
This raq was already running "ihtml" and  mysql successfully.
After installing the php module any request to the database using ihtml
doesn't work.
if I don't loadmodules php4 in my http.conf then ihtml works again.

Does anyone can know where does it come from?

Cedric





> I succeded compiling it from sources in a cobal raq 3, but canot make
> work.... the httpd goes down because y get this error when i restart it
>
> Setting up Web Service: Syntax error on line 33 of
> /etc/httpd/conf/httpd.conf:
> Cannot load /usr/lib/apache/libphp4.so into server: libmysqlclient.so.10:
> cannot open shared object file: No such file or directory
> /usr/sbin/httpd
>
>
> Can you helpme please???
> I checked the the files where in the correct places and they where... i
> dont know where the problem is

4.0.6 won't work on Raq3s due to a problem with the Apache version it uses.
See:

http://www.phpbuilder.com/forum/read.php3?num=3&id=106614&thread=105813

You have to use 4.0.5 until Cobalt makes a patch to upgrade their Apache
version.






I tried to install PHP4.06 on a Cobalt Raq3 and had no shortage of problems.
Turns out its an Apache problem with the Raq3's, as per:

http://www.phpbuilder.com/forum/read.php3?num=3&id=106614&thread=105813

So I have to install 4.05 instead, which is fine.  Problem is I've already
run configure, make, make install with 4.06, which appeared to do an awful
lot to the system with pages of scrolling installation notes, and I'm not
sure how to start over with 4.05.  Do I just delete the file structure I
unzipped the 4.06 distribution to and start fresh?  Does a failed install
leave files elsewhere I need to worry about?

Thanks in advance from someone that knows much more about Windows than
linux.

[EMAIL PROTECTED]
(remove asdf if you wish to email)








I installed PHP 4.0.5 in a cobalt raq 3 server and works. I have this
question: i creatd a MIME type so php accepts .php pages. If i create a new
MIME  type for .php3 pages do i have to  install something (some  extra
module or something) else or the PHP 4.0.5 already installed will handle the
.php3 pages? Is it clear what im asking?






You can setup php so it handle both .php and .php3 using php405 without any
problems.

Paulo Assis

"Hanso" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I installed PHP 4.0.5 in a cobalt raq 3 server and works. I have this
> question: i creatd a MIME type so php accepts .php pages. If i create a
new
> MIME  type for .php3 pages do i have to  install something (some  extra
> module or something) else or the PHP 4.0.5 already installed will handle
the
> php3 pages? Is it clear what im asking?
>
>






On Mon, 13 Aug 2001, Jason Rennie wrote:

> > have build and installed the imap-2000-9 rpm's (including devel), php will
> build correctly but complains about an undefined symbol mxdriver.

I'm having the same problem. I even used the latest IMAP snapshot from UW
and the same problem again, undefined symbol mxdriver :(

Anyone have been able to make this run?. I haven't had problems with
--with-imap before in a RH 6.2 box, but now in RH 7.1 with php-4.0.6 and
the lates imap snapshot this situation seems the most common (just look
for mxdriver with Google): you build the libphp4.so ok, it installs ok,
then you restart apache and wow! it doesn't know the mxdriver.

Any help will be REALLY appreciated.

-- 
Lic. Rodolfo Gonzalez Gonzalez.
Global Networks Technologies S.A. de C.V.



Reply via email to