Search found 149 matches: php5apache2_2

Searched query: +php5apache2

ignored: 2

Return to advanced search

Re: php shows code

Hi Esthermiller (there is ALWAYS time for an introducing welcome line, especially if you want to ask for help. It's a matter of politeness),

Esthermiller wrote:Looking in forums I found that I need to add:
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php .php5 .php4 .php3 .phtml .php
to httpd.conf.
In this forums adviced that I should add:
LoadModule php5_module "d:/xampp/php/php5apache2.dll"
to httpd.conf as well.

All of this changes are unnecessary. XAMPP is already well configured out of the box to work with PHP files.

What does your browser address bar show you at the time you only get the plain php code?

best wishes,
Altrea
by Altrea
28. May 2012 08:32
 
Forum: XAMPP for Windows
Topic: php shows code [Solved]
Replies: 10
Views: 28023

php shows code [Solved]

I'm studying PHP. I want to try the code as I go. I've installed XAMPP 1.7.4 and it worked fine. Now the problem I've got is that PHP doesn't give me a result but the code. I've been dealing with this problem for a few days. I have realized that it works (shows results) until I try code with errors, then the simple
<?php
echo 'Hello world';
?>
fails.
Looking in forums I found that I need to add:
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php .php5 .php4 .php3 .phtml .php
to httpd.conf.
In this forums adviced that I should add:
LoadModule php5_module "d:/xampp/php/php5apache2.dll"
to httpd.conf as well. When I've done it APACHE fails, so I commented it out in httpd.conf.

I'm desparate because I want to study no spend my time fixing the tool. Help, please.
by Esthermiller
28. May 2012 07:53
 
Forum: XAMPP for Windows
Topic: php shows code [Solved]
Replies: 10
Views: 28023

2 Ordner - 2 PHP Versionen?

Hallo,

ich betreibe mit der aktuellen xampp Version 1.7.4 einen kleinen Entwicklungsserver.

Nun habe ich von einem Kunden den Auftrag bekommen, seine Joomla Site zu optimieren.
Um den laufenden Betrieb während der Umbauarbeiten nicht zu gefährden, wollte ich die Joomla Installation nun auf meinen Server spiegeln und anschließend wieder auf den Online-Server spielen.

Leider läuft das Joomla aber auch nach Anpassung aller Programmpfade nicht auf meinem Server und wirft nur verschiedene Fehler aus. Nun habe ich im Internet gelesen, dass diese etwas veraltete Version von Joomla ganz einfach zu alt für die aktuellste PHP-Version ist. Auf seinem Server läuft immerhin PHP 5.2.6, auf meinem aber aben die 5.3.5.

Ich möchte mir, um ehrlich zu sein, aber nicht die Mühe machen und das komplette Joomla updaten, weil dort viele Module drinhängen und ein paar davon wiederum nicht mit der neuesten Joomla Version laufen etc.

Habe nun also die PHP 5.2.6 heruntergeladen und sie in den Ordner /xampp/php526 entpackt. In der httpd.conf habe ich einfach versucht, für das spezifische Projektverzeichnis im root eben diese PHP Version zu laden:

Code: Select all
<Directory "F:/htdocs/xxx.de">
   LoadModule php5_module "C:\Programme\xampp\php526\php5apache2.dll"
</Directory>
<Directory "F:/htdocs">
   # Restliche Einstellungen
</Directory>


Mir ist schon klar, dass das auf diesem Wege nicht so einfach machbar sein wird.

Wie kriege ich es nun hin, dass nur in dem einen Projektordner die 5.2.5 geladen wird?

Vielen Dank
Chris
by chrisribal
20. March 2011 22:29
 
Forum: XAMPP für Windows
Topic: 2 Ordner - 2 PHP Versionen?
Replies: 0
Views: 2311

Re: need some help

i have, i went into C:\xampp\apache\conf\extra\httpd-xampp.conf
and i dont see what you posted

all i see is this
# XAMPP settings
#
<IfModule alias_module>
<IfModule mime_module>
#ScriptAlias /php/ "C:/xampp/php/"
#Action application/x-httpd-php "/php/php-cgi.exe"
LoadModule php5_module "C:/xampp/apache/bin/php5apache2.dll"
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php .php5 .php4 .php3 .phtml .phpt

<Directory "C:/xampp/htdocs/xampp">
<IfModule php5_module>
<Files "status.php">
php_admin_flag safe_mode off
</Files>
</IfModule>
</Directory>

Alias /security "C:/xampp/security/htdocs/"
<Directory "C:/xampp/security/htdocs">
<IfModule php5_module>
<Files "xamppsecurity.php">
php_admin_flag safe_mode off
</Files>
</IfModule>
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>

Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
<Directory "C:/xampp/phpMyAdmin">
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>

Alias /webalizer "C:/xampp/webalizer/"
<Directory "C:/xampp/webalizer">
<IfModule php5_module>
<Files "webalizer.php">
php_admin_flag safe_mode off
</Files>
</IfModule>
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>

Alias /contrib "C:/xampp/contrib/"
<Directory "C:/xampp/contrib">
<IfModule php5_module>
<Files "webalizer.php">
php_admin_flag safe_mode off
</Files>
</IfModule>

AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
</IfModule>
</IfModule>


# Access restriction via Remote
<IfModule auth_remote_module>
<Directory "C:/xampp/htdocs/fonts">
AllowOverride All
AuthType Basic
AuthName "AUTH REMOTE TEST"
AuthRemoteServer localhost
AuthRemotePort 80
AuthRemoteURL /forbidden/
Require valid-user
#User: user / Password: pass
</Directory>
</IfModule>

# Access restriction via MySQL
<IfModule mysql_auth_module>
<Location /restricted>
AuthMySQLEnable On
AuthName "MySQL Secured Place"
AuthType Basic
require valid-user
AuthMySQLHost localhost
AuthMySQLUser root
# AuthMySQLPassword
AuthMySQLDB webauth
AuthMySQLUserTable user_pwd
AuthMySQLNameField name
AuthMySQLPasswordField pass
AuthMySQLPwEncryption none
</Location>
</IfModule>


no where do i see this :
#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow
Deny from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 5.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16

ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>
by jess2626
03. November 2009 01:14
 
Forum: XAMPP for Windows
Topic: need some help
Replies: 3
Views: 6648

Re: Nach Update 170 - 171 startet apache nicht mehr

Argh, sorry war ja klar.... so bald ich poste finde ich was.

Scheinbar ist der Fehler so behebbar:
In der XAMPP\apache\conf\extra\httpd-xampp.conf
folgendes finden
LoadModule php5_module "/xampp/apache/bin/php5apache2.dll"
und durch
LoadModule php5_module "/xampp/apache/bin/php5apache2_2.dll"
ersetzen.

Jetzt rennt der Apache wieder.


EDIT:
ja - gerade selber gefunden, - in deinem Posting.
Danke! :)
by MasterJM
11. August 2009 12:09
 
