keyboardistdenny — 2014-03-03T04:45:46-05:00 — #1
I have installed Apache server and php
I must change the file httpd.conf to the end of the script ....
keyboardistdenny — 2014-03-04T07:53:10-05:00 — #2
but the file php5apache2.dll does not exist !
cpradio — 2014-03-04T08:54:46-05:00 — #3
What versions of PHP and Apache did you use?
dklynn — 2014-03-04T16:41:00-05:00 — #4
HOW did you install? If you used a canned app (XAMPP or WAMP), look in their conf directory for the httpd.conf and your php5apache2.dll should be in their PHP directory ... but it should be pre-configured for you.
Sorry, too little information for a direct answer.
keyboardistdenny — 2014-03-05T09:29:00-05:00 — #5
thanks, but I already installed php 5, Apache2.0 and mysql in c: \, but I can not find the file php5php2.dll, now I try to reinstall apache ....
in between how can I interact with php mysql,
mysql folder is C: \ mysqlfunzionante
and php is in C:\PHP
cpradio — 2014-03-05T09:34:00-05:00 — #6
That file won't exist. You mean php5apache2.dll, again, what versions are you installing and can you post your httpd.conf file so we can see your alterations?
keyboardistdenny — 2014-03-05T09:48:54-05:00 — #7
I have windows 7.
which "version" apache "should I download for php5?
cpradio — 2014-03-05T09:52:45-05:00 — #8
The latest stable release. http://httpd.apache.org/download.cgi
Chances are, your configuration of the httpd.conf is incorrect. If you could provide that, that'd be helpful
jeff_mott — 2014-03-05T11:03:44-05:00 — #9
The vast majority of the time, I would also send someone to the most official build there is (such as those at httpd.apache.org), but I think this is an exception. I'm told that PHP is compiled with VC11 and Apache (from httpd.apache.org) is compiled with VC6, and that those can cause compatibility problems.
Also, in the PHP download, there are actually several Apache .dlls to choose from. There's a php5apache2_2.dll and a php5apache2_4.dll. You should choose the one appropriate for your version of Apache, which, if you downloaded the latest, will be 2_4.
If that doesn't help solve your problem, keyboardistdenny, then -- as several others have requested -- you need to tell us exactly what versions of Apache and PHP you downloaded, and where you got them from. Then show us the Apache configuration you've tried.
cpradio — 2014-03-05T11:05:23-05:00 — #10
That's a very good point Good catch
keyboardistdenny — 2014-03-11T10:48:11-04:00 — #11
now 11/03/2014 i have installed
and Apache 2, Now ,this Server is Ok , but I can't to edit the file httpd.conf, when I save this file with new instructions from "notepad", don't save it!!!!
keyboardistdenny — 2014-03-18T05:32:59-04:00 — #12
- I have installed apache server 2.0 and php 5 for Windows 7
-I have installed Php ON C:\
(php.ini (I have changed the file php.development.ini)* on C:\WINDOWS and
php5.dll on C:\WINDOWS\SYSTEM32),
also I have installed the file php5apache2.dll on C:\php
- i save this file php.ini whit "Notepad", but now I can't to change extension of this file from ".txt" on ".ini" !!!!!!
ABOUT httpd.conf I have write , to the end of script this stringa :
LoadModule php5 module C:\Php\php5apache2.dll
After the installation IT'S OK ONLY HTML FILES but php files are not ready on the web serever
dklynn — 2014-03-19T04:02:06-04:00 — #13
WinDoze has a major problem in that it won't allow you to save files (easily - you MUST be in administrator mode) to its protected directories. START your text editor in admin mode and you should be able to save the file. Note: Notepad is notorious in not allowing you to save like you tried - use Notepad++ or EditPad.
I'm rather surprised that you've gotten the html version to work but that's a good sign. Edit your httpd.conf file to add the PHP module handler.
keyboardistdenny — 2014-03-20T06:45:59-04:00 — #14
now I have
- "php5.dll" on \WINDOWS\system32 and on C:\PHP\
- "php.ini" on \WINDOWS* (If I remeber correctly, this file was "php.ini-development" but i dont sure!)
I have added from the site www.apachelounge.com PHP5APACHE2.dll ON C:\PHP, but I do not know if it works!
what to write on the httpd.conf file?
the php.ini file can be in text format?
dklynn — 2014-03-21T05:41:54-04:00 — #15
The PHP installer should write something like this at the end of your httpd.conf file (note: you have to use the correct version of the set the correct drive:/path information):
[indent]#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
LoadModule php5_module "W:/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php
END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL[/indent]
The php.ini file IS a text file. You should edit the appropriate pho-whatever.ini file and SAVE AS php.ini (in the PHP directory noted in the httpd.conf).
Do NOT store these files in WinDoze protected directories (like /Windows/system32) as you'll have to use admin mode to save there ... and that's always a PITA!
You'll know whether it works or not by addressing the http://localhost/index.php file (which you should create and use an echo "It works!"; statement.
I'd copied the text of Kevin Yank's free setup chapter many years ago (before he started with the canned apps) and edited it slightly for better continuity ... but I can't find it on my computer any more. If anyone has that (I'd shared my version years ago), please PM that file to me so I can share it again.
keyboardistdenny — 2014-03-25T05:33:59-04:00 — #16
I copy everything written below
BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
LoadModule php5_module c :/ php/php5Apache2.dll
AddType application / x-httpd-php. Php
AddType application / x-httpd-php-source. Phps
# END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL[/B]
1 I have problem / or \
2 after type Start of APACHE Server, the output is "CANNOT LOAD C:/PHP/php5apache2.dll
dklynn — 2014-03-25T07:49:29-04:00 — #17
You have spaces where there should be no spaces. I've replaced the spaces with 's in your code (and shifted the dot characters as necessary) above - remove the 's and restart Apache ... AFTER you check your C:\PHP directory for the version of PHP (5) and Apache (2_4?) you're using and correcting the filename above.
keyboardistdenny — 2014-03-26T10:45:52-04:00 — #18
1 c:\php is ok
but c:/ isnt OK there isnt Php in this route!!!!
2 I do not remember very well . but I have installed
apache2.0.63 or apache2.2 (where can I find the files similar to php5Apache2.dll ?)
however failed attempts
dklynn — 2014-03-27T07:32:18-04:00 — #19
If you have Apache "in this route," Apache understands forward slashes.
It should be in your php directory, i.e., where I found the file I had to ZIP to upload.
keyboardistdenny — 2014-03-29T05:27:59-04:00 — #20
1 I replaced the file with php5.dll php5apache2.dll
2 I wrote in php.ini
extension_dir = "c: \php \ ext ,but I do not know if is it equal to PHPIniDir" C :/ php " !??
3 I added at the end of the file
LoadModule php5_module "c :/ php/php5apache2.dll"
AddType application / x-httpd-php. Php
but starting apache server I get output CAN NOT LOAD C :/ PHP5APACHE2 INTO SERVER !!!!!!!
I do not know why and is but when I start from Windows:
c :/ windows php/php5apache2.dll, the file does not appear
while when I write
c: \ php \ php5apache2 appears!! iNCREDIBLEEE
next page →