note 105141 deleted from install.windows.apache2 by cmb
| From: | cmb@php.net | Date: | Sun, 12 May 2019 15:53:21 +0000 |
| Subject: | note 105141 deleted from install.windows.apache2 by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211025@lists.php.net to get a copy of this message | ||
Note Submitter: tcombass at gmail dot com
----
If you are having problems with php5ts.dll...
php5ts.dll is php5.dll but thread safe, hence the 'ts' at the end.
Software Details:
MySQL 5.5
PHP 5.2.17 VC6 Non-thread safe
Apache 2.2.19
Win XP SP3
Here's how I fixed the problem:
I've been looking online on how to integrate Apache with PHP right so I come across this code
to put in my httpd.conf apache configuration file:
LoadModule php5_module "C:/php/php5apache2_2.dll"
AddHandler application/x-httpd-php .php
PhpIniDir "C:/php"
I paste it in a voila! it crashes! I know its not news, but I looked and lo and behold its that
darn php5ts.dll file!
In short:
I installed PHP 5.2.17 VC6 Non-Thread Safe. I then installed the PHP 5.2.17 VC6 thread safe so I
could copy these files from the thread safe installation into the PHP 5.2.17 VC6 Non-Thread safe
installation directory:
php5apache2_2.dll
php5apache2_2filter.dll
Not sure if that last file is needed but I added it anyway.
Then I uninstalled the thread safe installation.
The Apache service started right up.
Had some problems with MySQL too:
When I installed it the first time it was fine. Then I uninstalled it and got that "Service
could not be started Error: 0" message.
To do a complete deletion do this:
1) Use MySQLInstanceconfig.exe to remove the service
2) Use the "Add/Remove programs" to uninstall MySQL
3) Delete the "c:\program files\MySQL directory"
4) Delete the "c:\documents and settings\All Users\Application Data\MySql\" directory
5) Launch regedit.exe from START>RUN and press ctrl+f for the find function and type in MYSQL to
find and get rid of anything "MySQL" in there. Press F3 to find repeat instances of
"MySQL"
I hope this helps you. I spent about 30hrs uninstalling and reinstalling this crap...