Biz geliştirme sistemleri için Windows kullanın. Ben el PHP, Apache, MySQL kurulumu duyuyorum. Zip paketleri tüm. Şimdi:
If I use php thread safe binaries: pdo_mysql fails to load when executing php.exe from command line. I get the following warning:
PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
Ben incecik güvenlik devre dışıdır orada php, bizim RHEL üretim sunucu kontrol etti. Yani güvenli binarylerini parçacığı değil indirilen from here.
Şimdi, başka bir sorun çarptı: Apache başlatmak için başarısız oluyor. Error.log diyor ki:
[Thu Mar 04 13:54:08 2010] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
Pre-configuration failed
[Thu Mar 04 13:54:08 2010] [warn] (OS 995)The I/O operation has been aborted because of either a thread exit or an application request. : winnt_accept: Asynchronous AcceptEx failed.
Nasıl Windows PDO_MYSQL desteği ile php kurarım? Yani, komut satırı php.exe çalışır ki?
Not: php.exe PDO_MYSQL yükleme olmamasına rağmen evreli ikili olarak, PHP API yüklemek mümkün oldu. Phpinfo, bu görünen Çünkü.