php-install Digest 18 Nov 2002 18:37:32 -0000 Issue 1122
Topics (messages 9161 through 9168):
How can I activate XML functions in Apache / Mandrake Distro
9161 by: Manuel Soto
9162 by: Pierre-Alain Joye
Re: When i go to a page, it asks for me to download
9163 by: John Coder
9164 by: Robert W. Kramer III
Re: load module php_4crashed Apache2
9165 by: stewieh
9166 by: stewieh
Apache won't start after install php - win XP Pro
9167 by: EEjack { :>\)
Apache Module vs CGI, both??
9168 by: Peter Janett
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 ---
I've mandrake 9.0 and use the Apache it has by default
but xml functions are unavailable, for example this
line does not works.
$xml_parser = xml_parser_create();
Does any body may advise me what do I have to install
to get it working?
Thanks,
MS
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
--- End Message ---
--- Begin Message ---
On Fri, 15 Nov 2002 17:13:27 -0800 (PST)
Manuel Soto <[EMAIL PROTECTED]> wrote:
> I've mandrake 9.0 and use the Apache it has by default
> but xml functions are unavailable, for example this
> line does not works.
>
> $xml_parser = xml_parser_create();
>
> Does any body may advise me what do I have to install
> to get it working?
do you have an error message ? warnings ?
pa
--- End Message ---
--- Begin Message ---
On Fri, 2002-11-15 at 16:58, Matt Jaeger wrote:
> i installed the sapi method in win 2kpro im running apache 1.3.x
> when i go to my index.php (its a simple test page)
> it requests a download. do you know why?
Did you add the approprate lines to your httpd.conf file?
for Windows ME they are:
conf/httpd.conf: LoadModule php4_module c:/php/sapi/php4apache.dll
conf/httpd.conf: AddModule mod_php4.c
conf/httpd.conf: AddType application/x-httpd-php .php
I believe they are the same for win2K also.
--- End Message ---
--- Begin Message ---
I'm having the same problem. I'm also fairly sure it means that PHP isn't
enabled in apache2/conf/httpd.conf.
But I've followed the instructions at
http://www.php.net/manual/en/install.apache2.php
We are running Apache 2.0.43 with mod_perl-2. The URL above recommends using
PHP 4.3.0-dev with the latest version of Apache 2. I've opted for the sapi
version of PHP (php4apache2.dll).
Apache's /server-info page shows
Current Configuration:
<......>
LoadModule php4_module c:/php/sapi/php4apache2.dll
<......>
In my httpd.conf file I've entered the following:
# PHP
LoadModule php4_module c:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
When I run PHP from the command line to load my hello.php file, it gets
processed correctly and the output is correct.
I'm not sure where else to look or how to troubleshoot any further. The
apache2/logs don't indicate there is any problem.
Bob Kramer
I get the same problem as you - when I go to my hello.php page, IE prompts
me whether I want to Open or Save the file to disk...
"Matt Jaeger" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i installed the sapi method in win 2kpro im running apache 1.3.x
> when i go to my index.php (its a simple test page)
> it requests a download. do you know why?
>
> --
> Jęger
>
>
--- End Message ---
--- Begin Message ---
You can check to see if you have the latest version of php at
http://snaps.php.net/win32/php4-win32-latest.zip
Stuart H
Josh wrote:
Hi..
when i add the following line
LoadModule php_4 "c:\php\sapi\php4apahce2.dll"
apache does not start, the window opens and closes immediately.
What could be the problem-
- Josh
---------------------------------
Do you Yahoo!?
U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD
--- End Message ---
--- Begin Message ---
You can check to see if you have the latest version of php at
http://snaps.php.net/win32/php4-win32-latest.zip
Stuart H
Josh wrote:
Hi..
when i add the following line
LoadModule php_4 "c:\php\sapi\php4apahce2.dll"
apache does not start, the window opens and closes immediately.
What could be the problem-
- Josh
---------------------------------
Do you Yahoo!?
U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD
--- End Message ---
--- Begin Message ---
I am having trouble getting apache to start after installing php...
everything goes smooth until i try load the module
LoadModule php4_module G:/php/sapi/php4apache2.dll
If I preceed it with # the apache starts, but without php.
If i remove the # i get the message
"The requested operation has failed" when i restart apache.
Any help would be greatly appreciated
EEjack
--- End Message ---
--- Begin Message ---
I'm setting up a new server that will host many different customer sites via
Apache virtual hosts. I'm trying to decide if I should use SuExe with
Apache, and run PHP and Perl with it, or just to run everyone as the web
server user, and compile PHP (and/or Mod_Perl) as a module.
I understand the security issues of having all Perl and PHP scripts run as
the same user as Apache, but I'm not sure I have a full grasps of the pros
and cons of each setup.
I'm hoping to get opinions, suggestions, etc. about each possible setup,
which I would assume will include some of the safety switches that can be
setup in PHP when compiled as an Apache module.
Any and all info or ideas most appreciated!
Peter Janett
New Media One Web Services
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.1.2, mod_perl/1.25,
Stronghold/3.0 (Apache/1.3.22), MySQL 3.23.43
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PostgreSQL coming soon!
http://www.newmediaone.net
[EMAIL PROTECTED]
(303)828-9882
--- End Message ---