php-install Digest 19 May 2002 03:37:58 -0000 Issue 842

Topics (messages 7024 through 7031):

Re: can't open .php file from command line
        7024 by: MAX SALVIEJO

php 4.2.1 on apache 2.0.36 (winXPprof)
        7025 by: rico
        7028 by: Carsten Gehling

installing php under linux
        7026 by: Erik
        7027 by: Austin Gonyou

Problem with Web server...
        7029 by: Robert Bisom
        7030 by: rico

PHP 4.2.1 install problem
        7031 by: Defryn NZ

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 ---
C:xitami/webpages/phpinfo.php can not be opened.

Try "\" instead of "/"



[  Max Salviejo Jr. ]
[  [EMAIL PROTECTED] ]
[  The Plain Dealer Publishing Co. ]
[  216.999.6165  ]
[  www.plaindealer.com ]

~~~~  ~~~~

>>> Bill Brookmeyer <[EMAIL PROTECTED]> 05/18/02 11:38AM >>>
I just installed Xitami server on my XP system.

Also installed php-4.2.1-installer.exe

Tried to execute my phpinfo() script named phpinfo.php  from both the command line and 
the browser.

~~~~~~~~~~~~~~~~~~~~~~~~~~
<html>
<head>
        <title>phpinfo</title>
</head>

<body>
<?PHP
phpinfo();
?>
</body>
</html>
~~~~~~~~~~~~~~~~~~~~~~~~~~~
error message:  Which displays in a "Microsoft Picture It! Photo" window

C:xitami/webpages/phpinfo.php can not be opened.


I am brand new at this stuff.  Can you help me get set up?

Thanks.

Bill



--- End Message ---
--- Begin Message ---

I installed php 4.2.1 on my apache (v2.0.3.6) webserver by following the
instructions included in the zip package for the sapi module installation..

i added the lines
   LoadModule php4_module d:/programme/php/sapi/php4apache.dll
   AddModule mod_php4.c
   AddType application/x-httpd-php .php
like discribed but now i can't start my apache webserver anymore

the error message i get is "The requested operation has failed!"

I am brand new at this..can you help me to get the problem solved?

thank you in advance

rico
--- End Message ---
--- Begin Message ---
> Fra: rico [mailto:[EMAIL PROTECTED]]
> Sendt: 18. maj 2002 17:08
> Emne: [PHP-INST] php 4.2.1 on apache 2.0.36 (winXPprof)

> I installed php 4.2.1 on my apache (v2.0.3.6) webserver by following the
> instructions included in the zip package for the sapi module
> installation..

<snip>

> I am brand new at this..can you help me to get the problem solved?

If you're really new at this, then go for Apache 1.3.24 instead og 2.0.36.

The PHP support for Apache 2.0.x is still experimental, and can give you
lots of headaches - not the sort of thing you want to bother with, if this
is your first shot with Apache/PHP.

- Carsten

--- End Message ---
--- Begin Message ---
hi,

when i run /usr/local/apache/bin/httpd -l mod_php4.c isn't listed i already
added

AddType appalication/x-httpd-php .php to httpd.conf
but php doesn't work correctly

./configure --with-mysql
i would like php as apache module (it works beter) is there a linux "guru"
around who can explain this to a linux newbie please and apache i just
unzipped cd into the directory and "make" and "make install" how do i get
php to work ?? help please ..........


--- End Message ---
--- Begin Message ---
./configure --with-mysql --with-apxs=/path/to/apxs(unless it's installed
globally. ie /usr/bin/apxs)



On Sat, 2002-05-18 at 13:51, Erik wrote:
> hi,
> 
> when i run /usr/local/apache/bin/httpd -l mod_php4.c isn't listed i
> already
> added
> 
> AddType appalication/x-httpd-php .php to httpd.conf
> but php doesn't work correctly
> 
> ./configure --with-mysql
> i would like php as apache module (it works beter) is there a linux
> "guru"
> around who can explain this to a linux newbie please and apache i just
> unzipped cd into the directory and "make" and "make install" how do i
> get
> php to work ?? help please ..........
> 
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