Forum: XAMPP für Windows
Topic: Nach Update 170 - 171 startet apache nicht mehr
Replies: 2
Views: 4424

Re: Nach Update 170 - 171 startet apache nicht mehr

Syntax error on line 7 of F:/XAMPP/apache/conf/extra/httpd-xampp.conf: API module structure 'php5_module' in file F:/XAMPP/apache/bin/php5apache2.dll is garbled

Da sollte die Datei "php5apache2_2.dll" geladen werden.
by Wiedmann
11. August 2009 12:06
 
Forum: XAMPP für Windows
Topic: Nach Update 170 - 171 startet apache nicht mehr
Replies: 2
Views: 4424

Nach Update 170 - 171 startet apache nicht mehr

Hallo,

habe schon etwas gesucht und gelesen, aber bis lang nichts passendes gefunden.
Ich habe gerade meinen XAMPP per Update (EXE Installer) von 1.7.0 auf 1.7.1 updated.
Jetzt startet mein apache nicht mehr. Das Control Panel meldete gar nichts,
hab dann die Bat versucht, dort kam folgendes:
Apache 2 is starting ...
httpd.exe: Syntax error on line 480 of F:/XAMPP/apache/conf/httpd.conf: Syntax error on line 7 of F:/XAMPP/apache/conf/extra/
httpd-xampp.conf: API module structure 'php5_module' in file F:/XAMPP/apache/bin/php5apache2.dll is garbled - expected signature 41503232 but saw 41503230 - perhaps this is not an Apache module DSO, or was compiled for a different Apache version?
Apache konnte nicht gestartet werden
Apache could not be started


Installiert hatte ich damals die Version "xampp-win32-1.6.6a-installer.exe"
und dann halt nach und nach mal updated.

Wo liegt das Problem bzw. wie kann ich es fixen?

Danke, Gruß

PS: Xampp rennt auf Windows XP SP3
by MasterJM
11. August 2009 12:03
 
Forum: XAMPP für Windows
Topic: Nach Update 170 - 171 startet apache nicht mehr
Replies: 2
Views: 4424

Re: Problem Apache Service Monitor

>LoadModule php5_module "c:/PHP5/php5moduleapache2.dll"

So steht das wirklich in dem Buch? Glaube ich nicht. Steht da nicht vielleicht eher dieses:

LoadModule php5_module "c:/PHP5/php5apache2.dll"
by Nobbie
26. July 2009 12:52
 
Forum: Apache
Topic: Problem Apache Service Monitor
Replies: 4
Views: 6270

