I was required to configure an application to run on local machine with windowsXP. I installed wamp server with PHP4.1 , MYSQL 5.0 and Apache. When I executed the application it gave an error

Warning: main(PEAR.php) [function.main]: failed to open stream: No such file or directory in c:\wamp\www\MYGF\config.php on line 18

Fatal error: main() [function.require]: Failed opening required 'PEAR.php' (include_path=':.:lib/:lib/pear/:lib/classes:lib/smarty/:.;C:\php5\pear') in c:\wamp\www\MYGF\config.php on line 18

Then I was asked to configure PEAR. I configured PEAR with go-pear.php and then it said

Start Web Frontend of the PEAR Installer >>

I clicked it and got

Parse error: syntax error, unexpected T_STRING in c:\wamp\www\MYGF\lib\PEAR\index.php on line 33

I do not find any T_STRING in index.php

My aim is to get my project running on local machine rather than configuring PEAR.

Please get me Suggestions?

    What's the code look like? Can't help you with errors unless we see code.

    First thoughts:
    1.) Missing ";" at end of line
    2.) Mis-concatenation of strings

    ~Brett

      Write a Reply...