php-install Digest 3 Sep 2001 05:17:22 -0000 Issue 441

Topics (messages 4157 through 4164):

Re: http 404 error for other php pages
        4157 by: Mika Tuupola

Installing PHP under Win98
        4158 by: Andy Eagle

Config errors --with-mysql
        4159 by: Doug Cronkhite
        4163 by: Jani Taskinen

PHP4 and Apache 1.3.20 DSO mode not working?
        4160 by: Bill Carter
        4161 by: Steve Brazill
        4162 by: Stefan Siefert
        4164 by: Bill Carter

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]


----------------------------------------------------------------------


On Sun, 2 Sep 2001, Web user wrote:

> NOW the URLS such as  http://localhost/manual/new_features_1_3.html  and 
> http://localhost/index.html.en etc.
> are available on IE 5.0 to me.
> But the site named "try" still doesn't work.(ie. the URL
> http://loaclhost/try/index.php still gets HTTP 404 ERROR,  the same

        And the folder $documentroot/try/ does exist?

-- 
Mika Tuupola                      http://www.appelsiini.net/~tuupola/





Hi folks,

I'm trying to install php (php406-installer.exe) under a German version of
Win98 and PWS.
The exe prog was supposed to do everything automatic. When I tried to run a
php file in MSexplorer I got an Error 404 Message (In German - My
translation)

403.1 Forbidden performance access forbidden

This error may be caused when trying to carry out a CGI-, ISAPI- or another
executable programme from a folder which doesn't allow the execution of
programmes

If the problem continues contact the Server admin

(Dieser Fehler kann verursacht werden, wenn Sie versuchen, ein CGI-, ISAPI-
oder anderes ausführbares Programm von einem Verzeichnis aus auszuführen,
das die Ausführung von Programmen nicht erlaubt.

Setzen Sie sich bitte mit der Verwaltung des Webservers in Verbindung, wenn
das Problem fortbesteht.)

I'm the server admin and I don't have a clue. Any suggestions would be
appreciated.

Yours aye,

Andy






Hey all,

I'm having a problem finding the header files when trying to configure php
4.0.6 for installation. I specify /usr/local/include/mysql but the
configuration says it can't find the header files. I cd to that directory
and they are in fact there.. Perhaps there are 1 or more missing that php is
looking for? Any assistance is much appreciated.

-Doug






In your case, use this: --with-mysql=/usr/local

Always use the install prefix for these configure options.

--Jani


On Mon, 3 Sep 2001, Doug Cronkhite wrote:

>Hey all,
>
>I'm having a problem finding the header files when trying to configure php
>4.0.6 for installation. I specify /usr/local/include/mysql but the
>configuration says it can't find the header files. I cd to that directory
>and they are in fact there.. Perhaps there are 1 or more missing that php is
>looking for? Any assistance is much appreciated.
>
>-Doug
>
>
>





I'm running RedHat Linux 7.0+ and trying to get PHP 4.0.6 working 
with Apache 1.3.20 as a DSO. These are the most recent stable versions.
I'm compiling the sources, the compiles finish with no errors and I get
a libphp4.so file.
 
Has anyone been able to compile these versions of Apache and PHP4 and
be able to run PHP4 as a DSO? I don't see how it can be done. Has 
anyone been able to do this successfully?

Apache won't load the PHP module, it complains that its "garbled" and
maybe isn't really a DSO module. When I look at the Apache source it
appears to be expecting a MODULE_MAGIC_COOKIE field in the "module"
structure of a DSO, if it doesn't see this then the load will fail.
Searching around through the PHP4 code I don't see anyplace where it
is referencing MODULE_MAGIC_COOKIE. Did the Apache module structure 
change at some point and the PHP code not retain compatibility? Maybe
I should try backing up to an earlier revision. Can someone suggest
versions of Apache/PHP that do definitely work together?




If Apache wasn't detecting the PHP script files your testing with (and
'loading' PHP to parse and execute it),  you'd at least just have the 'text'
of the script displayed in the browser.

