php-install Digest 19 Jan 2002 16:37:50 -0000 Issue 657

Topics (messages 5624 through 5626):

php 4.1.1 RH 7.2 apache 1.3.20 problem HELP!
        5624 by: Eric J. Gould

Configuring IIS on Win2k
        5625 by: Parag Mahajan

Installation help, Please !!!
        5626 by: Thomas

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 compiled php (dso) with apache, just fine, and have confirmed that
I have all of the needed lines in my httpd.conf. When I try to open a
test php page on the server and another computer, all i see is code. I
know httpd is correct, as it works fine for my RT/mysql installation. I
have tried every bit of advice that I've seen on the net to no avail. I
followed the "INSTALL" instructions for dso but I cannot get apache to
show .php files correctly. After 2 WEEKS of troubleshooting, I AM READY
TO PULL MY HAIR OUT! Any help would be GREATLY appreciated!

**less httpd.conf | grep php:**

___________________________________________
LoadModule php_module         modules/mod_php.so
#LoadModule php3_module        modules/libphp3.so
LoadModule php4_module        modules/libphp4.so
LoadModule php4_module        lib/apache/libphp4.so
AddModule mod_php.c
#AddModule mod_php3.c
AddModule mod_php4.c
    DirectoryIndex index.html index.htm index.shtml index.php index.php4
index.php3 index.phtml index.cgi
    # http://www.php.net) will typically use:
    #<IfModule mod_php3.c>
    #    AddType application/x-httpd-php3 .php3
    #    AddType application/x-httpd-php3-source .phps
    <IfModule mod_php4.c>
        AddType application/x-httpd-php .php .php4 .php3 .phtml 
        AddType application/x-httpd-php-source .phps
    <IfModule mod_php.c>
        AddType application/x-httpd-php .phtml
_________________________________________________

_______________________________________________

**"INSTALL" instructions with php 4.1.1. I have followed all
religiously:


QUICK INSTALL (DSO)

For this to work your Apache httpd must have mod_so enabled.
Check using httpd -l.  You should see something like:

Compiled-in modules:
  http_core.c
  mod_so.c

Chances are you will see a lot more modules than these two. That's ok, 
as long as mod_so.c shows up you can proceed with the following steps:

$ gunzip -c php-4.0.x.tar.gz | tar xf -
$ cd php-4.0.x
$ ./configure --with-mysql --with-apxs
$ make
$ make install

If you get an error telling you that the apxs script could not be found,
look for it on your system and if you find it, provide the full path to
it
as: --with-apxs=/path/to/apxs

Next you must copy php.ini-dist to the appropriate place (normally
/usr/local/lib/php.ini) and edit it as necessary to set PHP options.

The only thing left to do is to edit your httpd.conf file and make sure
the
PHP 4 mime type is there and uncommented.  You need a line that looks
like
this:

   AddType application/x-httpd-php .php

Then restart your server (apachectl restart) and you should be able to
serve up PHP files now.  Make a test file called test.php and put some 
PHP tags in it.  Like <?phpinfo()?>, for example
_________________________________________________________



-- 
Eric J. Gould
Sr. Computer Specialist 
CAUP, UofW
206-616-2487
--- End Message ---
--- Begin Message ---
Hello group,
I am a newbie to PHP & having Windows 2000 + IIS + PHP.
 
Can anyone tell me what did I not do?
 
I did the following things.
1.install PHP
2.Configure PHP as in Internet Service Manager.
3.Add the ISAPI filter as from C:\php\SAPI\php4isapi.dll
4.Add app Mapping as C:\php\php.exe
5.Run net stop issadmin
6.While doing net start w3svc
 
it gives the below message.
 

System error 1747 has occurred.
 
The authentication service is unknown.
 
Please tell me what further should I do?
 
What further steps are remaining for me to run PHP scripts?
 
Bye,
Parag.
--- End Message ---
--- Begin Message ---
Hi, admin.
My name is Thomas.
Is the beta version of Apache 2.0.28 able to work well with PHP 4.1.1 zip
package ???
Please teach me to how to make it work. I had been at it for a week.

Here's my problem.
I'm trying to install PHP 4.1.1 zip package [4,953Kb] - 03 January 2002 to
work with Apache 2.0.28 beta
http://www.apache.org/dist/httpd/binaries/win32/apache_2_0_28-beta-win32-x86
-no_ssl.msi on Windows 2000.

I had installed the beta version of Apache 2.0.28 and edited the httpd.conf
settings & it's working fine on my Windows 2000 PC. ( without PHP )

But after I install PHP and edited the php.ini and the httpd.conf to enable
PHP with Apache in Windows 2000. I got a few error on my PC.

1 - Edited Settings 1 in the Apache 2.0.28 with these
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

I can open files with a .php extension but after a few errors.
The errors messages are "The procedure entry point zend_ptr_stack_push could
not be located in the dynamic link library php4ts.dll " in a dialog box with
an OK button for me to click on.
But after I click on the OK button, it open up the same errors messages
above twice again and I click on the OK button again and only after the
error messages, my *.php file show up.

It's aren't suppose to be like that. So I change the settings to another
setting below

2 - Edited Settings 2 in the Apache 2.0.28 with these
LoadModule php4_module "c:/joincode/php/sapi/php4apache.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

I encounter these errors messages in command prompt; "Syntax error on line
691 of C:/apache/conf/httpd.conf:
Cannot load C:/php/sapi/php4apache.dll into server: The specified procedure
could not be found."

Ok, so it cannot load some php4_module, never mind. I took out that
LoadModule php4_module "c:/joincode/php/sapi/php4apache.dll" from the
httpd.conf and restart Apache again.

And then I click on any files with an .php extension, it became a
downloading program and ask me to save it on my PC !!!

I had read the documentations and did what was written on the documentations
and it still can't work.

Thanks
Best Regards,
Thomas






--- End Message ---

Reply via email to