Step 4 to 5

Hi,
I'm using;

WinXP Pro

Apache (service) 1.3.28

PHP 4.3.4 (+PEAR)

MySQL 4.0.18 (service)



At step 4 all of the pear packages are verified but I have to supply the path (even though I have updated the registry using the provided *.reg file) and the next screen is blank. The only difference between this installation and one I did early on a machine at home (which worked) are,

  1. I don't have NT Local Admin privileges.
  2. We use auto proxies that don't allow the webinstaller for PEAR to work so I updated the packages manually.



    All of the paths are correct and I'm at a bit of a loss as to what to do next. Here are some details;

    INSTALLED PACKAGES:

    ===================

    PACKAGE VERSION STATE

    Archive_Tar 1.1 stable

    Console_Getopt 1.0 stable

    DB 1.6.5 stable

    HTML_Template_IT 1.1 stable

    Mail 1.1.4 stable

    Mail_Mime 1.2.1 stable

    Net_SMTP 1.2.5 stable

    Net_Socket 1.0.1 stable

    Net_UserAgent_Detect 2.0.1 stable

    PEAR 1.3b1 beta

    PEAR_Frontend_Web 0.3 beta

    PHPUnit 0.6.2 stable

    Pager 2.2.0 stable

    XML_HTMLSax 2.1.2 stable

    XML_Parser 1.0.1 stable

    XML_RPC 1.0.4 stable



    Pear.conf

    #PEAR_Config 0.9

    a:9:{s:15:"preferred_state";s:6:"stable";s:7:"bin_dir";s:7:"C:\Apache_Group\Apache\htdocs\pear";s:7:"php_dir";s:12:"C:\php";s:7:"doc_dir";s:17:"C:\Apache_Group\Apache\htdocs\pear\PEAR\docs";s:8:"data_dir";s:17:"C:\Apache_Group\Apache\htdocs\pear\PEAR\data";s:8:"test_dir";s:18:"C:\Apache_Group\Apache\htdocs\pear\PEAR\tests";s:9:"cache_dir";s:18:"C:\Apache_Group\Apache\htdocs\pear\PEAR\cache";s:9:"cache_ttl";i:300;s:7:"php_bin";s:18:"c:/php/cli/php.exe";}



    REGEDIT4

    [HKEY_CURRENT_USER\Environment]

    "PHP_PEAR_SYSCONF_DIR"="C:\\Apache_Group\\Apache\\htdocs\\pear"

    "PHP_PEAR_INSTALL_DIR"="C:\\Apache_Group\\Apache\\htdocs\\pear\\pear"

    "PHP_PEAR_DOC_DIR"="C:\\Apache_Group\\Apache\\htdocs\\pear\\pear\\docs"

    "PHP_PEAR_BIN_DIR"="C:\\Apache_Group\\Apache\\htdocs\\pear"

    "PHP_PEAR_DATA_DIR"="C:\\Apache_Group\\Apache\\htdocs\\pear\\pear\\data"

    "PHP_PEAR_PHP_BIN"="c:\\php\\cli\\php.exe"

    "PHP_PEAR_TEST_DIR"="C:\\Apache_Group\\Apache\\htdocs\\pear\\pear\\tests"



    Any help would be appreciated.

What's the actual problem? :slight_smile:

Have you tried leaving the PEAR path blank so that the installer skips checking the actual version numbers of the modules?

Hi,
I tried that and it still goes blank at step 5. Is there anything I can look at on the phpinfo.php page that might reveal a misconfiguration? Also, in another thread, there was mention of a way to check that the permissions (read/write) have been setup successfully by looking in one of the *.inc files. It's an enigma wrapped in a puzzle wrapped in a conundrum. :blink:



Thanks - Ian

Can you check your php error log to see if there's an error being generated at all?

