|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
having trouble with PHP not parsing
I have been playing with installing apache 1.3.14 on Win2K machine, with php 4.2.3 .... both installed and I followed Ben's tutorial, as well as a few others on the subject but php does not seem to parse anything. I have a working server, can see it from all other machines on the intranet, but php even though it reads as running in the terminal, it is not doing its job.
I didn't want to run latest version of apache since I saw a bug warning about apache 2.* and latest php, but maybe the apache version is too old? I'd post my httpd file but it is soooo long. Help! Also, is anyone running phpmyadmin? I've used it and it works very well. Soon as I get apache running with php and mysql, I'll try phpmyadmin.
__________________
bow wow! |
|
#2
|
|||
|
|||
|
so when you run a php script eg index.php, it justs prints out the code instead of parsing it?!?!? sounds to me apache isnt running the php parser when a php file is called..
make sure that you have the following line in your httpd.conf file LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php this tells apache when a php file is called pase it with the php4apache.dll file if that still doesnt work, make sure you copied the 2 dll files from the php file into the windows/system32/ folder, if that still doesnt work, that means that you have installed the wrong version of php or you installed it in correctly |
|
#3
|
|||
|
|||
|
I am trying EasyPHP
Although I do not speak French, I decided to load EasyPHP and it loaded great! I am off any playing with PHP and Apache, even phpmyadmin and mysql, but there are a few problems.
Code that works on my online server doesn't work on my personal server. The php works in some cases, in others it writes out in input forms or in the place of variables. Strange. Has anyone else played with EasyPHP? I am interested in seeing someones entire httpd file for apache is I could. I think register globals is on and maybe it needs to be off... I can't remember. Also, I can't seem to get links to work... and writing to the db returns errors of "No access" to the server. I own the server, don't I? Well, I have alot to learn. How about a site dedicated to EasyPHP in English? Anyone? Thanks for all the help. |
|
#4
|
|||
|
|||
|
Quote:
Hi i hope someone can help me with this: I'd copied the 2 dll files into the location. the problem is i cant copy and paste the 3 lines of command into httpd. It says not enough memory. i have 256 Ram. what do i do? |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > having trouble with PHP not parsing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|