Hi people
Can anybody help me to find out where's the problem here?
On a testing server (not mine) with this configuration.
Main server IIS to handle the port 80, emulating APACHE on port 4000 accessing the apache HTTP docs directory as virtual directory to output the pahache parsed output.
Note: I have absolutly no knoledge on server administration, so upper explanation is what the admin explains to me.
the problem
when the URI http://domainame.xx/myscript.php is called any call of phpinfo() or ImageCreateFromPng() fails without returning any kind of error even if error_reporting(E_ALL) is called before running the script.
BUT when http://ROOTDOMAIN.xx:4000/site_folder/myscript.php is called all the funtions works fine
Any idea of where to look for to find the problem?
the following libraries are installed and working
php_bz2
php_exif
php_gd2
php_iconv
php_mbstring
php_pdf
php_zip
[SOLVED] phpinfo() and ImageCreateFromPng() failure??
Moderator: General Moderators
- Jaxolotl
- Forum Contributor
- Posts: 137
- Joined: Mon Nov 13, 2006 4:19 am
- Location: Argentina and Italy
[SOLVED] phpinfo() and ImageCreateFromPng() failure??
Last edited by Jaxolotl on Fri Jul 27, 2007 4:26 pm, edited 1 time in total.
- Jaxolotl
- Forum Contributor
- Posts: 137
- Joined: Mon Nov 13, 2006 4:19 am
- Location: Argentina and Italy
So I deduce that when you call the por 80 one php.ini is used and on the port 4000 the otherone is used, the quastion which path is the wright one.
The differences I found are on the path callings (so I guess this is the problem)
Working on port 80 (malfunction)
AND
working on port 4000 (works ok)
AND
so I guess the failing behaviour is because it can't reach the extensions folder library
I'll try to fix it and if not success, I'll be back here.
Thanks for the suggestion feyd
The differences I found are on the path callings (so I guess this is the problem)
Working on port 80 (malfunction)
Code: Select all
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
AND
Code: Select all
; Directory in which the loadable extensions (modules) reside.
extension_dir = "./"
Code: Select all
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
include_path = ".;${path}\php\pear\"
AND
Code: Select all
; Directory in which the loadable extensions (modules) reside.
extension_dir = "${path}\php\extensions\"
so I guess the failing behaviour is because it can't reach the extensions folder library
I'll try to fix it and if not success, I'll be back here.
Thanks for the suggestion feyd