Installation help, Please !!!
| From: | Thomas | Date: | Sat, 19 Jan 2002 14:45:54 +0000 |
| Subject: | Installation help, Please !!! | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5626@lists.php.net to get a copy of this 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