"One ought never to turn one's back on a threatened danger and 
try to run away from it. If you do that, you will double the danger. 
But if you meet it promptly and without flinching, you will 
reduce the danger by half."
Sir Winston Churchill

Attachment: signature.asc
Description: This is a digitally signed message part

--- End Message ---
--- Begin Message ---
hi,
I have a problem with PHP. The Web server Apache is don't run with
PHP support. I have : Apache Web server 2.0.36, PHP 4.2.1, Win 2k. I
install that:
- extract win32 binary archive to c:
- rename c:\php-4.2.1-Win32
 to c:\php
- move c:\php\php4ts.dll to c:\winnt\system32
- copy c:\php\php.ini-dist to c:\winnt\php.ini
- change this directive:
  -  extension_dir = C:/php/extensions
  -  session.save_path = C:/php/session (folder exists)
  -  session.use_trans_sid = 0

I have open httpd.conf configuration file, and write to:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php .phtml .php4 .php3

Server is don't run from this time and write:
Syntax error on line 960 of C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Cannot load C:/php/sapi/php4apache.dll into server: modul has not
search.
I don't know english, I'm from Czech Republic, Sorry :(
-- Robert Bisom, [EMAIL PROTECTED] on 05.18.2002

--- End Message ---
--- Begin Message ---
hi,

try to change that line in your apache config file:
LoadModule php4_module c:/php/sapi/php4apache.dll
to 
LoadModule php4_module c:/php/sapi/php4apache2.dll
and leave the line with AddModule out

it also worked for me : )

rico


----- Original Message ----- 
From: "Robert Bisom" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 18, 2002 10:38 PM
Subject: [PHP-INST] Problem with Web server...


hi,
I have a problem with PHP. The Web server Apache is don't run with
PHP support. I have : Apache Web server 2.0.36, PHP 4.2.1, Win 2k. I
install that:
- extract win32 binary archive to c:
- rename c:\php-4.2.1-Win32
 to c:\php
- move c:\php\php4ts.dll to c:\winnt\system32
- copy c:\php\php.ini-dist to c:\winnt\php.ini
- change this directive:
  -  extension_dir = C:/php/extensions
  -  session.save_path = C:/php/session (folder exists)
  -  session.use_trans_sid = 0

I have open httpd.conf configuration file, and write to:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php .phtml .php4 .php3

Server is don't run from this time and write:
Syntax error on line 960 of C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Cannot load C:/php/sapi/php4apache.dll into server: modul has not
search.
I don't know english, I'm from Czech Republic, Sorry :(
-- Robert Bisom, [EMAIL PROTECTED] on 05.18.2002


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
Hi There,

I am new to PHP and Unix and I am getting install problems.
I am using PHP 4.2.1 , Apache 2.0.36 and Freebsd 4.4

I have installed apache from source first and that works fine
After installation the httpd can be started

I install php from source

./configure -prefix=/usr/local/apache/php -with-apxs2=/usr/local/apache/bin/
apxs -with-config-file-path=/usr/local/apache/php -with-mysql=/usr/local/mys
ql

After running make and make install I try to start the httpd  ./apachectl
start

This is what I get

Syntax error on line 229 of /usr/local/apache/conf/httpd.conf

Cannot load /usr/local/apache/modules/libphp4.so into server
/usr/local/apache/modules/libphp4.so : Undefined symbol
"pthread_getspecific"
/usr/local/apache/bin/apachectl start : httpd could not be started


I have the following in my conf file

Under dynamic dhared object
LoadModule php4_module modules/lib4php.so

Under AddType

AddType application/x-httpd-php .php


What is going wrong? Any ideas?

Cheers



--- End Message ---

Reply via email to