as\u00ed que probamos a cambiar la l\u00ednea<\/strong><\/p>\nLoadModule php5_module C:\/PHP\/php5apache2.dll<\/pre>\npor<\/p>\n
LoadModule php5_module C:\/PHP\/php5apache2_2.dll<\/pre>\n
\ny produce el siguiente error:<\/p>\n
<\/p>\n\u201cApache is running a threaded mpm but your php module is not compiled to be threadsafe\u201d:<\/strong><\/h3>\n<\/center><\/p>\n
\n
\n
\n
\n <\/p>\n
Tras buscar e investigar por foros , podemos comprobar que parece tratarse de un problema por la versi\u00f3n, que puede ser del tipo Thread Safe<\/strong> \u00f3 NON Thread Safe<\/strong>.<\/p>\nEn este punto hemos \u00a0instalado otras versiones de php y por ahora seguimos con los mismos problemas.<\/p>\n
Vamos pues a resolverlo<\/p>\n
\n
\n <\/p>\n
CONFIGURACI\u00d3N ADECUADA DE LOS ARCHIVOS PHP.INI<\/strong><\/em> y HTTPD.CONF<\/strong><\/em><\/span>(cuando instalemos soporte PHP en Windows, utilizando la versi\u00f3n NON Thread Safe de PHP)<\/h3>\n
\n– En el\u00a0PHP.INI \u00a0(C:\/Windows):<\/span>
\n <\/p>\n;cgi.force_redirect configuration below\r\ndoc_root = c:\\archivos de programa\\Apache\r\nSoftware Foundation\\Apache2.2\\htdocs\r\n; The directory under uhich PH? opens the script. using \/-username:\r\n; if nonempty.\r\nuser_dir =\r\n; Directory in which the loadable extensions (modules) reside.\r\nextension_dir = c:\\php\\ext\r\n<\/pre>\n
\n
\n <\/p>\n
<\/p>\n
– EN HTTPD.CONF: ( C:\\Archivos de programa\\Apache Software Foundation\\Apache2.2\\conf )<\/span><\/h3>\n <\/p>\n
<\/p>\n
#LoadModule foo_module modules\/mod_foo.so\r\n#LoadModule php5_module C:\/PHP\/php5apache2.dll<\/pre>\n <\/p>\n
<\/p>\n
La linea que habla de Load Module php, la comentamos y la dejamos donde est\u00e1 (REALMENTE, POR DEFECTO NO APARECE NADA):
\n
\nY vamos al final del docu y ponemos:<\/p>\n
LoadModule php5_module \"c:\/php\/php5apache2_2.dll\"\r\naddType application\/x-httpd-php .php\r\nDirectoryIndex index.html index.php\r\n<\/pre>\n <\/p>\n
<\/p>\n
<\/p>\n
-REINICIAMOS APACHE.
\n-Creamos el archivo prueba.php en
\nC:\\Archivos de programa\\Apache Software Foundation\\Apache2.2\\htdocs<\/p>\n
\nY ya funciona Apache correctamente.
\nEspero que te sea de utilidad, y si te ha gustado , comenta y comparte \ud83d\ude09 Un saludo !
\n
\n
\n <\/p>\n\n
<\/div>","protected":false},"excerpt":{"rendered":"
Solucionado – Hablaremos del caso en Apache con soporte php: Cannot load C:\/php\/php5apache2.dll into server: No se puede encontrar el modulo especificado.<\/p>\n","protected":false},"author":1,"featured_media":2625,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false},"categories":[1268],"tags":[378,527],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/eltallerdelbit.com\/wp-json\/wp\/v2\/posts\/2616"}],"collection":[{"href":"https:\/\/eltallerdelbit.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eltallerdelbit.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eltallerdelbit.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eltallerdelbit.com\/wp-json\/wp\/v2\/comments?post=2616"}],"version-history":[{"count":0,"href":"https:\/\/eltallerdelbit.com\/wp-json\/wp\/v2\/posts\/2616\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eltallerdelbit.com\/wp-json\/wp\/v2\/media\/2625"}],"wp:attachment":[{"href":"https:\/\/eltallerdelbit.com\/wp-json\/wp\/v2\/media?parent=2616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eltallerdelbit.com\/wp-json\/wp\/v2\/categories?post=2616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eltallerdelbit.com\/wp-json\/wp\/v2\/tags?post=2616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}