![]() |
|
#1
|
|||
|
|||
Incomplete output using Apache and PHP in WindowsHi 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
|
||||
|
||||
|
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. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
|||
|
|||
Dlls in default folderThanks 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
|
||||
|
||||
|
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:
How is it set up in yours? Again, I am NOT using Apache 2, so there may be other issues to consider. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#5
|
|||
|
|||
|
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 GIDBlog
Developing GUIs with wxPython (Part 2) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
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