GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 09-Aug-2005, 10:56
canobi2005 canobi2005 is offline
New Member
 
Join Date: Aug 2005
Posts: 3
canobi2005 is on a distinguished road

Incomplete output using Apache and PHP in Windows


Hi All,

I'm running PHP 4.3.9, Apache 2.0.52 (running PHP as a module, not CGI), and MySQL 4.0.20 in Windows XP Professional.

It's been running great. I noticed something with PHPMyAdmin though. As part of the instructions for installing PHP as an Apache module, you need to add/edit the http.conf file
-------------------------------------------------------------
LoadModule php4_module "c:/php/php4apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"
-------------------------------------------------------------

However, whenever I set PHPIniDir to the correct location, my PHPMyAdmin starts outputting incomplete information. For example, when you click on your database, out of the 30 tables you have active, it displays only four. Then when you click on it again, it displays ten rows. On IE, it renders PhpMyAdmin unusable because the data frame on the right keeps redirecting and then displays 'The Page Cannot be Displayed' error. It also displays funny characters like an 'A' with some kind of arrow thing pointing out of it. However, when I remove this PHPIniDir setting, or enter a wrong location, the problem stops, but my additional PHP modules like DOMXML and MCrypt modules don't work.

I'm really stumped. I dont know if it's an Apache or PHP problem, something that has to do with output or something, I dont know.

Has anyone had this problem and what can I do the sort it out.

Thanks.
  #2  
Old 09-Aug-2005, 20:52
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
I have the same setup as you except the version of Apache.

Where have you saved the .dll files for DOMXML and MCrypt? If it isn't obvious, you are seeing this error because php does not know where to find these extensions.
  #3  
Old 10-Aug-2005, 02:37
canobi2005 canobi2005 is offline
New Member
 
Join Date: Aug 2005
Posts: 3
canobi2005 is on a distinguished road

Dlls in default folder


Thanks JDS.

I have the dlls in the default folder i.e. C:\PHP\dlls.

I'm not sure why it can't find them. Is there something I need to set in the php.ini file, or other?

Thanks again
  #4  
Old 23-Aug-2005, 06:46
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
Thank you for your email canobi2005, and please accept my apologies for not replying sooner.

Here is the relevant bit from MY php.ini file:

Code:
; Directory in which the loadable extensions (modules) reside. extension_dir = "/Program Files/php/php-4.3.10-Win32/extensions"

How is it set up in yours?

Again, I am NOT using Apache 2, so there may be other issues to consider.
  #5  
Old 23-Aug-2005, 10:59
canobi2005 canobi2005 is offline
New Member
 
Join Date: Aug 2005
Posts: 3
canobi2005 is on a distinguished road
Thanks JDs,

I dont think its the extensions config in php.ini.

I saw somewhere on the Net where it says some dlls have to be in the Apache directory, although it didn't say exactly what folder and what configuration needs to be done.

I guess I'll have to keep tinkering with the settings until I come up with something.

Thanks a lot.
 
 

Recent GIDBlogDeveloping GUIs with wxPython (Part 2) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache / PHP problem, maybe output length? HaganeNoKokoro Apache Web Server Forum 3 07-Aug-2008 04:42
Apache and PHP mikenowo Apache Web Server Forum 0 27-Oct-2004 08:36
PHP crashing/restarting Apache - PLEASE HELP ME!! faulkj Apache Web Server Forum 4 27-Sep-2004 14:50
apache php no longer working (MX??) XP?? ChicoMendez Apache Web Server Forum 5 30-Aug-2004 10:51
Can't view pages from another machine on the Intranet aevans Apache Web Server Forum 9 14-May-2004 02:26

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 17:08.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.