php-install Digest 1 Nov 2002 08:02:03 -0000 Issue 1098
Topics (messages 8992 through 9001):
Re: n00b - PHP on IIS 5 - Not Allowing File Writes Though All Permissions Seem Correct
8992 by: David Kaplowitz
interbase problem
8993 by: Jaime Garcia
image insert into MSSQL database how to
8994 by: Yunier Saborit
redhat8 php4.3.0pre2 apxs problem
8995 by: Gareth Thomas
8996 by: Rasmus Lerdorf
8997 by: Pierre-Alain Joye
8998 by: Gareth Thomas
9001 by: Michael Schmidt
Re: Apache 2.0.40/PHP 4.2.2 Win2000 Help
8999 by: Brett Curtiss
php on xp
9000 by: -=Antibiotic789=-
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 ---
"Simple answer... it is just a warning"
Correct! That's exactly what was happening in the case of
the PHP Nuke install. Changing the parameter in my PHP.INI
file to the one in your example turned that off.
"register_globals is off?"
Yes, it was off. That fixed the input not being posted to
the results page issue.
Thank you both for the quick and knowledgeable replies!
Regards,
Dave
http://www.kaplowitz.net
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
--- End Message ---
--- Begin Message ---
Howdy!
OS:freebsd 4.7
php-version:4.2.3
apache 1.3.26
Interbase 4.0
first i compile php ./configure --with-apache --with-interbase=/usr/interbase --
with-mysql support (/usr/interbase is my current interbase install location)
and all goes fine but when i try to compile apache an error stop compilation,
here is what it happens:
$make
in.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -
R/usr/interbase/include/lib -rdynamic -L/usr/interbase/include/lib -
Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lgds -
lz -lcrypt -lm -lcrypt -lcrypt
modules/php4/libphp4.a(interbase.o): In function `_php_ibase_error':
/usr/local/php-4.2.3/ext/interbase/interbase.c:295: undefined reference to
`isc_interprete'
modules/php4/libphp4.a(interbase.o): In function `_php_ibase_commit_link':
/usr/local/php-4.2.3/ext/interbase/interbase.c(.text+0x26a): undefined
reference to `isc_commit_transaction'
*** Error code 1
Stop in /usr/local/apache_1.3.26/src.
*** Error code 1
Stop in /usr/local/apache_1.3.26.
*** Error code 1
Stop in /usr/local/apache_1.3.26.
any suggestions are welcome, thank you for your patience
sincerely:
Jaime Garcia
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
--- End Message ---
--- Begin Message ---
hello people:
y have a problem when i try to insert an image into a MS SQL SERVER database, i
capture the image from POST method , ¿how can i do this?¿how can i construc a sql
query for do this?
sorry my english... i speak spanish...
please help me.... yony
--- End Message ---
--- Begin Message ---
I am a Linux newbie, so any help will be appreciated. I am upgrading the
version of PHP to the latest and greatest (4.3.0pre2), I have removed the
version that came with RH8 (4.2.3?) using the RH unistall, then I followed
the install instructions that came with PHP, httpd -l looked fine so I ran
configure as follows:
./configure --with-mysql --with-apxs
I then get an error saying that it cant find APXS. I have searched and the
only file I can find with that name is an HTML document. Some research I did
seemed to indicate this comes with Apache development which I have tried
locating unsuccessfully.
Where do I find APXS?
Thanks in advance for any help.
Gareth
--- End Message ---
--- Begin Message ---
Just install the apache-devel rpm. But, while you are at it, get rid of
Apache2 and install the Apache 1.3 apache and apache-devel rpms and
everything will be fine.
Everything can of course be found on rpmfind.net
-Rasmus
On Thu, 31 Oct 2002, Gareth Thomas wrote:
> I am a Linux newbie, so any help will be appreciated. I am upgrading the
> version of PHP to the latest and greatest (4.3.0pre2), I have removed the
> version that came with RH8 (4.2.3?) using the RH unistall, then I followed
> the install instructions that came with PHP, httpd -l looked fine so I ran
> configure as follows:
>
> ./configure --with-mysql --with-apxs
>
> I then get an error saying that it cant find APXS. I have searched and the
> only file I can find with that name is an HTML document. Some research I did
> seemed to indicate this comes with Apache development which I have tried
> locating unsuccessfully.
>
> Where do I find APXS?
>
> Thanks in advance for any help.
>
> Gareth
>
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
> Where do I find APXS?
remove all apache and php rpms (rpm -e apache).
Downgrade to apache 1.3.xx
then compile php against apache 1.3.xx
hth
pa
--- End Message ---
--- Begin Message ---
Rasmus,
thanks for the speedy help! However I now have 2 new problems. RH 8 gave me
an error removing Apache (although it did seem to do it) and when I try and
run the RPM for Apache 1.3.23-11 I get a dependancy error looking for
libmm.so.11. I can only find this for Redhat 7.2 should I install this?
G.
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
news:Pine.LNX.4.44.0210311429520.14773-100000@;www.lerdorf.com...
> Just install the apache-devel rpm. But, while you are at it, get rid of
> Apache2 and install the Apache 1.3 apache and apache-devel rpms and
> everything will be fine.
>
> Everything can of course be found on rpmfind.net
>
> -Rasmus
>
> On Thu, 31 Oct 2002, Gareth Thomas wrote:
>
> > I am a Linux newbie, so any help will be appreciated. I am upgrading the
> > version of PHP to the latest and greatest (4.3.0pre2), I have removed
the
> > version that came with RH8 (4.2.3?) using the RH unistall, then I
followed
> > the install instructions that came with PHP, httpd -l looked fine so I
ran
> > configure as follows:
> >
> > ./configure --with-mysql --with-apxs
> >
> > I then get an error saying that it cant find APXS. I have searched and
the
> > only file I can find with that name is an HTML document. Some research I
did
> > seemed to indicate this comes with Apache development which I have tried
> > locating unsuccessfully.
> >
> > Where do I find APXS?
> >
> > Thanks in advance for any help.
> >
> > Gareth
> >
> >
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
--- End Message ---
--- Begin Message ---
i'm not quite sure, but rh8 should be using apache2 so you have to
use --with-apxs2 anyway... perhaps this helps you
--- End Message ---
--- Begin Message ---
Did you add the entries to httpd.conf exactly as you typed in your message?
If so, they are incorrect.
You MUST use LoadModule BEFORE you use AddModule, so what you typed would be
incorrect:
-->AddModule mod_php4.c
-->LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
It should be:
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddModule mod_php4.c
AddType application/x-httpd-php .php .phtml
(You can put more than one extension on the same line)
Also, you are using Apache2 support for PHP which is buggy at best, I would
recommend using 1.3.27. In which case you would not use php4apache2.dll but
php4apache. Hope that helps.
"Weng Pangan" <[EMAIL PROTECTED]> wrote in message
news:000c01c24fc0$15202ae0$fe83a8c0@;filpacific.com...
> Help!
>
> I'm new to PHP/Apache/MySQL.
>
> I've tried everything and can't seem to get it done.
>
> done the following:
>
> 1.copied php4ts.dll to C:\WINNT\System32 and php.ini to C:\WINNT
>
> 2. Added to following to httpd.conf
> ScriptAlias /php/ "c:/php"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .phtml
> Action application/x-httpd-php "/php/php.exe"
>
> 3. create phpinfo.php in htdocs directory with the following script:
>
> <?php phpinfo(); ?>
>
> if i try to browse (IE6) an oridnary html file (http://localhost/test.htm)
> the page displays correctly.
> but when i try http://localhost/phpinfo.php i get a "The page cannot be
> found" error. If i re-install
> everything, i see
>
> <?php phpinfo(); ?>
>
> in my browser instead of the output of phpinfo().
>
>
> i tried adding the ff: to the httpd.conf file
>
> AddModule mod_php4.c
> LoadModule php4_module "c:/php/sapi/php4apache2.dll"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .phtml
>
> but Apache wont start.
>
> do i need to associate .php files to php.exe or to IE?
>
> what other things do i need to do? i would prefer running php in server
> mode as
> recommend by the PHP Help File.
>
> Thanks and more power!
>
> Weng Pangan
>
--- End Message ---
--- Begin Message ---
I want to install php on my computer
You will say: Oh, that's great.
But, ther is a problem... :-(
I don't know what, so I will write the steps I follow:
Tell me if something is wrong...
PS: My computer: Win XP, C: on FAT32, and D,E,F,G,...- NTFS
PHP install
1) Unzip to c:\php\
2) Copy php4ts.dll, and c:\php\dlls\*.dll, in c:\windows\system32
3) copy php.ini-dis -> c:\windows\php.ini
4) edit php.ini
extension_dir = "C:\php\extensions"
doc_root = "c:\webroot"
IIS 5.1 config
1) Administrative tools -> Internet Information Services
2) Right-Click on "Web Sites" => Properties
3) Home Directory -> Configuration -> Application Mappings -> Add
4) In "Add/Edit Application Extension Mapping"
executable: C:\php\php.exe %s %s'
extension: php
verbs: All verbs
Script Engine: chk
BUT OK BUTTON IS INACTIVE ...
If somebody can help me..
Merci mult (Thank's a lot)
--- End Message ---