Re: apache can't start after xampp upgrade + perl addon install

Code: Select all
LoadModule php5_module "C:/xampp/apache/bin/php5apache2.dll"

This must be:
Code: Select all
LoadModule php5_module "C:/xampp/apache/bin/php5apache2_2.dll"
by Wiedmann
21. July 2009 06:42
 
Forum: XAMPP for Windows
Topic: apache can't start after xampp upgrade + perl addon install
Replies: 1
Views: 4808

apache can't start after xampp upgrade + perl addon install

Hi,
I just upgraded xampp 1.6.8 to 1.7.0 and then to 1.7.1.
After that i installed the xampp perl addon, all seemed fine, no error messages at upgrade/install

But, when i tried to launch apache from control-panel it didn't start ( i also checked in processes since i know this panel display is buggy).
So i decided to launch apachestart.bat.

I obtain
Code: Select all
httpd.exe: Syntax error on line 478 of c:/xampp/apache/conf/httpd.conf: Syntax error on line 7 of c:/xampp/apache/conf/extra/httpd-xampp.conf : API module struvture 'php5_module' in file C:/xampp/apache/bin/php5apache2.dll is garbled - expected signature 41503232 but saw 41503230 - perhaps this is not an apache module DSO, or was compiled for a different apache version ? Apache could not be started



here is line 478 of httpd.conf
Code: Select all
Include conf/extra/httpd-xampp.conf


here is line 7 of httpd-xampp.conf
Code: Select all
LoadModule php5_module "C:/xampp/apache/bin/php5apache2.dll"



Could someone help me please ?

thank you,
mnem0
by mnem0
21. July 2009 00:30
 
Forum: XAMPP for Windows
Topic: apache can't start after xampp upgrade + perl addon install
Replies: 1
Views: 4808

Re: php5apache2.dll problem

All right, thank you!
:oops:
by revertm
30. June 2009 08:56
 
Forum: XAMPP for Windows
Topic: [SOLVED] php5apache2.dll problem
Replies: 2
Views: 5170

Re: php5apache2.dll problem

Xampp 1.7.1 needs php5apache2_2.dll instead of php5apache2.dll, you must change the httpd.conf file.
by Nobbie
29. June 2009 08:38
 
Forum: XAMPP for Windows
Topic: [SOLVED] php5apache2.dll problem
Replies: 2
Views: 5170

[SOLVED] php5apache2.dll problem

During an upgrade in two differents servers I noticed that Apache refused to start from the Control Center. Following the usual procedure in this cases, I've executed the .bat to start it and the error message told me that the problem is in php5apache2.dll.
The upgrade was from Xampp 1.7.0 to 1.7.1 using the binarie.
Reverting php5apache2.dll to the version that comes with 1.7.0 solved the problem.

So...Am I doing something wrong or this is somehing that is wrong compiled?

Thanks!
by revertm
29. June 2009 02:03
 
Forum: XAMPP for Windows
Topic: [SOLVED] php5apache2.dll problem
Replies: 2
Views: 5170

Newbie! looking for php.ini

Good day everyone..

Sorry I may sound being noobish but I really need your help...I'm having some problems installing Magento because I can't find the file php.ini in Xampp/apache/bin/php.ini... I need to find the curl..

but this is all i can find inside the bin folder:
php5apache.dll
php5apache2.dll
php5apache2_2_filter.dll
php5apache2_filter.dll
php5apache_hooks.dll
php5isapi.dll
php5nsapi.dll
php5pi3web.dll
No php.ini file...

and also inside the XAMPP/php folder I couldn't find the specific file..
these are the only file I can see..
3 php which is
php (configuration settings)
php (INI-DIST FILE)
PHP (INI-RECOMMEND)
no php.ini again...

Why is this can anyone tell what did I miss?

Thanks!
by bencosmic
07. June 2009 13:05
 
Forum: XAMPP for Windows
Topic: Newbie! looking for php.ini
Replies: 1
Views: 3010

Re: XAMPP 1.7.1 startet nicht

Ich hatte das selbe Problem:

Öffne:
C:\xampp\apache\conf\extra\httpd-xampp.conf (oder gerade dein Pfad zum .conf)

auskommentiere --> #LoadModule php5_module "C:/xampp/apache/bin/php5apache2.dll"
füge neu ein--> LoadModule php5_module "C:/xampp/apache/bin/php5apache2_2.dll" (passe es an deinen Pfad an z.B. C:/www/xampp oder so)

Dann läuft er wieder.

Grüsse aus Holland.

Tristan
by twiechert
05. May 2009 16:01
 
Forum: XAMPP für Windows
Topic: XAMPP 1.7.1 startet nicht
Replies: 1
Views: 4222
Next

Return to advanced search