php-windows Digest 13 Aug 2003 00:02:17 -0000 Issue 1867
Topics (messages 21124 through 21130):
installation problem in win98 system
21124 by: Muhammad Imran
21127 by: Alejandro C. Garrammone
21130 by: Dean Hayes
PHP COM error
21125 by: Herhuth, Ron
PHP Oci8 segmentation fault
21126 by: Radovan Radic
Re: Can anyone suggest a user authentication script that works?
21128 by: Shadow
RegExing
21129 by: Herhuth, Ron
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 ---
Dear Professional,
I have try to install Apache 1.3.22 and PHP 4.3.2 on my win98 system. First I have
edit the "php.ini" file as
doc_root ="c:\phpweb" //my folder where .php files will be placed.
extension_dir = "c:\php4win" // php4win is my folder, where i have install my php
and copy these two files in c:\windows directory.
In Apache conf.httpd file I have make changes as
DocumentRoot "C:/phpweb".
But despite of all these changes, when I excess any my php files, php file not
complile and code looks as they typed. Please help me, I will very thankful.
Thank you,
Imran
--- End Message ---
--- Begin Message ---
Hi Muhammad....well...when you start Apache...they must said that Apache and
PHP are working.
Second, do you install the php as a service of apache??. You must do that in
order to achieve full functionality and coordiantion between Apache and PHP.
If you have any answers, email me.
Best regards,
Alex
----- Original Message -----
From: "Muhammad Imran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 11, 2003 9:21 PM
Subject: [PHP-WIN] installation problem in win98 system
Dear Professional,
I have try to install Apache 1.3.22 and PHP 4.3.2 on my win98 system.
First I have edit the "php.ini" file as
doc_root ="c:\phpweb" //my folder where .php files will be
placed.
extension_dir = "c:\php4win" // php4win is my folder, where i have
install my php
and copy these two files in c:\windows directory.
In Apache conf.httpd file I have make changes as
DocumentRoot "C:/phpweb".
But despite of all these changes, when I excess any my php files, php
file not complile and code looks as they typed. Please help me, I will
very thankful.
Thank you,
Imran
--- End Message ---
--- Begin Message ---
You need to add the following lines to the apache httpd file make sure you
have set the dir that you have php in and not just add what is here.. also i
noticed under Win98 SE i needed to add the 2 files into the system and
system32 folder for php to work with out crashing my system you might want
to try this as well.....
to run as a module in apache
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
or to run as cgi use
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
Before installing as CGI read the docs on
http://www.cert.org/advisories/CA-1996-11.html
your best bet is it install as a module it is the way most people use php
Dean "The Insane Guy" Hayes
Mystical Web Designs
http://www.mystical-sector.com
<-- I design and i redesign but still i never designed true beauty like you
-->
From: "Muhammad Imran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: [PHP-WIN] installation problem in win98 system
Date: Tue, 12 Aug 2003 05:21:29 +0500
Dear Professional,
I have try to install Apache 1.3.22 and PHP 4.3.2 on my win98 system. First
I have edit the "php.ini" file as
doc_root ="c:\phpweb" //my folder where .php files will be placed.
extension_dir = "c:\php4win" // php4win is my folder, where i have
install my php
and copy these two files in c:\windows directory.
In Apache conf.httpd file I have make changes as
DocumentRoot "C:/phpweb".
But despite of all these changes, when I excess any my php files, php file
not complile and code looks as they typed. Please help me, I will very
thankful.
Thank you,
Imran
_________________________________________________________________
ninemsn Extra Storage is now available. No account expiration - no need to
worry about losing your Hotmail account. Click here http://join.msn.com/
--- End Message ---
--- Begin Message ---
I am working on a simple COM script using PHP. I found a tutorial and I'm
simply trying to initiate a MS Word instance but I am getting this rather
interesting error:
-- CODE
$word = new COM("word.application") or die("Unable to instantiate Word");
-- ERROR
Warning: Invalid ProgID, GUID string, or Moniker: Invalid syntax in
D:\public\WordIndex\wordIndex2.php on line 12
Unable to instantiate Word
Can anyone shed some light on what might be the problem?
Thanks,
Ron
--- End Message ---
--- Begin Message ---
Hello
I tried with this question on php.db but still no answer and it is pretty
urgent, maybe it can go on php.install as well.
I have php 4.3.2 installed as apache 2.0.45 module on RH Linux (7.3) with
oci8 support.
Things work fine when php scripts are accessed via web, but when i try to
start them from command line using
/usr/local/php4.3.2/bin/php test.php i get an error
Segmentation fault.
test.php has only 4-5 lines, for connecting to oracle, and printing data
from one table, using same class as pages on the web.
Anyone can help?
Thanks,
Radovan
--- End Message ---
--- Begin Message ---
http://www.hotscripts.com/
--
Shadow
www.shadowsnetwork.com
--- End Message ---
--- Begin Message ---
I'm new to Reg Exing and I'm in a bind trying to learn it quickly enough
to finish a component I'm working on.
Basically I have converted a Word Doc to a text string, now I want to
remove all "noise" words which I'm storing in an array. In addition, I
want to remove all duplicates in the array so I only have one occurance of
the "keywords." I will then store these in SQL Server to be searched on.
Can someone point me to some help on how to use RegEx to perform the
aformentioned tasks? I checked out the manual but I didn't find anything
on how to do what i was looking to do.
Thanks in advance,
Ron
--- End Message ---