php-install Digest 25 Sep 2002 05:42:57 -0000 Issue 1038
Topics (messages 8556 through 8566):
howto compile Sablot and xslt as loadable extension
8556 by: Björn Schimpf
What next?
8557 by: DAn
8559 by: Andres L. Figari
php_value problems for virtual hosts
8558 by: Karl Phillipson
Re: [PHP-WIN] Install PHP with IIS 5/W2K
8560 by: Pascal S.
Mysql, PHP and a wrapper
8561 by: Brian.Duke.Level3.com
php4 as a static module in Apachae 2.0.39
8562 by: Timothy L. Patton
POST problems
8563 by: Aitor
8564 by: Pierre-Alain Joye
Re: Hey I am currently running an apache 1.3.26 and trying to getphp 4.2.3 as a cgi
running.
8565 by: Richard Davies
MyPHPNuke1.8.8-1 *** Nuked ***
8566 by: James Redfern
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 ---
Hi List,
i´m trying to compile xslt and sablot as a loadable extension, to load it
into my provider´s php (i´ve got the right to modify php.ini ...)
php4.1.2 on solaris
./configure --prefix=/users/www2227 --enable-shared=xslt --enable-xslt=share
d --with-xslt-sablot=shared,/users/www2227
make
make install
no errors, but where do i find the *xslt*.so? or do i still use the wrong
configure-parameters?
does anybody know a tutorial on how to compile shared php extensions under
*ix?
Thanks a lot,
Björn
--
.
----------------------------------------------------------------------------
------------------------------
Dipl. Ing. B. Schimpf; visual4;
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
I've just been through the basics of PHP with the tutorial on
webmonkey.com...
What's the next step to take in learning PHP? Are there any good tutorial
sites anyone can recommend?
Thanx
--- End Message ---
--- Begin Message ---
Try linuxguruz.org or .net (sorry forget) They have tons of good links ...
----- Original Message -----
From: "DAn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 7:20 AM
Subject: [PHP-INST] What next?
> I've just been through the basics of PHP with the tutorial on
> webmonkey.com...
>
> What's the next step to take in learning PHP? Are there any good tutorial
> sites anyone can recommend?
>
> Thanx
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Getting a syntax error whilst attempting to use:
php_value include_path "/usr/local/www/www.mydomain.com/includes"
within a VirtualHost tag.
httpd will not restart and always complains about that line, comment it out and httpd
is a happy camper
OS is Mandrake 8.2 + Apache 1.3.23 + php 4.2.2 as php module.
Have a similar config running happily on FreeBSD and Win2k
Have I missed something - anyone?
Thanks,
Karl
--- End Message ---
--- Begin Message ---
You are right on. I was trying to execute the code by dragging and dropping
the file into an IE window. Accessing it through the localhost path works
great.
Thanks so much for your help.
Pascal
"Phil Driscoll" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Tuesday 24 September 2002 5:24 am, Pascal S. wrote:
> I installed PHP 4.2.3 using the installer from PHP.net
>
> I can send the test.php file to the php.exe, and I get the right html
code.
>
> However, trying to open the same test.php in IE 6 won't produce anything.
> The window gets the right title, all html is displayed right, but nothing
> between <?php ?> is executed.
>
> I have tried to change most of the settings in Internet Information
> Services, the extension .php under configuration is also set to
> C:\PHP\php.exe, etc...
>
> What should I look at next?
Are you opening the file as c:\php\test.php or as http://localhost/test.php?
If you view source, do you see the php source code?
--
Phil Driscoll
--- End Message ---
--- Begin Message ---
I'm running apache-1.3.23-14 on a redhat 7.3 system.
I have installed the php-rpm and the php_mysql.rpm from Redhat.
installed php-4.1.2-7.3.4 and php-mysql-4.1.2-7.3.4.
Cannot connect to my mysql-3.23.49-3 database.
If I use "mysql_connect()" only, I get "Fatal error: Call to undefined
function: mysql_connect() in /var/www/html/admin.php on line 9"
elseif I put on my script "include_once(DB/mysql.php)"
I get "Fatal error: Class db_common: Cannot inherit from undefined class
pear in /usr/share/pear/DB/common.php on line 30"
endif. :)
can someone tell me how to preinclude /DB/* functions in my Zend engine so I
do not have to "include_once" in every script.
and if the php rpm needs to be installed how do I do that without breaking
the install of mysql and apache.
--- End Message ---
--- Begin Message ---
I'm trying to get php4 and Apache2.0.39 to play nicely in Solaris8a but
can't get past trying to 'configure' Apache include php as a static
module.
php4, openssl, etc have all compiled and installed OK and I've moved
libphp4.a into Apache's modules/php4 directory. The INSTALL file in php
doesn't mention Apache 2.x and the instruction it gives to use
"--activate -module=..." errors during "configure" with
"--activate-module=modules/php4/libphp4.a
configure: error: unrecognized option: \
--activate-module=modules/php4/libphp4.a
In fact, 'configure -help' doesn't even show '--activate-module' as an
option.
I've tried various combinations of the '--with-module' option but with
no success. Does anyone know the secret to Apache2.0.39 with php4 as a
static module in a unix environment?
Thanks.
--
Tim Patton
College of Engineering
UNC-Charlotte, Charlotte, N.C. 28223
http://www.coe.uncc.edu/mosaic
--- End Message ---
--- Begin Message ---
Hi to all. I have installled Xitami v2.4d9 and PHP 4.2.3 on Windows98se. Everything
looks ok.
I have just started to learn PHP and I did a little program just to test the server.
There are to webs:
INDEX.PHP
<HTML>
<HEAD>
<TITLE>Index.php</TITLE>
</HEAD>
<BODY>
<a href="resultado.php?saludo=hola&texto=Esto es una variable texto">Paso variables
saludo y texto a la página destino.php</a>
</BODY>
</HTML>
RESULTADO.PHP
<HTML>
<HEAD>
<TITLE>resultado.php</TITLE>
</HEAD>
<BODY>
<?
echo "Variable \$saludo: $saludo <br>\n";
echo "Variable \$texto: $texto <br>\n"
?>
</BODY>
</HTML>
But I get this error:
Notice: Undefined variable: saludo in D:\XITAMI\webpages\test\resultado.php on line 7
Variable $saludo:
Notice: Undefined variable: texto in D:\XITAMI\webpages\test\resultado.php on line 8
Variable $texto:
I have try differents forms but I always get the some error, "Undefined variable".
Why the fisrt web doesn't pass the variables to the second one?
In my php.ini I have:
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
; most web servers. Left undefined, PHP turns this on by default. You can
; turn it off here AT YOUR OWN RISK
; **You CAN safely turn this off for IIS, in fact, you MUST.**
cgi.force_redirect = 0
; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
; will look for to know it is OK to continue execution. Setting this variable MAY
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
; cgi.redirect_status_env = ;
I have not write any "environment variable" because I don't know what is that!! I have
look for help reading all the install notes! Is this the cause of my problem, I think
so but I don't know how to solve this.
Thanks to everyone that has read this!!
>From the Canary Islands (Spain), Aitor. :)
--- End Message ---
--- Begin Message ---
On Tue, 24 Sep 2002 22:33:43 +0100
"Aitor" <[EMAIL PROTECTED]> wrote:
> I have not write any "environment variable" because I don't know what is that!! I
>have look for help reading all the install notes! Is this the cause of my problem, I
>think so but I don't know how to solve this.
>
> Thanks to everyone that has read this!!
;)
thx to you to read this : ;-)
http://fr2.php.net/manual/en/language.variables.predefined.php
pa
--- End Message ---
--- Begin Message ---
Yeap shore have many times :/ running the php.exe -i seems to work ok too so guess
that means it's not the php.ini setting yes? Well any help is great I really don't
want to go IIS.
>>> "Peter Houchin" <[EMAIL PROTECTED]> 09/24 3:53 >>>
may sound silly but have you stoped and restarted apache?
> -----Original Message-----
> From: Richard Davies [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 24 September 2002 12:48 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Hey I am currently running an apache 1.3.26 and
> trying to getphp 4.2.3 as a cgi running.
>
>
> Hey I am currently running an apache 1.3.26 and trying to get php
> 4.2.3 as a cgi running.
>
> When I try to access a php script file via my browser, I get a
> blank screen if I use body and html tabs or I can just see the
> code when without.
>
> Anyways it seems to point to my apache conf as being the problem
> but I can't see anything wrong :(
>
> ScriptAlias /php4/ "c:/php4/"
> AddType application/x-httpd-php .php
> Action application/x-httpd-php /php4/php.exe
>
> Are the any issuses with nt4 or any advise on what I can try next?
>
> Thanks heaps,
> Richard
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I used Update System on my E-smith server to install
dmc-mitel-myphpnuke-1.8.8.-1.noarch.rpm without errors. Looked good
but I thought I'd change the theme, so after having read the manual
for 30 minutes, logged in as "God" and selected a yellow one. It
started to load and then stopped with just a header. And that's as
far as I got.
Now I have no access to the interface or admin as there are no working
links on the page. No amount of clicking, refreshing or swearing at
it seems to work.
Any ideas?
I even tried to uninstall it but RPM reports an error and says it
isn't installed.
It seems I'm damned if I do and damned if I don't!
JR.
--
James Redfern [The Redfern Organization]
PGP Auto-responder <mailto:[EMAIL PROTECTED]?subject=0xCB81E8E8>
Fingerprint: 6809 FE89 4CEF E76F C6DF 04BF 46DC 58B9 CB81 E8E8
...You always suppress momentary anger at something you deeply and permanently
hate"--Robert M. Persig
--- End Message ---