Problem in php4 run phpmyadmin in solaris10
I use sun webserver 6.1 sp 5 and install php4 ,but it can't run phpmyadmin ,it error page can't be displayed . I configure php4
./configure --prefix=/usr/local/php4 --with-mysql=/usr/sfw --enable-dbase \
--with-nsapi=/db/SUNWwbsvr --enable-libgcc --enable-calendar \
--with-gd --with-gd-dir=/usr/local --enable-gd-native-ttf --enable-gd-jis-conv \
--with-zlib-dir=/usr/local --with-jpeg-dir=/usr/local --with-png-dir=/usr/local \
--with-xpm-dir=/usr/local --with-ttf-dir=/usr/local --with-freetype-dir=/usr/local
Message was edited by:
onne
[593 byte] By [
onne] at [2007-11-26 11:31:47]

# 2
I config SUNwebserver following
#magnus.conf
Init fn="load-modules" funcs="php4_init,php4_execute,php4_auth_trans" shlib="/opt/SUNWwbsvr/bin/libphp4.so"
Init fn="php4_init" LateInit="yes" errorString="Failed to initialize PHP!" [php_ini="/usr/local/php4/lib/php.ini"]
#obj.conf
Service fn="php4_execute" type="magnus-internal/x-httpd-php" [inikey=value inikey=value 0]
#mime.types
type=magnus-internal/x-httpd-phpexts=php
But ? it can't run phpmyadmin ,it error " page cannot be display"
Help my?
onne at 2007-7-7 3:47:33 >

# 3
Remove "[" "]" in your magnus.conf . These must have been documented as optional values. When you are specifying them in the Web Server's configuration files, please remove them.
Similarly, remove "[inikey=value inikey=value 0]" entry from obj.conf. You are not using them to specify any php.ini parameters.
After modifying your files, restart your Web Server. Check the Web Server's errors log file for the following msg:
"...php4_init reports: Initialized PHP Module..." .
Then try to access phpMyAdmin page.
# 4
I'm edit file magnus.conf following
Init fn="load-modules" shlib="/db/SUNWwbsvr/bin/libphp4.so" funcs="php4_init,php4_close,php4_execute,php4_auth_trans"
Init fn="php4_init" errorString="PHP failed to initialize."
and edit file obj.conf following
Service fn="php4_execute" type="magnus-internal/x-httpd-php"
It display phpinfo
but , it can't run phpmyadmin(manage mysql) it's error on browser IE6 "page cannot be display"
I use SUNwebserver 6.1, php4.4.4, mysql 4.0.12, in solaris10 sparc
please help me.....
onne at 2007-7-7 3:47:33 >

# 5
When you got that error page, you must have got a "500 Internal Error" msg too in the same page.
This is because of Web Server crash. phpMyAdmin application is causing this crash.
I have not used phpMyAdmin before. Hence, don't know much about its configuration.
When I initially tried to access the page (main.php), I too got the same error. I checked the doc bundled (Document.txt/html) with this application and followed the configuration steps. Then I was able access the main page.
HTH.