You haven't provide much detail on 'how' you installed the products or the
'config' statements you used...

----- Original Message -----
From: "Bill Carter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, September 02, 2001 9:52 AM
Subject: [PHP-INST] PHP4 and Apache 1.3.20 DSO mode not working?


> I'm running RedHat Linux 7.0+ and trying to get PHP 4.0.6 working
> with Apache 1.3.20 as a DSO. These are the most recent stable versions.
> I'm compiling the sources, the compiles finish with no errors and I get
> a libphp4.so file.
>
> Has anyone been able to compile these versions of Apache and PHP4 and
> be able to run PHP4 as a DSO? I don't see how it can be done. Has
> anyone been able to do this successfully?
>
> Apache won't load the PHP module, it complains that its "garbled" and
> maybe isn't really a DSO module. When I look at the Apache source it
> appears to be expecting a MODULE_MAGIC_COOKIE field in the "module"
> structure of a DSO, if it doesn't see this then the load will fail.
> Searching around through the PHP4 code I don't see anyplace where it
> is referencing MODULE_MAGIC_COOKIE. Did the Apache module structure
> change at some point and the PHP code not retain compatibility? Maybe
> I should try backing up to an earlier revision. Can someone suggest
> versions of Apache/PHP that do definitely work together?
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>





Hi Bill,

please tell us how you configured php and apache (e.g. PHP
with --with-apxs=/usr/local/apache/bin/apxs) also be sure to have apache
enabled for DSO ( --enable-module=so or --enable-modul=most)

Greetings,

Stefan Siefert
----- Original Message -----
From: Bill Carter <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, September 02, 2001 6:52 PM
Subject: [PHP-INST] PHP4 and Apache 1.3.20 DSO mode not working?


> I'm running RedHat Linux 7.0+ and trying to get PHP 4.0.6 working
> with Apache 1.3.20 as a DSO. These are the most recent stable versions.
> I'm compiling the sources, the compiles finish with no errors and I get
> a libphp4.so file.
>
> Has anyone been able to compile these versions of Apache and PHP4 and
> be able to run PHP4 as a DSO? I don't see how it can be done. Has
> anyone been able to do this successfully?
>
> Apache won't load the PHP module, it complains that its "garbled" and
> maybe isn't really a DSO module. When I look at the Apache source it
> appears to be expecting a MODULE_MAGIC_COOKIE field in the "module"
> structure of a DSO, if it doesn't see this then the load will fail.
> Searching around through the PHP4 code I don't see anyplace where it
> is referencing MODULE_MAGIC_COOKIE. Did the Apache module structure
> change at some point and the PHP code not retain compatibility? Maybe
> I should try backing up to an earlier revision. Can someone suggest
> versions of Apache/PHP that do definitely work together?
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>







Stefan Siefert wrote:
> 
> Hi Bill,
> 
> please tell us how you configured php and apache (e.g. PHP
> with --with-apxs=/usr/local/apache/bin/apxs) also be sure to have apache
> enabled for DSO ( --enable-module=so or --enable-modul=most)

Sorry but I post email from Win98 and I don't have my compile line
for apache and php available to paste in here but I followed the
sketchy instructions in the README docs and my compiles completed
without errors.

I did compile apache with apxs and did --enable-modul=most. When
I do "httpd -l" I see a ton of modules listed, I do have shared
modules enabled. And I do have a libphp4.so file which I have
configured apache to attempt to load. My problem is that the module
does not load. I don't see how it can now that I have looked at 
the sources, there is no magic cookie. Maybe I'm wrong.

My question is simple. Have you downloaded, compiled, and integrated
the most recent versions of Apache and PHP and made them work? Not
previous versions. I've seen several people have problems with doing
this in the newsgroups dating from late 2000. Someone please wipe
out your apache/php installation and attempt to reinstall the most
recent versions according to the instructions. I'm starting to think
nobody has actually tested this...


Reply via email to