Hi,
I've pasted in the error log below. Also, in notice that I don't have a 'main.inc' file in the appropriate directory (but I'm not sure at what stage this is created). Thanks - Ian



[Thu Sep 16 09:40:02 2004] [warn] module mod_php4.c is already added, skipping

[Thu Sep 16 11:11:19 2004] [error] PHP Warning: session_start(): open(/tmp\sess_696f183d2d9e86fe1a24fdd81094afe6, O_RDWR) failed: No such file or directory (2) in c:\apache_group\apache\htdocs\matrix3\mysource_matrix_installer\wizard.inc on line 156

[Thu Sep 16 11:11:20 2004] [error] PHP Warning: Unknown(): open(/tmp\sess_696f183d2d9e86fe1a24fdd81094afe6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

[Thu Sep 16 11:11:20 2004] [error] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

[Thu Sep 16 11:11:20 2004] [error] [client 127.0.0.1] File does not exist: c:/apache_group/apache/htdocs/matrix3/mysource_matrix_installer/extra/matrix_logo_r.gif

[Thu Sep 16 11:11:23 2004] [error] PHP Warning: session_start(): open(/tmp\sess_696f183d2d9e86fe1a24fdd81094afe6, O_RDWR) failed: No such file or directory (2) in c:\apache_group\apache\htdocs\matrix3\mysource_matrix_installer\wizard.inc on line 156

[Thu Sep 16 11:11:23 2004] [error] PHP Warning: Unknown(): open(/tmp\sess_696f183d2d9e86fe1a24fdd81094afe6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

[Thu Sep 16 11:11:23 2004] [error] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

[Thu Sep 16 11:11:23 2004] [error] [client 127.0.0.1] File does not exist: c:/apache_group/apache/htdocs/matrix3/mysource_matrix_installer/extra/matrix_logo_r.gif

[Thu Sep 16 11:11:27 2004] [error] PHP Warning: session_start(): open(/tmp\sess_696f183d2d9e86fe1a24fdd81094afe6, O_RDWR) failed: No such file or directory (2) in c:\apache_group\apache\htdocs\matrix3\mysource_matrix_installer\wizard.inc on line 156

[Thu Sep 16 11:11:27 2004] [error] PHP Warning: Unknown(): open(/tmp\sess_696f183d2d9e86fe1a24fdd81094afe6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

[Thu Sep 16 11:11:27 2004] [error] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

[Thu Sep 16 11:11:27 2004] [error] [client 127.0.0.1] File does not exist: c:/apache_group/apache/htdocs/matrix3/mysource_matrix_installer/extra/matrix_logo_r.gif

[Thu Sep 16 11:11:34 2004] [error] PHP Warning: session_start(): open(/tmp\sess_696f183d2d9e86fe1a24fdd81094afe6, O_RDWR) failed: No such file or directory (2) in c:\apache_group\apache\htdocs\matrix3\mysource_matrix_installer\wizard.inc on line 156

[Thu Sep 16 11:11:34 2004] [error] PHP Warning: Unknown(): open(/tmp\sess_696f183d2d9e86fe1a24fdd81094afe6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

[Thu Sep 16 11:11:34 2004] [error] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

[Thu Sep 16 11:11:34 2004] [error] [client 127.0.0.1] File does not exist: c:/apache_group/apache/htdocs/matrix3/mysource_matrix_installer/extra/matrix_logo_r.gif

[Thu Sep 16 11:11:36 2004] [error] PHP Warning: session_start(): open(/tmp\sess_696f183d2d9e86fe1a24fdd81094afe6, O_RDWR) failed: No such file or directory (2) in c:\apache_group\apache\htdocs\matrix3\mysource_matrix_installer\wizard.inc on line 156

[Thu Sep 16 11:11:36 2004] [error] PHP Warning: Unknown(): open(/tmp\sess_696f183d2d9e86fe1a24fdd81094afe6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

[Thu Sep 16 11:11:36 2004] [error] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

[Thu Sep 16 11:11:36 2004] [error] [client 127.0.0.1] File does not exist: c:/apache_group/apache/htdocs/matrix3/mysource_matrix_installer/extra/matrix_logo_r.gif

[Thu Sep 16 11:11:46 2004] [error] PHP Warning: session_start(): open(/tmp\sess_696f183d2d9e86fe1a24fdd81094afe6, O_RDWR) failed: No such file or directory (2) in c:\apache_group\apache\htdocs\matrix3\mysource_matrix_installer\wizard.inc on line 156

[Thu Sep 16 11:11:47 2004] [error] PHP Warning: Unknown(): open(/tmp\sess_696f183d2d9e86fe1a24fdd81094afe6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

[Thu Sep 16 11:11:47 2004] [error] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

[Thu Sep 16 11:11:47 2004] [error] [client 127.0.0.1] File does not exist: c:/apache_group/apache/htdocs/matrix3/mysource_matrix_installer/extra/matrix_logo_r.gif

[Thu Sep 16 11:11:51 2004] [error] PHP Warning: session_start(): open(/tmp\sess_696f183d2d9e86fe1a24fdd81094afe6, O_RDWR) failed: No such file or directory (2) in c:\apache_group\apache\htdocs\matrix3\mysource_matrix_installer\wizard.inc on line 156

[Thu Sep 16 11:11:51 2004] [error] PHP Notice: Undefined index: sys_root in c:\apache_group\apache\htdocs\matrix3\mysource_matrix_installer\steps\systemdetails.inc on line 29

[Thu Sep 16 11:11:51 2004] [error] PHP Warning: main(/fudge/general/www.inc): failed to open stream: No such file or directory in c:\apache_group\apache\htdocs\matrix3\mysource_matrix_installer\steps\systemdetails.inc on line 29

[Thu Sep 16 11:11:51 2004] [error] PHP Fatal error: main(): Failed opening required '/fudge/general/www.inc' (include_path='C:\Apache_Group\Apache\htdocs\pear\pear;c:\php\dlls') in c:\apache_group\apache\htdocs\matrix3\mysource_matrix_installer\steps\systemdetails.inc on line 29

[Thu Sep 16 11:11:51 2004] [error] PHP Warning: Unknown(): open(/tmp\sess_696f183d2d9e86fe1a24fdd81094afe6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

[Thu Sep 16 11:11:51 2004] [error] PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

Ah, I think I know what is causing those session-based errors. You do have access to the php.ini file, don't you?


In that file there's a setting called session.save_path that defaults to the UNIX '/tmp' folder. On a Windows system you need to uncomment that out and change it (to say, your Windows TEMP directory).

Yep,
worked like a charm. Thanks for that. :smiley: