php-install Digest 22 Feb 2003 09:53:46 -0000 Issue 1258
Topics (messages 10144 through 10148):
Re: Mac OSX PHP Install Trouble
10144 by: Russell Harding
Newbie PHP Install issue
10145 by: Charlie Deckert
Re: Use of COM object
10146 by: William Cheung
10147 by: William Cheung
Segmentation Fault during Apache Graceful Restart
10148 by: Bat Fung
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 ---
Hey There,
If you're using php with apache and mysql (which near as I can tell is
what you're doing) you don't need dev-tools, as php is shipped with MacOS
X.
Simply uncomment the "AddModule" and "LoadModule" lines for php4 in
/etc/httpd/httpd.conf
Also, uncomment the "AddType" lines for php4
In summary, you should have these lines in your httpd.conf:
LoadModule php4_module libexec/httpd/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Good Luck,
-Russell
On Fri, 21 Feb 2003, EOS Technologies wrote:
> while installing the latest version of php on my mac i cam across the
> following problem:
>
> [Jezebel:/apps/php-4.3.0] root# ./configure --with-mysql --with-apxs
> loading cache ./config.cache
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking for working sed... sed
> checking host system type... powerpc-apple-darwin6.4
> checking for gcc... no
> checking for cc... no
> configure: error: no acceptable cc found in $PATH
>
> can anyone help me out with this? tell me what it means?
>
> i am a complete begging as far as the unix side of os x is concerned so keep
> it simple please!
>
> thanks
> ian
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Greetings,
I am trying install PHP and I get all the way through the (make) but
when it comes to moving the php executable to my cgi dir, I can not find it
anywhere.
According to the docs it should get copied to the src dir. Any ideas?
My servers environment is :
FreeBSD 4.6-STABLE #13
Server API: Apache/1.3.27
I am trying to install my own instance of PHP on a Pair Networks server and
they will not assist.
Thanks for any help
Charlie
--- End Message ---
--- Begin Message ---
Use 4.3.1 solve the problem in starting up Word document but create a more
serious problem when trying to start up outlook XP. I got the following
errors
The description for Event ID ( 2000 ) in Source ( c-client ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The following
information is part of the event: c-client[1936], PHP Notice: Use of
undefined constant olMailItem - assumed 'olMailItem' in E:\Outlook.php on
line 3.
The description for Event ID ( 2000 ) in Source ( c-client ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The following
information is part of the event: c-client[1936], PHP Warning: (null)():
Invoke() failed: Type mismatch.
<b>Argument</b>: 2 in E:\Outlook.php on line 3.
The line 2 and 3 of the Outlook.php is as follow:
$objApp = new COM("Outlook.Application");
$myItem = $objApp->CreateItem(olMailItem);
This Outlook.php works totally fine in 4.2.3 version.
William
-----Original Message-----
From: William Cheung [mailto:[EMAIL PROTECTED]
Sent: February 21, 2003 11:10 AM
To: PHP Support
Subject: [PHP-INST] Use of COM object
OS: Win2K
App: Office XP
PHP: 4.2.3
I am trying to use the example in the manual to create a Word COM object.
The Word document is started but there are some warnings when the COM object
is created.
Warning: Type library value emptyenum is already defined and has a different
value in C:\MSWord.php on line 3
The same warning repeated 14 times. I looked at the source and found the
line below causes the warning
$word = new COM("word.application") or die("Unable to instantiate Word");
Could anyone tell me how I could fix the problem?
William Cheung, B.Sc. MCSE MCDBA
Databyte Corp.
--- End Message ---
--- Begin Message ---
I need to define the following constants and it works in 4.3.1 now.
define("olAppointmentItem",1);
define("olContactItem",2);
define("olDistributionListItem",7);
define("olJournalItem",4);
define("olMailItem",0);
define("olNoteItem",5);
define("olPostItem",6);
define("olTaskItem",3);
William
-----Original Message-----
From: William Cheung [mailto:[EMAIL PROTECTED]
Sent: February 21, 2003 3:29 PM
To: PHP Support
Subject: RE: [PHP-INST] Use of COM object
Use 4.3.1 solve the problem in starting up Word document but create a more
serious problem when trying to start up outlook XP. I got the following
errors
The description for Event ID ( 2000 ) in Source ( c-client ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The following
information is part of the event: c-client[1936], PHP Notice: Use of
undefined constant olMailItem - assumed 'olMailItem' in E:\Outlook.php on
line 3.
The description for Event ID ( 2000 ) in Source ( c-client ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The following
information is part of the event: c-client[1936], PHP Warning: (null)():
Invoke() failed: Type mismatch.
<b>Argument</b>: 2 in E:\Outlook.php on line 3.
The line 2 and 3 of the Outlook.php is as follow:
$objApp = new COM("Outlook.Application");
$myItem = $objApp->CreateItem(olMailItem);
This Outlook.php works totally fine in 4.2.3 version.
William
-----Original Message-----
From: William Cheung [mailto:[EMAIL PROTECTED]
Sent: February 21, 2003 11:10 AM
To: PHP Support
Subject: [PHP-INST] Use of COM object
OS: Win2K
App: Office XP
PHP: 4.2.3
I am trying to use the example in the manual to create a Word COM object.
The Word document is started but there are some warnings when the COM object
is created.
Warning: Type library value emptyenum is already defined and has a different
value in C:\MSWord.php on line 3
The same warning repeated 14 times. I looked at the source and found the
line below causes the warning
$word = new COM("word.application") or die("Unable to instantiate Word");
Could anyone tell me how I could fix the problem?
William Cheung, B.Sc. MCSE MCDBA
Databyte Corp.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hii,
I have installed PHP 4.3.1 on Apache 2.0.44 as DSO on Linux (RedHat 8.0).
Everything works fine except that when I try to do a graceful restart or a
normal restart for the Apache (via apachectl), PHP module gets a
segmentation fault. If I first stop Apache and start again (also via
apachectl), PHP is fine and has no segementation anymore.
Anyone gets some clues what could go wrong?
Thanks!
Bat
--- End Message ---