|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
PHP dont work on my apache : HELP!!!
i love this forum... but im not going to register, lol.
I have installed apache and php and done everything it says to do at http://home.kabelfoon.nl/~cvangorp/phpnuke_howto.htm (i dont even want php-nuke, just php and mysql and a server.) but when i try to use PHP it doesnt.... it just ignores it. http://127.0.0.1 works and shows the default installation complete site, but phpinclude and no other php works... whats going on? |
|
#2
|
|||
|
|||
|
RE: PHP dont work on my apache : HELP!!!
What OS?
|
|
#3
|
|||
|
|||
|
RE: PHP dont work on my apache : HELP!!!
windows xp pro.
|
|
#4
|
|||
|
|||
|
RE: PHP dont work on my apache : HELP!!!
it says its resolved... but its not!
|
|
#5
|
|||
|
|||
|
RE: PHP dont work on my apache : HELP!!!
hello???
|
|
#6
|
|||
|
|||
|
RE: PHP dont work on my apache : HELP!!!
Sorry, I was hoping someone else would help you. I never installed on Windows just Linux.
|
|
#7
|
|||
|
|||
|
RE: PHP dont work on my apache : HELP!!!
which php installer did you use?
I've got php working with IIS (only cos i had to :laugh: ) but it would be worth looking at the traditional linux setup (plus you wouldn't have to reboot xp every 5 mins cause it's 'worked' too hard |
|
#8
|
|||
|
|||
|
RE: PHP dont work on my apache : HELP!!!
this what i do try to do this on windows XP
and also these are the versions that i use try other versions i hope that will help when using windows 98 ------------------------------ 1-apache 3.1.12 -------------- 1-install server apache 1.3.12 2-under the path c:program filesapache groupapacheconf you will find the httpd.dll edit this file find servername and instead of new.host.name write local host and find servertype and write beside it -after removing any thing beside it - stand alone find port and write beside it 80 find serverroot and write beside it "C:/Program Files/Apache Group/Apache" find servername and write beside it 127.0.0.1 after configuaring the server write in the url http://localhost ------------------------------------------------------------------ 2-php: ----- 1-install php 4.2.3 under c:php 2-move php4ts.dll and php4apache.dll and dll files under folder dll to c:windowssystem 3-open the folder httpd.dll under the path c:program filesapache groupapacheconf and write the three following lines: 1-LoadModule php4_module c:/php/sapi/php4apache.dll or change the path to c:windowssystemphp4apache.dll 2-AddModule mod_php4.c 3-AddType application/x-httpd-php .php ------------------------------------------------------------------ write a program in notepad<? phpinfo(); ?> and save it as "phpstart.php" between two quotes and put this file under the path c:program filesapache groupapachehtdocs after configuring the php with the apache write in the url http://localhost/phpstart.php you will see a lot of information about php ************************************************** ****** 3-install mysql 3.23 ------------------------ 1-install the setup of mysql 3.23 2-choose the destination c:mysql 3-open winmysqladmin.exe in c:mysqlbin 4-open my.ini setup 5-choose the mysqlopt server 6-add lines: host=localhost user=mysql_user port=3306 7-if it exists don`t write it again click save modifications 8-open php.ini file and check mysql.default_host=localhost mysql.default_user=mysql_user mysql.default_port=3306 save the file open a text and sva it as "php.php" put it in htdocs write <?php $link=mysql_connect('localhost','mysql_user','')or die("no connection "); printf("connection sucessfully "); mysql_close($link); ?> open the internet explorer write http://localhost/php.php if it writes connection sucessfully so there is connection ************************************************** ************ |
|
#9
|
|||
|
|||
|
RE: PHP dont work on my apache : HELP!!!
Nice post George - maybe you ought to think about extending it slightly and submitting as a installation under windows tutorial?
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > PHP dont work on my apache : HELP!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|